20 #ifndef __PALETTEDIALOGS_H__ 21 #define __PALETTEDIALOGS_H__ 24 class PaletteProperties;
38 Ui::PaletteProperties*
ui;
41 void fillControlsWithData();
43 virtual void hideEvent(QHideEvent*);
44 virtual void reject();
46 void setInitialProperties();
47 void applyInitialPropertiesToThePalette();
48 bool areInitialPropertiesChanged()
const;
50 bool isGridCheckBoxChanged =
false;
51 bool isNameChanged =
false;
52 bool isHeightChanged =
false;
53 bool isWidthChanged =
false;
54 bool isScaleChanged =
false;
55 bool isOffsetChanged =
false;
57 int gridCheckboxInitialState = 0;
61 int initialHeight = 0;
62 double initialOffset = 0.f;
63 double initialScale = 0.f;
73 void gridCheckBoxChanged(
int state);
75 void nameChanged(
const QString &text);
76 void heightChanged(
int height);
77 void widthChanged(
int width);
78 void offsetChanged(
double offset);
79 void scaleChanged(
double scale);
Definition: crashreporter.h:27
Definition: palettetree.h:95
PalettePanel * palette
Definition: palettedialog.h:39
Definition: palettedialog.h:35
QString initialName
Definition: palettedialog.h:58
Definition: aeolus.cpp:26
QString initialTranslatedName
Definition: palettedialog.h:59
Ui::PaletteProperties * ui
Definition: palettedialog.h:38