52 #ifndef DIALOGPATTERNPROPERTIES_H
53 #define DIALOGPATTERNPROPERTIES_H
56 #include "../options.h"
116 template<typename Func>
117 void Init(QCheckBox *check,
int val, Func slot);
118 template<typename GVal>
120 template<typename GVal>
122 void initComboBoxFormats(QComboBox *box, const QStringList &items, const QString ¤tFormat);
virtual ~DialogPatternProperties() Q_DECL_OVERRIDE
void SetDefaultHeight(const QString &def)
QVector< VLabelTemplateLine > templateLines
DialogPatternProperties(VPattern *doc, VContainer *pattern, QWidget *parent=nullptr)
Ui::DialogPatternProperties * ui
QAction * showImageAction
void InitComboBox(QComboBox *box, const QMap< GVal, bool > &option)
void SelectAll(int state)
void initComboBoxFormats(QComboBox *box, const QStringList &items, const QString ¤tFormat)
void CheckStateSize(int state)
void CheckStateHeight(int state)
QAction * saveImageAction
void SetHeightsChecked(bool enabled)
void Init(QCheckBox *check, int val, Func slot)
void SetOptions(const QMap< GVal, bool > &option)
QMap< QCheckBox *, int > data
void SetDefaultSize(const QString &def)
QMap< GSizes, bool > sizes
void SetSizesChecked(bool enabled)
QAction * changeImageAction
QMap< GHeights, bool > heights
The VContainer class container of all variables.
The VPattern class working with pattern file.