Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.h
Show All 16 Lines | |||||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef SAVEOPTIONSPAGE_H | 20 | #ifndef SAVEOPTIONSPAGE_H | ||
21 | #define SAVEOPTIONSPAGE_H | 21 | #define SAVEOPTIONSPAGE_H | ||
22 | 22 | | |||
23 | #include <QWidget> | 23 | #include <QWidget> | ||
24 | 24 | | |||
25 | class QComboBox; | 25 | class Ui_SaveOptions; | ||
26 | class QLabel; | | |||
27 | class QLineEdit; | | |||
28 | 26 | | |||
29 | class SaveOptionsPage : public QWidget | 27 | class SaveOptionsPage : public QWidget | ||
30 | { | 28 | { | ||
31 | Q_OBJECT | 29 | Q_OBJECT | ||
32 | 30 | | |||
33 | public: | 31 | public: | ||
34 | 32 | | |||
35 | explicit SaveOptionsPage(QWidget *parent = nullptr); | 33 | explicit SaveOptionsPage(QWidget *parent = nullptr); | ||
34 | ~SaveOptionsPage() override; | ||||
36 | 35 | | |||
37 | private: | 36 | private: | ||
38 | 37 | | |||
39 | QLineEdit* mSaveNameFormat; | 38 | Ui_SaveOptions *m_ui; | ||
40 | QLabel* mPreviewLabel; | | |||
41 | QComboBox* mSaveImageFormat; | | |||
42 | 39 | | |||
43 | void updateFilenamePreview(); | 40 | void updateFilenamePreview(); | ||
44 | }; | 41 | }; | ||
45 | 42 | | |||
46 | #endif // SAVEOPTIONSPAGE_H | 43 | #endif // SAVEOPTIONSPAGE_H |