summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/muse/appearance.h
diff options
context:
space:
mode:
Diffstat (limited to 'attic/muse2-oom/muse2/muse/appearance.h')
-rw-r--r--attic/muse2-oom/muse2/muse/appearance.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/muse/appearance.h b/attic/muse2-oom/muse2/muse/appearance.h
new file mode 100644
index 00000000..ef99adbe
--- /dev/null
+++ b/attic/muse2-oom/muse2/muse/appearance.h
@@ -0,0 +1,68 @@
+#ifndef __APPEARANCE_H__
+#define __APPEARANCE_H__
+
+#include "ui_appearancebase.h"
+
+class QColor;
+class QDialog;
+
+class MusE;
+class Arranger;
+class GlobalConfigValues;
+
+//---------------------------------------------------------
+// Appearance Dialog
+//---------------------------------------------------------
+
+class Appearance : public QDialog, public Ui::AppearanceDialogBase {
+ Arranger* arr;
+ QColor* color;
+ GlobalConfigValues* config;
+ QButtonGroup* aPalette;
+ QTreeWidgetItem* user_bg;
+ QTreeWidgetItem* global_bg;
+ QTreeWidgetItem* lastSelectedBgItem;
+ QTreeWidgetItem* lastSelectedColorItem;
+
+ Q_OBJECT
+ void updateFonts();
+ void updateColor();
+
+ private slots:
+ void apply();
+ void ok();
+ void cancel();
+ void addBackground();
+ void removeBackground();
+ void clearBackground();
+ void colorItemSelectionChanged();
+ void browseStyleSheet();
+ void setDefaultStyleSheet();
+ void browseFont(int);
+ void browseFont0();
+ void browseFont1();
+ void browseFont2();
+ void browseFont3();
+ void browseFont4();
+ void browseFont5();
+ void browseFont6();
+ void asliderChanged(int);
+ void aValChanged(int);
+ void rsliderChanged(int);
+ void gsliderChanged(int);
+ void bsliderChanged(int);
+ void hsliderChanged(int);
+ void ssliderChanged(int);
+ void vsliderChanged(int);
+ void addToPaletteClicked();
+ void paletteClicked(int);
+ void bgSelectionChanged(QTreeWidgetItem*);
+ void colorNameEditFinished();
+
+ public:
+ Appearance(Arranger*, QWidget* parent=0);
+ ~Appearance();
+ void resetValues();
+ };
+
+#endif