22#include <QGuiApplication>
71 void retranslateStrings();
73 int paletteId()
const;
74 int getNumColors()
const;
75 bool isHighLight()
const;
76 bool isBackground()
const;
77 bool isForeground()
const;
79 QString paletteName()
const;
80 void setPaletteName(
const QString& name);
82 QString paletteText()
const;
83 void setPaletteText(
const QString& text);
85 QColor getColor(
const int i)
const;
86 void setColor(
const int n,
const QString& s,
const QColor& c);
87 void setColor(
const int n,
const QColor& c);
89 QString getColorName(
const int i)
const;
90 void setColorName(
const int n,
const QString& s);
92 void saveColors()
const;
105 void resetPaletteSingle();
106 void resetPaletteDouble();
107 void resetPaletteChannels();
108 void resetPaletteScale();
109 void resetPaletteKeys();
110 void resetPaletteFont();
111 void retranslatePaletteSingle();
112 void retranslatePaletteDouble();
113 void retranslatePaletteChannels();
114 void retranslatePaletteScale();
115 void retranslatePaletteKeys();
116 void retranslatePaletteFont();
119 QList<QColor> m_colors;
120 QList<QString> m_names;
121 QString m_paletteName;
122 QString m_paletteText;
Drumstick visibility macros.