From cb84ae8badcab5bfe095e71cf4c0e33175e60817 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 7 Jan 2011 17:49:24 +0100 Subject: This GCI task adds a combobox with different settings to choice when hovering tabs: * tab preview (default one) * show title as tooltip * show url as tooltip * show nothing Patch by Furkan Uzumcu, reviewed (and merged) by adjam BUG:260343 RB:100282 --- src/settings/settings_tabs.ui | 75 ++++++++++++++++++++++++++++++++----------- src/settings/tabswidget.cpp | 1 - 2 files changed, 57 insertions(+), 19 deletions(-) (limited to 'src/settings') diff --git a/src/settings/settings_tabs.ui b/src/settings/settings_tabs.ui index 2e2ee103..290c6274 100644 --- a/src/settings/settings_tabs.ui +++ b/src/settings/settings_tabs.ui @@ -20,6 +20,9 @@ New Tab Behavior + + QFormLayout::ExpandingFieldsGrow + @@ -126,18 +129,64 @@ Tabbed Browsing - + - - - Open links in new tab instead of in new window - - + + + + + + 150 + 0 + + + + When hovering tab show: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + true + + + + 0 + 0 + + + + + Tab Previews + + + + + Title Tooltip + + + + + Url Tooltip + + + + + Nothing + + + + + - + - Always show tab bar + Open links in new tab instead of in new window @@ -155,16 +204,6 @@ - - - - Show preview when hovering tab - - - false - - - diff --git a/src/settings/tabswidget.cpp b/src/settings/tabswidget.cpp index aa555339..d9b741be 100644 --- a/src/settings/tabswidget.cpp +++ b/src/settings/tabswidget.cpp @@ -41,7 +41,6 @@ void TabsWidget::save() { } - bool TabsWidget::changed() { return _changed; -- cgit v1.2.1