diff options
author | Timothy Pearson <[email protected]> | 2012-10-30 22:41:50 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-10-30 22:41:50 -0500 |
commit | 69429dcfc35d449c78b346bdce536f17d926c755 (patch) | |
tree | 6c1d1015837f0e77a8e950e38a3a24ee616e598c /src/styles/qcompactstyle.h | |
parent | 22d1ab9eccc005b0497cff131593e6b9ff96e7c2 (diff) | |
download | qt3-69429dcfc35d449c78b346bdce536f17d926c755.tar.gz qt3-69429dcfc35d449c78b346bdce536f17d926c755.zip |
Add new style primatives for enhanced third party style compatibility
Diffstat (limited to 'src/styles/qcompactstyle.h')
-rw-r--r-- | src/styles/qcompactstyle.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/styles/qcompactstyle.h b/src/styles/qcompactstyle.h index 2f9748b..3b209cf 100644 --- a/src/styles/qcompactstyle.h +++ b/src/styles/qcompactstyle.h @@ -60,6 +60,15 @@ public: int pixelMetric( PixelMetric metric, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QWidget *widget = 0 ); + void drawPrimitive( PrimitiveElement pe, + QPainter *p, + QStyleControlElementData ceData, + ControlElementFlags elementFlags, + const QRect &r, + const QColorGroup &cg, + SFlags flags = Style_Default, + const QStyleOption& = QStyleOption::Default ) const; + void drawControl( ControlElement element, QPainter *p, QStyleControlElementData ceData, ControlElementFlags elementFlags, const QRect &r, const QColorGroup &cg, SFlags how = Style_Default, const QStyleOption& = QStyleOption::Default, const QWidget *w = 0 ); |