23 QPen pen0_solid_round;
26 QPen pen1_solid_flat_miter;
29 QPen pen2_solid_round_round;
30 QPen pen2_solid_flat_miter;
31 QPen pen2_dashdot_square_miter;
32 QPen pen2_dotted_square_miter;
34 QPen pen3_solid_flat_miter;
35 QPen pen3_solid_round_round;
36 QPen pen3_dashed_flat_miter;
48 explicit BrushSet(
const QBrush& b)
noexcept;
50 BrushSet& operator=(
const QBrush& b)
noexcept;
93class SCORE_LIB_BASE_EXPORT
Skin :
public QObject
97 static Skin& instance()
noexcept;
100 void load(
const QJsonObject& style);
159 Brush SelectedCable1;
160 Brush SelectedCable2;
161 Brush SelectedCable3;
170 const QPen TransparentPen;
171 const QBrush TransparentBrush;
173 const QBrush NoBrush;
180 QBrush SliderInteriorBrush;
185 QCursor CursorPointer;
186 QCursor CursorOpenHand;
187 QCursor CursorClosedHand;
188 QCursor CursorPointingHand;
189 QCursor CursorMagnifier;
191 QCursor CursorScaleH;
192 QCursor CursorScaleV;
193 QCursor CursorScaleFDiag;
196 QCursor CursorPlayFromHere;
197 QCursor CursorCreationMode;
199 const Brush* fromString(
const QString& s)
const;
200 Brush* fromString(
const QString& s);
201 QString toString(
const Brush*)
const;
203 QVector<QPair<QColor, QString>> getColors()
const;
204 QVector<QPair<QColor, QString>> getDefaultPaletteColors()
const;
212 void changed() E_SIGNAL(SCORE_LIB_BASE_EXPORT, changed)
215 void timerEvent(QTimerEvent* event)
override;
221 explicit Skin(NoGUI);
226 std::vector<Brush::Pair> m_defaultPalette;
228 bool m_pulseDirection{
false};