20 #ifndef __PALETTECELLDIALOGS_H__ 21 #define __PALETTECELLDIALOGS_H__ 24 class PaletteCellProperties;
37 Ui::PaletteCellProperties*
ui;
40 virtual void hideEvent(QHideEvent*);
41 virtual void reject();
43 void applyInitialPropertiesToThePalette();
44 bool areInitialPropertiesChanged()
const;
45 void fillControlsWithData();
46 void setInitialProperties();
48 bool isDrawStaffCheckBoxChanged =
false;
49 bool isNameChanged =
false;
50 bool isXOffsetChanged =
false;
51 bool isYOffsetChanged =
false;
52 bool isScaleChanged =
false;
54 int drawStaffCheckboxInitialState = 0;
57 double initialXOffset = 0.f;
58 double initialYOffset = 0.f;
59 double initialScale = 0.f;
60 bool initialCustomState =
false;
66 void drawStaffCheckBoxChanged(
int state);
67 void nameChanged(
const QString &text);
68 void xOffsetChanged(
double xOffset);
69 void yOffsetChanged(
double yOffset);
70 void scaleChanged(
double scale);
78 #endif //__PALETTECELLDIALOGS_H__ Definition: palettecelldialog.h:34
Definition: crashreporter.h:27
PaletteCell * cell
Definition: palettecelldialog.h:38
QString initialName
Definition: palettecelldialog.h:55
Definition: palettemodel_list.h:31
Definition: aeolus.cpp:26
QString initialTranslatedName
Definition: palettecelldialog.h:56
Ui::PaletteCellProperties * ui
Definition: palettecelldialog.h:37