From 1e4a5816db5178b535a4405dd54df4c95491810f Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Thu, 19 Nov 2009 20:46:06 +0000 Subject: Label the input fields in the login window 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("User address"); + layout->addWidget(jidLabel); + username_ = new QComboBox(this); username_->setEditable(true); layout->addWidget(username_); + QLabel* passwordLabel = new QLabel(); + passwordLabel->setText("Password"); + layout->addWidget(passwordLabel); + + QWidget* w = new QWidget(this); w->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding)); layout->addWidget(w); -- cgit v0.10.2-6-g49f6