diff options
author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-05-12 12:57:26 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-05-12 13:01:34 +0200 |
commit | 3b1e1231f1b40242a1b13ec53a5e5f22ac84d530 (patch) | |
tree | a1305243addf23d16d712b34b69ded4ec7662ef9 /src/plugins/coreplugin/manhattanstyle.h | |
parent | cbd6259d952a91d856545463cf896580fe36ac06 (diff) | |
download | qt-creator-3b1e1231f1b40242a1b13ec53a5e5f22ac84d530.tar.gz |
Fixed position of folding markers with QGtkStyle
Not a brilliant solution, but it works. Changing the style itself would
cause problems in other places where the PE_IndicatorBranch is drawn.
Reviewed-by: Jens Bache-Wiig
Diffstat (limited to 'src/plugins/coreplugin/manhattanstyle.h')
-rw-r--r-- | src/plugins/coreplugin/manhattanstyle.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/manhattanstyle.h b/src/plugins/coreplugin/manhattanstyle.h index 9a19051983..ea07803e46 100644 --- a/src/plugins/coreplugin/manhattanstyle.h +++ b/src/plugins/coreplugin/manhattanstyle.h @@ -30,6 +30,8 @@ #ifndef MANHATTANSTYLE_H #define MANHATTANSTYLE_H +#include "core_global.h" + #include <QStyle> #include <QWindowsStyle> @@ -40,15 +42,17 @@ QT_END_NAMESPACE class ManhattanStylePrivate; -class ManhattanStyle : public QWindowsStyle +class CORE_EXPORT ManhattanStyle : public QWindowsStyle { - Q_OBJECT; + Q_OBJECT public: ManhattanStyle(const QString &); ~ManhattanStyle(); + QStyle *systemStyle() const; + void drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const; void drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget = 0) const; void drawComplexControl(ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget = 0) const; |