|
|
@ -20,6 +20,7 @@
|
|
|
|
#define SIMPLESTYLE_H
|
|
|
|
#define SIMPLESTYLE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QtGui/QWindowsStyle>
|
|
|
|
#include <QtGui/QWindowsStyle>
|
|
|
|
|
|
|
|
#include <QFileDialog>
|
|
|
|
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class QPalette;
|
|
|
|
class QPalette;
|
|
|
@ -38,6 +39,8 @@ class TQSpinWidget;
|
|
|
|
class TQTitleBar;
|
|
|
|
class TQTitleBar;
|
|
|
|
class TQMenuBar;
|
|
|
|
class TQMenuBar;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class KAboutData;
|
|
|
|
|
|
|
|
|
|
|
|
enum TQt3WidgetType {
|
|
|
|
enum TQt3WidgetType {
|
|
|
|
TQT3WT_NONE,
|
|
|
|
TQT3WT_NONE,
|
|
|
|
TQT3WT_TQProgressBar,
|
|
|
|
TQT3WT_TQProgressBar,
|
|
|
@ -72,6 +75,9 @@ public:
|
|
|
|
QRect subElementRect(SubElement element, const QStyleOption * option, const QWidget * widget = 0) const;
|
|
|
|
QRect subElementRect(SubElement element, const QStyleOption * option, const QWidget * widget = 0) const;
|
|
|
|
|
|
|
|
|
|
|
|
int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const;
|
|
|
|
int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const;
|
|
|
|
|
|
|
|
int styleHint(StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption * option = 0, const QWidget * widget = 0) const;
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget, const QStyleOption* qt4styleoptions = 0) const;
|
|
|
|
TQWidget* initializeInterfaceWidget(TQt3WidgetType wt, const QWidget * widget, const QStyleOption* qt4styleoptions = 0) const;
|
|
|
@ -105,6 +111,12 @@ private:
|
|
|
|
int m_tqt3IconSize_Large;
|
|
|
|
int m_tqt3IconSize_Large;
|
|
|
|
int m_tqt3IconSize_Listview;
|
|
|
|
int m_tqt3IconSize_Listview;
|
|
|
|
int m_tqt3IconSize_Button;
|
|
|
|
int m_tqt3IconSize_Button;
|
|
|
|
|
|
|
|
int m_tqt3DialogButtons_ShowIcons;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mutable const QWidget* m_previousQt4InterfaceWidget;
|
|
|
|
|
|
|
|
mutable TQWidget* m_previousTQt3InterfaceWidget;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KAboutData* m_aboutData;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|