From ce81a8390ef170b9368f66832da977fbf26eac86 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 8 Oct 2010 16:24:27 +0100 Subject: Add example JID to login dialog. Resolves: #604 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("(example: alice@wonderland.lit)"); + jidHintLabel->setAlignment(Qt::AlignRight); + layout->addWidget(jidHintLabel); + QLabel* passwordLabel = new QLabel(); passwordLabel->setText("Password"); -- cgit v0.10.2-6-g49f6