19 #ifndef PIANOPALETTE_H 20 #define PIANOPALETTE_H 22 #include <QGuiApplication> 70 void retranslateStrings();
72 int paletteId()
const;
73 int getNumColors()
const;
74 bool isHighLight()
const;
75 bool isBackground()
const;
76 bool isForeground()
const;
78 QString paletteName()
const;
79 void setPaletteName(
const QString& name);
81 QString paletteText()
const;
82 void setPaletteText(
const QString& text);
84 QColor getColor(
const int i)
const;
85 void setColor(
const int n,
const QString& s,
const QColor& c);
86 void setColor(
const int n,
const QColor& c);
88 QString getColorName(
const int i)
const;
89 void setColorName(
const int n,
const QString& s);
91 void saveColors()
const;
101 void resetPaletteSingle();
102 void resetPaletteDouble();
103 void resetPaletteChannels();
104 void resetPaletteScale();
105 void resetPaletteKeys();
106 void resetPaletteFont();
107 void retranslatePaletteSingle();
108 void retranslatePaletteDouble();
109 void retranslatePaletteChannels();
110 void retranslatePaletteScale();
111 void retranslatePaletteKeys();
112 void retranslatePaletteFont();
115 QList<QColor> m_colors;
116 QList<QString> m_names;
117 QString m_paletteName;
118 QString m_paletteText;
125 #endif // PIANOPALETTE_H
Drumstick visibility macros.