summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabdialog.h
Side-by-side diff
Diffstat (limited to 'core/settings/launcher/tabdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabdialog.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/core/settings/launcher/tabdialog.h b/core/settings/launcher/tabdialog.h
new file mode 100644
index 0000000..d602573
--- a/dev/null
+++ b/core/settings/launcher/tabdialog.h
@@ -0,0 +1,40 @@
+#ifndef __TABDIALOG_H__
+#define __TABDIALOG_H__
+
+#include <qdialog.h>
+#include "tabconfig.h"
+
+class QButtonGroup;
+class OFontSelector;
+class SampleView;
+class OColorButton;
+
+class TabDialog : public QDialog {
+ Q_OBJECT
+public:
+ TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &cfg, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags = 0 );
+ virtual ~TabDialog ( );
+
+protected slots:
+ void iconSizeClicked ( int );
+ void fontClicked ( const QFont & );
+ void bgTypeClicked ( int );
+ void colorClicked ( const QColor & );
+
+private:
+ QWidget *createBgTab ( QWidget *parent );
+ QWidget *createFontTab ( QWidget *parent );
+ QWidget *createIconTab ( QWidget *parent );
+
+
+private:
+ SampleView *m_sample;
+ QButtonGroup *m_iconsize;
+ OFontSelector *m_fontselect;
+ OColorButton *m_solidcolor;
+
+ QButtonGroup *m_bgtype;
+};
+
+
+#endif \ No newline at end of file