summaryrefslogtreecommitdiff
path: root/muse2/muse/appearance.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/appearance.h')
-rw-r--r--muse2/muse/appearance.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/muse2/muse/appearance.h b/muse2/muse/appearance.h
new file mode 100644
index 00000000..1225d96a
--- /dev/null
+++ b/muse2/muse/appearance.h
@@ -0,0 +1,56 @@
+#ifndef __APPEARANCE_H__
+#define __APPEARANCE_H__
+
+#include "appearancebase.h"
+#include <qfont.h>
+
+class MusE;
+class Arranger;
+class QColor;
+class GlobalConfigValues;
+
+//---------------------------------------------------------
+// Appearance Dialog
+//---------------------------------------------------------
+
+class Appearance : public AppearanceDialogBase {
+ Arranger* arr;
+ QColor* color;
+ QString currentBg;
+ GlobalConfigValues* config;
+
+ Q_OBJECT
+ void updateFonts();
+ void updateColor();
+
+ private slots:
+ void apply();
+ void ok();
+ void cancel();
+ void configBackground();
+ void clearBackground();
+ void colorItemSelectionChanged();
+ void browseFont(int);
+ void browseFont0();
+ void browseFont1();
+ void browseFont2();
+ void browseFont3();
+ void browseFont4();
+ void browseFont5();
+ void browseFont6();
+ void rsliderChanged(int);
+ void gsliderChanged(int);
+ void bsliderChanged(int);
+ void hsliderChanged(int);
+ void ssliderChanged(int);
+ void vsliderChanged(int);
+ void addToPaletteClicked();
+ void paletteClicked(int);
+
+ public:
+ Appearance(Arranger*, QWidget* parent=0, const char* name=0);
+ ~Appearance();
+ void resetValues();
+ };
+
+#endif