mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-23 08:19:57 -05:00
* Added a default stylesheet for the generate button
* hide/show the correct info labels at top. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6756 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
83abd53872
commit
715984249c
@ -253,6 +253,8 @@ void GenCertDialog::newGPGKeyGenUiSetup() {
|
|||||||
setWindowTitle(tr("Create new Identity"));
|
setWindowTitle(tr("Create new Identity"));
|
||||||
ui.genButton->setText(tr("Generate new Identity"));
|
ui.genButton->setText(tr("Generate new Identity"));
|
||||||
ui.headerFrame->setHeaderText(tr("Create a new Identity"));
|
ui.headerFrame->setHeaderText(tr("Create a new Identity"));
|
||||||
|
ui.genprofileinfo_label->hide();
|
||||||
|
ui.header_label->show();
|
||||||
} else {
|
} else {
|
||||||
genNewGPGKey = false;
|
genNewGPGKey = false;
|
||||||
ui.name_label->hide();
|
ui.name_label->hide();
|
||||||
@ -271,6 +273,8 @@ void GenCertDialog::newGPGKeyGenUiSetup() {
|
|||||||
setWindowTitle(tr("Create new Location"));
|
setWindowTitle(tr("Create new Location"));
|
||||||
ui.genButton->setText(tr("Generate new Location"));
|
ui.genButton->setText(tr("Generate new Location"));
|
||||||
ui.headerFrame->setHeaderText(tr("Create a new Location"));
|
ui.headerFrame->setHeaderText(tr("Create a new Location"));
|
||||||
|
ui.genprofileinfo_label->show();
|
||||||
|
ui.header_label->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>691</width>
|
<width>691</width>
|
||||||
<height>584</height>
|
<height>442</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -271,13 +271,19 @@ anonymous, you can use a fake email.</string>
|
|||||||
<height>26</height>
|
<height>26</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Arial</family>
|
||||||
|
<weight>50</weight>
|
||||||
|
<bold>false</bold>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Create new identity</string>
|
<string>Create new identity</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
|
||||||
<iconset resource="images.qrc">
|
|
||||||
<normaloff>:/images/contact_new.png</normaloff>:/images/contact_new.png</iconset>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
@ -299,7 +305,20 @@ anonymous, you can use a fake email.</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="4" column="0">
|
||||||
|
<spacer name="verticalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>1</width>
|
||||||
|
<height>1</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="genprofileinfo_label">
|
<widget class="QLabel" name="genprofileinfo_label">
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
@ -315,19 +334,6 @@ anonymous, you can use a fake email.</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
|
||||||
<spacer name="verticalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>1</width>
|
|
||||||
<height>1</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -37,6 +37,19 @@ GenCertDialog > QFrame#frame {
|
|||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GenCertDialog QPushButton#genButton {
|
||||||
|
border-image: url(:/images/btn_blue.png) 4;
|
||||||
|
border-width: 4;
|
||||||
|
padding: 0px 6px;
|
||||||
|
font-size: 14px;
|
||||||
|
font: bold;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
GenCertDialog QPushButton#genButton:hover {
|
||||||
|
border-image: url(:/images/btn_blue_hover.png) 4;
|
||||||
|
}
|
||||||
|
|
||||||
/* FriendsDialog */
|
/* FriendsDialog */
|
||||||
|
|
||||||
FriendsDialog QFrame#headFrame {
|
FriendsDialog QFrame#headFrame {
|
||||||
@ -468,3 +481,4 @@ RSImageBlockWidget QFrame#infoFrame {
|
|||||||
background: #FFFFD7;
|
background: #FFFFD7;
|
||||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user