22#include <QGuiApplication>
33#if defined(DRUMSTICK_STATIC)
34#define DRUMSTICK_WIDGETS_EXPORT
36#if defined(drumstick_widgets_EXPORTS)
37#define DRUMSTICK_WIDGETS_EXPORT Q_DECL_EXPORT
39#define DRUMSTICK_WIDGETS_EXPORT Q_DECL_IMPORT
81 void retranslateStrings();
83 int paletteId()
const;
84 int getNumColors()
const;
85 bool isHighLight()
const;
86 bool isBackground()
const;
87 bool isForeground()
const;
89 QString paletteName()
const;
90 void setPaletteName(
const QString& name);
92 QString paletteText()
const;
93 void setPaletteText(
const QString& text);
95 QColor getColor(
const int i)
const;
96 void setColor(
const int n,
const QString& s,
const QColor& c);
97 void setColor(
const int n,
const QColor& c);
99 QString getColorName(
const int i)
const;
100 void setColorName(
const int n,
const QString& s);
102 void saveColors()
const;
115 void resetPaletteSingle();
116 void resetPaletteDouble();
117 void resetPaletteChannels();
118 void resetPaletteScale();
119 void resetPaletteKeys();
120 void resetPaletteFont();
121 void retranslatePaletteSingle();
122 void retranslatePaletteDouble();
123 void retranslatePaletteChannels();
124 void retranslatePaletteScale();
125 void retranslatePaletteKeys();
126 void retranslatePaletteFont();
129 QList<QColor> m_colors;
130 QList<QString> m_names;
131 QString m_paletteName;
132 QString m_paletteText;