aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/reguser
diff options
context:
space:
mode:
authorGravatar un1versal2015-10-16 19:04:46 +0100
committerGravatar un1versal2015-10-17 13:23:58 +0100
commite3d081bb97ad29626bd6dcec77bbe37787b070bb (patch)
tree4e72a867fa01b75a1b14dcb456aefdc9f3aa1210 /src/modules/reguser
parentmessage and content alignments and whitespace cleanup (diff)
downloadKVIrc-e3d081bb97ad29626bd6dcec77bbe37787b070bb.tar.gz
KVIrc-e3d081bb97ad29626bd6dcec77bbe37787b070bb.tar.bz2
KVIrc-e3d081bb97ad29626bd6dcec77bbe37787b070bb.zip
add edit field label to edit label in page1
Diffstat (limited to 'src/modules/reguser')
-rw-r--r--src/modules/reguser/RegistrationWizard.cpp10
-rw-r--r--src/modules/reguser/RegistrationWizard.h1
2 files changed, 8 insertions, 3 deletions
diff --git a/src/modules/reguser/RegistrationWizard.cpp b/src/modules/reguser/RegistrationWizard.cpp
index 8c08c2b47..2b4cd55a8 100644
--- a/src/modules/reguser/RegistrationWizard.cpp
+++ b/src/modules/reguser/RegistrationWizard.cpp
@@ -88,12 +88,16 @@ RegistrationWizard::RegistrationWizard(const QString &startMask,KviRegisteredUse
m_pLabel1->setText(__tr2qs_ctx("<p>Welcome to the user registration wizard.<br>This process allows you to add an IRC user to the database and set properties for that user. KVIrc will be (hopefully) able to recognize the user, add him to the notify list, and display the associated avatar.<br><br>First of all, you must insert an <b>entry name or real name</b> for the user you're going to register. The name will be used to identify the database entry and has no specific requirements, it can be a given name, nickname, or just some text to remind you of the real person.<br>Examples: \"George W Bush\", \"Dubya\".\n</p>","register"));
m_pLabel1->setWordWrap(true);
- m_pPage1Layout->addWidget(m_pLabel1,0,0);
+ m_pPage1Layout->addWidget(m_pLabel1,0,0,1,2);
m_pEditRealName = new QLineEdit(m_pPage1);
//m_pEditRealName->setAlignment(int(QLineEdit::AlignHCenter));
- m_pPage1Layout->addWidget(m_pEditRealName,1,0);
+ m_pPage1Layout->addWidget(m_pEditRealName,3,1);
+
+ m_pEntryNameLabel = new QLabel(m_pPage1);
+ m_pEntryNameLabel->setText(__tr2qs_ctx("Entry name:","register"));
+ m_pPage1Layout->addWidget(m_pEntryNameLabel,3,0);
m_pPage1Layout->setRowStretch(1,1);
addPage( m_pPage1,__tr2qs_ctx("Step 1: Entry Name","register"));
@@ -105,7 +109,7 @@ RegistrationWizard::RegistrationWizard(const QString &startMask,KviRegisteredUse
// PAGE 2
m_pPage2 = new QWidget(this);
- m_pPage2Layout = new QGridLayout( m_pPage2 );
+ m_pPage2Layout = new QGridLayout(m_pPage2);
m_pPage2Layout->setSpacing(4);
m_pPage2Layout->setMargin(8);
diff --git a/src/modules/reguser/RegistrationWizard.h b/src/modules/reguser/RegistrationWizard.h
index 8047840c7..fa43543b7 100644
--- a/src/modules/reguser/RegistrationWizard.h
+++ b/src/modules/reguser/RegistrationWizard.h
@@ -54,6 +54,7 @@ public:
QWidget* m_pPage1;
QLabel* m_pLabel1;
+ QLabel* m_pEntryNameLabel;
QLineEdit* m_pEditRealName;
QWidget* m_pPage2;
QLabel* m_pLabel2;