diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-27 11:46:55 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-08-27 14:54:19 (GMT) |
commit | e534abc781cb5751736d24a1a5610370c243b519 (patch) | |
tree | 38426220b5962f486d90195358d9ece77d584eed /src/gui/styles/qcommonstyle_p.h | |
parent | 2c6cfddf3e1f3674f0b70880c12f6812650cd08d (diff) | |
download | Qt-e534abc781cb5751736d24a1a5610370c243b519.zip Qt-e534abc781cb5751736d24a1a5610370c243b519.tar.gz Qt-e534abc781cb5751736d24a1a5610370c243b519.tar.bz2 |
Refactor the way QCommonStyle layout the tab
Merge all the code in a common layoutTab function
This commit only moves the code around and doesn't change any behavour.
The fixes for the broken layouts will go in another commit
Reviewed-by: jbache
Diffstat (limited to 'src/gui/styles/qcommonstyle_p.h')
-rw-r--r-- | src/gui/styles/qcommonstyle_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qcommonstyle_p.h b/src/gui/styles/qcommonstyle_p.h index 7e58b37..14f5558 100644 --- a/src/gui/styles/qcommonstyle_p.h +++ b/src/gui/styles/qcommonstyle_p.h @@ -123,6 +123,9 @@ public: #endif mutable QIcon tabBarcloseButtonIcon; int lookupToolButtonStyle() const; +#ifndef QT_NO_TABBAR + void tabLayout(const QStyleOptionTabV3 *opt, const QWidget *widget, QRect *textRect, QRect *pixmapRect) const; +#endif }; QT_END_NAMESPACE |