From 37a8b8a9126f613eb94ee76e3476d3c6a5830018 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 4 Nov 2012 16:16:36 -0600 Subject: Add additional information to style info structs --- src/kernel/qstyle.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/kernel') diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h index f068462..f76b970 100644 --- a/src/kernel/qstyle.h +++ b/src/kernel/qstyle.h @@ -203,6 +203,8 @@ class QStyleControlElementGenericWidgetData { QPalette palette; QFont font; QColor paletteBgColor; + QString name; + QString caption; }; class QStyleControlElementTabBarData { @@ -280,6 +282,10 @@ class Q_EXPORT QStyleControlElementData { Q_UINT32 comboBoxListBoxFlags; QColor paletteBgColor; Q_UINT32 parentWidgetFlags; + QString name; + QString caption; + QStyleControlElementGenericWidgetData topLevelWidgetData; + Q_UINT32 topLevelWidgetFlags; public: QStyleControlElementData(); @@ -343,6 +349,7 @@ public: CEF_IsActiveWindow = 0x00200000, CEF_IsTopLevel = 0x00400000, CEF_IsVisible = 0x00800000, + CEF_IsShown = 0x01000000, CEF_HasMouse = 0x01000000 }; @@ -473,6 +480,8 @@ public: PE_MenuItemIndicatorIconFrame, PE_MenuItemIndicatorCheck, + PE_ScrollBarTrough, + // do not add any values below/greater this PE_CustomBase = 0xf000000 }; -- cgit v1.2.3