summaryrefslogtreecommitdiffstats
path: root/src/kernel/qstyle.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-11-04 16:16:36 -0600
committerTimothy Pearson <[email protected]>2012-11-04 16:16:36 -0600
commit37a8b8a9126f613eb94ee76e3476d3c6a5830018 (patch)
tree534856965bf03ae7e18b86ecca6fb4a6aae3212b /src/kernel/qstyle.h
parent380f29a7b4539f4b22e37774389f0845a742ad24 (diff)
downloadqt3-37a8b8a9126f613eb94ee76e3476d3c6a5830018.tar.gz
qt3-37a8b8a9126f613eb94ee76e3476d3c6a5830018.zip
Add additional information to style info structs
Diffstat (limited to 'src/kernel/qstyle.h')
-rw-r--r--src/kernel/qstyle.h9
1 files changed, 9 insertions, 0 deletions
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
};