Commit eec927bd authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Add "What's this" for the tabbar and new/close buttons

There could be more, but I thik they are the most important ones.

BUG: 257914
FIXED-IN: 4.9.0
parent b8b8ef74
......@@ -266,6 +266,11 @@ ViewContainerTabBar::ViewContainerTabBar(QWidget* parent, TabbedViewContainer* c
"<title>Tab Bar</title>"
"<para>The tab bar allows you to switch and move tabs. You can double-click a tab to change its name.</para>"));
void ViewContainerTabBar::setDropIndicator(int index, bool drawDisabled)
......@@ -456,11 +461,13 @@ TabbedViewContainer::TabbedViewContainer(NavigationPosition position , QObject*
_newTabButton = new QToolButton(_containerWidget);
_newTabButton->setToolTip(i18nc("@info:tooltip", "Create new tab"));
_newTabButton->setWhatsThis(i18nc("@info:whatsthis", "Create a new tab. Press and hold to select profile from menu"));
_closeTabButton = new QToolButton(_containerWidget);
_closeTabButton->setToolTip(i18nc("@info:tooltip", "Close current tab"));
_closeTabButton->setToolTip(i18nc("@info:tooltip", "Close tab"));
_closeTabButton->setWhatsThis(i18nc("@info:whatsthis", "Close the active tab"));
// 'new tab' button is initially hidden. It will be shown when setFeatures()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment