diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-16 18:16:40 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-16 18:16:40 -0500 |
commit | de9aa982847ea40eaf9defa0da25e93201559d5d (patch) | |
tree | e5a6f29724dcb8c4d783c95e49d38d5e59df385d /plugin/simplestyle.h | |
parent | 7506cadc8d243931a745a50ff4a83c89af95a19f (diff) | |
download | qt4-tqt-theme-engine-de9aa982847ea40eaf9defa0da25e93201559d5d.tar.gz qt4-tqt-theme-engine-de9aa982847ea40eaf9defa0da25e93201559d5d.zip |
Add support for a number of new complex controls
Diffstat (limited to 'plugin/simplestyle.h')
-rw-r--r-- | plugin/simplestyle.h | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/plugin/simplestyle.h b/plugin/simplestyle.h index 0b067b2..87c166c 100644 --- a/plugin/simplestyle.h +++ b/plugin/simplestyle.h @@ -31,6 +31,11 @@ class TQRadioButton; class TQProgressBar; class TQPopupMenu; class TQComboBox; +class TQSlider; +class TQScrollBar; +class TQSpinBox; +class TQTitleBar; +class TQMenuBar; enum TQt3WidgetType { TQT3WT_NONE, @@ -38,7 +43,12 @@ enum TQt3WidgetType { TQT3WT_TQTabBar, TQT3WT_TQRadioButton, TQT3WT_TQPopupMenu, - TQT3WT_TQComboBox + TQT3WT_TQComboBox, + TQT3WT_TQSlider, + TQT3WT_TQScrollBar, + TQT3WT_TQSpinBox, + TQT3WT_TQTitleBar, + TQT3WT_TQMenuBar }; class SimpleStyle : public QWindowsStyle @@ -62,14 +72,21 @@ public: int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const; private: - TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget) const; + TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget, const QStyleOption* qt4styleoptions = 0) const; TQWidget* m_tqt3parent_widget; + TQWidget* m_tqt3generic_widget; TQTabBar* m_tqt3tabbar_widget; TQRadioButton* m_tqt3radiobutton_widget; TQProgressBar* m_tqt3progressbar_widget; TQPopupMenu* m_tqt3popupmenu_widget; TQComboBox* m_tqt3combobox_widget; + TQSlider* m_tqt3slider_widget; + TQScrollBar* m_tqt3scrollbar_widget; + TQSpinBox* m_tqt3spinbox_widget; + TQWidget* m_tqt3window_widget; + TQTitleBar* m_tqt3titlebar_widget; + TQMenuBar* m_tqt3menubar_widget; }; #endif |