summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qtconfig/mainwindow.h')
-rw-r--r--tools/qtconfig/mainwindow.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/tools/qtconfig/mainwindow.h b/tools/qtconfig/mainwindow.h
index 50d73f9..9bc8068 100644
--- a/tools/qtconfig/mainwindow.h
+++ b/tools/qtconfig/mainwindow.h
@@ -42,15 +42,11 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <QtGui/QMainWindow>
+#include "mainwindowbase.h"
QT_BEGIN_NAMESPACE
-namespace Ui {
- class MainWindow;
-}
-
-class MainWindow : public QMainWindow
+class MainWindow : public MainWindowBase
{
Q_OBJECT
@@ -60,6 +56,7 @@ public:
void closeEvent(QCloseEvent *);
+
public slots:
virtual void buildPalette();
virtual void buildFont();
@@ -86,17 +83,21 @@ public slots:
private:
+ void buildActive();
+ void buildActiveEffect();
+ void buildInactive();
+ void buildInactiveEffect();
+ void buildDisabled();
+ void buildDisabledEffect();
+
void updateColorButtons();
void updateFontSample();
void updateStyleLayout();
- static QPalette::ColorGroup groupFromIndex(int);
-
void setPreviewPalette(const QPalette &);
void setModified(bool);
- Ui::MainWindow *ui;
QString desktopThemeName;
QPalette editPalette, previewPalette;
QStyle *previewstyle;