summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-14 20:57:13 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-14 20:59:49 (GMT)
commitfd634cea58fbdae90cc36d2373316575731dc27c (patch)
tree8d5be82f9e3fdc76545402397351ab9e4fcf8ef5 /Swift
parent9b0435c6fec4010f4a6241b1296b3e64e34054aa (diff)
downloadswift-fd634cea58fbdae90cc36d2373316575731dc27c.zip
swift-fd634cea58fbdae90cc36d2373316575731dc27c.tar.bz2
Add tooltips to the login screen.
Resolves: #375
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 952e066..b278dfd 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -68,6 +68,8 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
username_ = new QComboBox(this);
username_->setEditable(true);
+ username_->setWhatsThis("User address - looks like someuser@someserver.com");
+ username_->setToolTip("User address - looks like someuser@someserver.com");
layout->addWidget(username_);
QLabel* passwordLabel = new QLabel();
@@ -92,6 +94,8 @@ QtLoginWindow::QtLoginWindow(UIEventStream* uiEventStream) : QMainWindow() {
certificateButton_ = new QToolButton(this);
certificateButton_->setCheckable(true);
certificateButton_->setIcon(QIcon(":/icons/certificate.png"));
+ certificateButton_->setToolTip("Click if you have a personal certificate used for login to the service.");
+ certificateButton_->setWhatsThis("Click if you have a personal certificate used for login to the service.");
credentialsLayout->addWidget(certificateButton_);
connect(certificateButton_, SIGNAL(clicked(bool)), SLOT(handleCertficateChecked(bool)));