summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-11-19 20:46:06 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-11-19 20:46:24 (GMT)
commit1e4a5816db5178b535a4405dd54df4c95491810f (patch)
tree86b30f8ff9c26aed0f0d5ebc0313ed7c87a653db
parente9bdc38536488b76e5e3a715961a94085302cc15 (diff)
downloadswift-contrib-1e4a5816db5178b535a4405dd54df4c95491810f.zip
swift-contrib-1e4a5816db5178b535a4405dd54df4c95491810f.tar.bz2
Label the input fields in the login window
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index e84e316..4daa658 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -42,10 +42,19 @@ QtLoginWindow::QtLoginWindow() : QMainWindow() {
layout->addWidget(logo);
layout->addStretch();
+ QLabel* jidLabel = new QLabel(this);
+ jidLabel->setText("<font size='-1'>User address</font>");
+ layout->addWidget(jidLabel);
+
username_ = new QComboBox(this);
username_->setEditable(true);
layout->addWidget(username_);
+ QLabel* passwordLabel = new QLabel();
+ passwordLabel->setText("<font size='-1'>Password</font>");
+ layout->addWidget(passwordLabel);
+
+
QWidget* w = new QWidget(this);
w->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
layout->addWidget(w);