Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.h
Show All 14 Lines | |||||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
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 <QScopedPointer> | ||||
23 | #include <QWidget> | 24 | #include <QWidget> | ||
24 | 25 | | |||
25 | class QComboBox; | 26 | class Ui_SaveOptions; | ||
26 | class QLabel; | | |||
27 | class QLineEdit; | | |||
28 | 27 | | |||
29 | class SaveOptionsPage : public QWidget | 28 | class SaveOptionsPage : public QWidget | ||
30 | { | 29 | { | ||
31 | Q_OBJECT | 30 | Q_OBJECT | ||
32 | 31 | | |||
33 | public: | 32 | public: | ||
34 | 33 | | |||
35 | explicit SaveOptionsPage(QWidget *parent = nullptr); | 34 | explicit SaveOptionsPage(QWidget *parent = nullptr); | ||
35 | ~SaveOptionsPage() override; | ||||
36 | 36 | | |||
37 | private: | 37 | private: | ||
38 | 38 | | |||
39 | QLineEdit* mSaveNameFormat; | 39 | QScopedPointer<Ui_SaveOptions> m_ui; | ||
40 | QLabel* mPreviewLabel; | | |||
41 | QComboBox* mSaveImageFormat; | | |||
42 | 40 | | |||
43 | void updateFilenamePreview(); | 41 | void updateFilenamePreview(); | ||
44 | }; | 42 | }; | ||
45 | 43 | | |||
46 | #endif // SAVEOPTIONSPAGE_H | 44 | #endif // SAVEOPTIONSPAGE_H |