mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 13:02:27 -04:00
change the design of the connect friends wizard
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c6edff7df8
commit
018b84a1e1
4 changed files with 78 additions and 68 deletions
|
@ -84,6 +84,7 @@ ConnectFriendWizard::ConnectFriendWizard(QWidget *parent)
|
|||
setWizardStyle(ModernStyle);
|
||||
#endif
|
||||
|
||||
|
||||
// at this moment I don't know, what information should be in help
|
||||
// setOption(HaveHelpButton, true);
|
||||
// connect(this, SIGNAL(helpRequested()), this, SLOT(showHelp()));
|
||||
|
@ -204,6 +205,13 @@ TextPage::TextPage(QWidget *parent)
|
|||
userCertEdit->setText(QString::fromStdString(invite));
|
||||
userCertEdit->setReadOnly(true);
|
||||
userCertEdit->setMinimumHeight(200);
|
||||
userCertEdit->setMinimumWidth(450);
|
||||
QFont font;
|
||||
font.setPointSize(10);
|
||||
font.setBold(false);
|
||||
font.setStyleHint(QFont::TypeWriter, QFont::PreferDefault);
|
||||
//font.setWeight(75);
|
||||
userCertEdit->setFont(font);
|
||||
|
||||
std::cerr << "TextPage() getting Invite: " << invite << std::endl;
|
||||
|
||||
|
@ -752,11 +760,11 @@ ConclusionPage::ConclusionPage(QWidget *parent) : QWizardPage(parent) {
|
|||
|
||||
peerGPGIdEdit = new QLineEdit(this);
|
||||
peerGPGIdEdit->setVisible(false);
|
||||
registerField(SSL_ID_FIELD_CONNECT_FRIEND_WIZARD,peerGPGIdEdit);
|
||||
registerField(GPG_ID_FIELD_CONNECT_FRIEND_WIZARD,peerGPGIdEdit);
|
||||
|
||||
peerLocation = new QLineEdit(this);
|
||||
peerLocation->setVisible(false);
|
||||
registerField(GPG_ID_FIELD_CONNECT_FRIEND_WIZARD,peerLocation);
|
||||
registerField(LOCATION_FIELD_CONNECT_FRIEND_WIZARD,peerLocation);
|
||||
|
||||
peerCertStringEdit = new QLineEdit(this);
|
||||
peerCertStringEdit->setVisible(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue