diff options
author | Pavol Babincak <scroolik@gmail.com> | 2012-04-27 16:33:09 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-04-29 10:10:02 (GMT) |
commit | 89ecd9601ff3717c5b0e8e603d56f5bd656743ed (patch) | |
tree | 1d88c5de6348b26d844a045b0f45e2a8acc704c1 /Swift/QtUI/QtMainWindow.cpp | |
parent | c651b50fd3ec24bd6c13454972c4d18c6d8fc86f (diff) | |
download | swift-contrib-89ecd9601ff3717c5b0e8e603d56f5bd656743ed.zip swift-contrib-89ecd9601ff3717c5b0e8e603d56f5bd656743ed.tar.bz2 |
Added ellipsis to menu items which needs further input to complete action
This is recommended in HIGs for Gnome, OS X, Windows:
- http://developer.gnome.org/hig-book/3.0/menus-design.html.en
- https://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/AppleHIGuidelines/TextStyle/TextStyle.html#//apple_ref/doc/uid/TP30000365-TPXREF126
- http://msdn.microsoft.com/en-us/library/aa511502.aspx#ellipses
Resolves: #1114
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/QtUI/QtMainWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 05c78b3..9a3ce6b 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -99,20 +99,20 @@ QtMainWindow::QtMainWindow(SettingsProvider* settings, UIEventStream* uiEventStr QMenu* actionsMenu = new QMenu(tr("&Actions"), this); menus_.push_back(actionsMenu); - QAction* editProfileAction = new QAction(tr("Edit &Profile"), this); + QAction* editProfileAction = new QAction(tr("Edit &Profile…"), this); connect(editProfileAction, SIGNAL(triggered()), SLOT(handleEditProfileAction())); actionsMenu->addAction(editProfileAction); - QAction* joinMUCAction = new QAction(tr("Enter &Room"), this); + QAction* joinMUCAction = new QAction(tr("Enter &Room…"), this); connect(joinMUCAction, SIGNAL(triggered()), SLOT(handleJoinMUCAction())); actionsMenu->addAction(joinMUCAction); - addUserAction_ = new QAction(tr("&Add Contact"), this); + addUserAction_ = new QAction(tr("&Add Contact…"), this); connect(addUserAction_, SIGNAL(triggered(bool)), this, SLOT(handleAddUserActionTriggered(bool))); actionsMenu->addAction(addUserAction_); - editUserAction_ = new QAction(tr("&Edit Selected Contact"), this); + editUserAction_ = new QAction(tr("&Edit Selected Contact…"), this); connect(editUserAction_, SIGNAL(triggered(bool)), treeWidget_, SLOT(handleEditUserActionTriggered(bool))); actionsMenu->addAction(editUserAction_); editUserAction_->setEnabled(false); - chatUserAction_ = new QAction(tr("Start &Chat"), this); + chatUserAction_ = new QAction(tr("Start &Chat…"), this); connect(chatUserAction_, SIGNAL(triggered(bool)), this, SLOT(handleChatUserActionTriggered(bool))); actionsMenu->addAction(chatUserAction_); serverAdHocMenu_ = new QMenu(tr("Run Server Command"), this); |