diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-08-21 17:24:57 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:05 +0100 |
commit | 79170a62caf1cea6ab167ef6fe49d319a6eb9f29 (patch) | |
tree | a2c37853d86da56bf61c2649631463d2eae2d578 /src/tabwindow/tabwindow.h | |
parent | Get sure rekonq makes use of djvu plugin (diff) | |
download | rekonq-79170a62caf1cea6ab167ef6fe49d319a6eb9f29.tar.xz |
Fix tabbar size & new tab button position
Also, set tab preview popup width fixed
This is heavily based on commits about this problem by Yoann Laissus.
I modified a bit them to fit there + added (based on his idea) a
double fixed size (default + minimal) for tabs
Diffstat (limited to 'src/tabwindow/tabwindow.h')
-rw-r--r-- | src/tabwindow/tabwindow.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h index 421b5ed4..b247d4d2 100644 --- a/src/tabwindow/tabwindow.h +++ b/src/tabwindow/tabwindow.h @@ -71,16 +71,16 @@ public Q_SLOTS: private: /** - * Updates tabbar and add new tab button position - */ - void updateTabBar(); - - /** * Prepares the new WebWindow to be open */ WebWindow *prepareNewTab(WebPage *page = 0); private Q_SLOTS: + /** + * Updates new tab button position + */ + void updateNewTabButtonPosition(); + void tabTitleChanged(const QString &); void tabLoadStarted(); @@ -99,9 +99,6 @@ private Q_SLOTS: void reloadAllTabs(); void restoreClosedTab(int i); -protected: - virtual void resizeEvent(QResizeEvent *); - private: // the new tab button QToolButton *_addTabButton; |