From 380f29a7b4539f4b22e37774389f0845a742ad24 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 3 Nov 2012 20:34:16 -0500 Subject: Extend style information structures slightly --- src/kernel/qstyle.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/kernel') diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h index 111a987..f068462 100644 --- a/src/kernel/qstyle.h +++ b/src/kernel/qstyle.h @@ -202,6 +202,7 @@ class QStyleControlElementGenericWidgetData { QPixmap icon; QPalette palette; QFont font; + QColor paletteBgColor; }; class QStyleControlElementTabBarData { @@ -276,6 +277,9 @@ class Q_EXPORT QStyleControlElementData { QRect sliderRect; QPainter* activePainter; QStyleControlElementToolBarWidgetData toolBarData; + Q_UINT32 comboBoxListBoxFlags; + QColor paletteBgColor; + Q_UINT32 parentWidgetFlags; public: QStyleControlElementData(); @@ -1050,6 +1054,12 @@ public: // int - width of menu check column SH_MenuIndicatorColumnWidth, + // bool - whether or not the lower two button drawing areas should be combined into one + SH_ScrollBar_CombineAddLineRegionDrawingAreas, + + // bool - whether or not the upper two button drawing areas should be combined into one + SH_ScrollBar_CombineSubLineRegionDrawingAreas, + // do not add any values below/greater than this SH_CustomBase = 0xf0000000 }; -- cgit v1.2.3