54 virtual QFont font(
void) = 0;
55 virtual void setFont(QFont newFont) = 0;
56 virtual QString fontFamily(
void) = 0;
57 virtual void setFontFamily(QString family) = 0;
58 virtual int fontSize(
void) = 0;
59 virtual void setFontSize(
int size) = 0;
60 virtual void increaseFontSize(
int delta) = 0;
61 virtual int maxFontSize(
void) = 0;
63 virtual bool customExerciseTextColor(
void) = 0;
64 virtual QColor exerciseTextColor(
void) = 0;
65 virtual void setExerciseTextColor(QColor color) = 0;
66 virtual void resetExerciseTextColor(
void) = 0;
67 virtual QColor defaultExerciseTextColor(
void) = 0;
68 virtual QColor defaultExerciseTextColor(
bool dark) = 0;
69 virtual QColor defaultExerciseTextColor(QColor accent) = 0;
70 virtual QColor defaultExerciseTextColor(QColor accent,
bool dark) = 0;
72 virtual bool customInputTextColor(
void) = 0;
73 virtual QColor inputTextColor(
void) = 0;
74 virtual void setInputTextColor(QColor color) = 0;
75 virtual void resetInputTextColor(
void) = 0;
76 virtual QColor defaultInputTextColor(
bool dark =
false) = 0;
78 virtual bool customBgColor(
void) = 0;
79 virtual QColor bgColor(
void) = 0;
80 virtual void setBgColor(QColor color) = 0;
81 virtual void resetBgColor(
void) = 0;
82 virtual QColor defaultBgColor(
bool dark =
false) = 0;
84 virtual bool customPaperColor(
void) = 0;
85 virtual QColor paperColor(
void) = 0;
86 virtual void setPaperColor(QColor color) = 0;
87 virtual void resetPaperColor(
void) = 0;
88 virtual QColor defaultPaperColor(
bool dark =
false) = 0;
90 virtual bool customPanelColor(
void) = 0;
91 virtual QColor panelColor(
void) = 0;
92 virtual void setPanelColor(QColor color) = 0;
93 virtual void resetPanelColor(
void) = 0;
94 virtual QColor defaultPanelColor(
bool dark =
false) = 0;
96 virtual AccentColor accentColor(
void) = 0;
97 virtual void setAccentColor(AccentColor color) = 0;
98 virtual QColor getAccentColor(AccentColor colorId) = 0;
99 virtual QColor currentAccentColor(
void) = 0;
101 virtual Theme theme(
void)
const = 0;
102 virtual void setTheme(Theme newTheme) = 0;
103 virtual void updateTheme(
void) = 0;
104 virtual void setDefaultTheme(
void) = 0;
106 virtual QColor borderColor()
const = 0;
108 virtual QColor foregroundColor()
const = 0;
135 void borderColorChanged();
136 void foregroundColorChanged();