diff --git a/retroshare-gui/src/gui/GenCertDialog.cpp b/retroshare-gui/src/gui/GenCertDialog.cpp
index a5de6755f..6af92bd56 100644
--- a/retroshare-gui/src/gui/GenCertDialog.cpp
+++ b/retroshare-gui/src/gui/GenCertDialog.cpp
@@ -35,6 +35,9 @@ GenCertDialog::GenCertDialog(bool onlyGenerateIdentity, QWidget *parent)
{
/* Invoke Qt Designer generated QObject setup routine */
ui.setupUi(this);
+
+ ui.headerFrame->setHeaderImage(QPixmap(":/images/contact_new128.png"));
+ ui.headerFrame->setHeaderText(tr("Create a new Identity"));
connect(ui.new_gpg_key_checkbox, SIGNAL(clicked()), this, SLOT(newGPGKeyGenUiSetup()));
@@ -90,7 +93,7 @@ void GenCertDialog::init()
ui.new_gpg_key_checkbox->setChecked(false);
setWindowTitle(tr("Create new Location"));
ui.genButton->setText(tr("Generate new Location"));
- ui.headerLabel->setText(tr("Create a new Location"));
+ ui.headerFrame->setHeaderText(tr("Create a new Location"));
genNewGPGKey = false;
} else {
ui.no_gpg_key_label->setVisible(!mOnlyGenerateIdentity);
@@ -98,21 +101,21 @@ void GenCertDialog::init()
ui.new_gpg_key_checkbox->setEnabled(true);
setWindowTitle(tr("Create new Identity"));
ui.genButton->setText(tr("Generate new Identity"));
- ui.headerLabel->setText(tr("Create a new Identity"));
+ ui.headerFrame->setHeaderText(tr("Create a new Identity"));
genNewGPGKey = true;
}
- QString text = ui.headerLabel2->text() + "\n";
+ QString text = ui.header_label->text() + "\n";
if (mOnlyGenerateIdentity) {
ui.new_gpg_key_checkbox->setChecked(true);
ui.new_gpg_key_checkbox->hide();
- ui.label->hide();
+ ui.genprofileinfo_label->hide();
text += tr("You can create a new identity with this form.");
} else {
text += tr("You can use an existing identity (i.e. a PGP key pair), from the list below, or create a new one with this form.");
}
- ui.headerLabel2->setText(text);
+ ui.header_label->setText(text);
newGPGKeyGenUiSetup();
}
@@ -133,7 +136,7 @@ void GenCertDialog::newGPGKeyGenUiSetup() {
ui.exportIdentity_PB->hide();
setWindowTitle(tr("Create new Identity"));
ui.genButton->setText(tr("Generate new Identity"));
- ui.headerLabel->setText(tr("Create a new Identity"));
+ ui.headerFrame->setHeaderText(tr("Create a new Identity"));
} else {
genNewGPGKey = false;
ui.name_label->hide();
@@ -149,7 +152,7 @@ void GenCertDialog::newGPGKeyGenUiSetup() {
ui.exportIdentity_PB->setEnabled(ui.genPGPuser->count() != 0);
setWindowTitle(tr("Create new Location"));
ui.genButton->setText(tr("Generate new Location"));
- ui.headerLabel->setText(tr("Create a new Location"));
+ ui.headerFrame->setHeaderText(tr("Create a new Location"));
}
}
@@ -251,6 +254,7 @@ void GenCertDialog::genPerson()
ui.genButton->hide();
ui.label_location2->hide();
ui.importIdentity_PB->hide();
+ ui.genprofileinfo_label->hide();
setCursor(Qt::WaitCursor) ;
diff --git a/retroshare-gui/src/gui/GenCertDialog.ui b/retroshare-gui/src/gui/GenCertDialog.ui
index 2ed55871f..1406e346f 100644
--- a/retroshare-gui/src/gui/GenCertDialog.ui
+++ b/retroshare-gui/src/gui/GenCertDialog.ui
@@ -6,8 +6,8 @@
0
0
- 664
- 474
+ 691
+ 392
@@ -33,37 +33,12 @@
- -
-
-
-
- 11
-
-
-
- You can install retroshare on different locations using the same identity. For this, just export the selected identity, and import it on the new computer, then create a new location with it.
-
-
- true
-
-
-
- -
+
+ 0
+
+
-
-
-
-
-
- Qt::Vertical
-
-
-
- 1
- 1
-
-
-
-
-
@@ -275,16 +250,58 @@ anonymous, you can use a fake email.
+ -
+
+
+
+ Tahoma
+ 11
+
+
+
+ RetroShare uses PGP keys for identity management.
+
+
+ true
+
+
+
+ -
+
+
+ Qt::Vertical
+
+
+
+ 1
+ 1
+
+
+
+
+ -
+
+
+
+ Tahoma
+ 11
+
+
+
+ You can install retroshare on different locations using the same identity. For this, just export the selected identity, and import it on the new computer, then create a new location with it.
+
+
+ true
+
+
+
-
-
-
-
- 16777215
- 140
-
+
+
+
+ HeaderFrame
+ QFrame
+
+ 1
+
+
genPGPuser
name_input
diff --git a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss
index 080fbb34d..5461764ec 100644
--- a/retroshare-gui/src/gui/qss/stylesheet/Standard.qss
+++ b/retroshare-gui/src/gui/qss/stylesheet/Standard.qss
@@ -20,8 +20,12 @@ HeaderFrame > QFrame#frame > QLabel#headerLabel {
/* GenCertDialog */
-GenCertDialog > QFrame#headerFrame {
- background-image: url(:/images/genbackground.png);
+GenCertDialog QLabel#genprofileinfo_label, QLabel#header_label
+{
+ border: 1px solid #DCDC41;
+ border-radius: 6px;
+ background: #FFFFD7;
+ background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
}
GenCertDialog > QFrame#headerFrame > QLabel#headerLabel {