blob: ec266f8ee739c934f4afb8973e20aece3bf998a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
#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 {
Q_OBJECT
private:
Arranger* arr;
QColor* color;
GlobalConfigValues* config;
QButtonGroup* aPalette;
QTreeWidgetItem* user_bg;
QTreeWidgetItem* global_bg;
QTreeWidgetItem* lastSelectedBgItem;
QTreeWidgetItem* lastSelectedColorItem;
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
|