diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-08 15:24:27 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-08 15:24:27 (GMT) |
commit | ce81a8390ef170b9368f66832da977fbf26eac86 (patch) | |
tree | 09e5bbc71f383e73439db39f24c00f383e0ac6bb | |
parent | 14285263a840f84dd62019856bfcd53d457aedd7 (diff) | |
download | swift-contrib-ce81a8390ef170b9368f66832da977fbf26eac86.zip swift-contrib-ce81a8390ef170b9368f66832da977fbf26eac86.tar.bz2 |
Add example JID to login dialog.
Resolves: #604
-rw-r--r-- | Swift/QtUI/QtLoginWindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp index 00176ca..058f59e 100644 --- a/Swift/QtUI/QtLoginWindow.cpp +++ b/Swift/QtUI/QtLoginWindow.cpp @@ -72,6 +72,11 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() { username_->setWhatsThis("User address - looks like someuser@someserver.com"); username_->setToolTip("User address - looks like someuser@someserver.com"); layout->addWidget(username_); + QLabel* jidHintLabel = new QLabel(this); + jidHintLabel->setText("<font size='-2'>(example: alice@wonderland.lit)</font>"); + jidHintLabel->setAlignment(Qt::AlignRight); + layout->addWidget(jidHintLabel); + QLabel* passwordLabel = new QLabel(); passwordLabel->setText("<font size='-1'>Password</font>"); |