diff options
Diffstat (limited to 'src/kernel/qstyle.h')
-rw-r--r-- | src/kernel/qstyle.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/kernel/qstyle.h b/src/kernel/qstyle.h index 324b987..1d20b8c 100644 --- a/src/kernel/qstyle.h +++ b/src/kernel/qstyle.h @@ -133,6 +133,8 @@ class QStyleHintReturn; // not defined yet typedef QMap<Q_UINT32, QSize> DialogButtonSizeMap; typedef QMap<Q_INT32, Q_INT32> TabIdentifierIndexMap; +class QStyleControlElementGenericWidgetData; + class QStyleControlElementPopupMenuData { public: // @@ -146,13 +148,6 @@ class QStyleControlElementCheckListItemData { int height; }; -class QStyleControlElementTabBarData { - public: - int tabCount; - QTabBar::Shape shape; - TabIdentifierIndexMap identIndexMap; -}; - class QStyleControlElementListViewData { public: bool rootDecorated; @@ -204,6 +199,22 @@ class QStyleControlElementGenericWidgetData { QFont font; }; +class QStyleControlElementTabBarData { + public: + int tabCount; + int currentTabIndex; + QTabBar::Shape shape; + TabIdentifierIndexMap identIndexMap; + QStyleControlElementGenericWidgetData cornerWidgets[4]; + + enum CornerWidgetLocation { + CWL_TopLeft = 0, + CWL_TopRight = 1, + CWL_BottomLeft = 2, + CWL_BottomRight = 3 + }; +}; + class Q_EXPORT QStyleControlElementData { public: QStringList widgetObjectTypes; |