Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | #include "SettingsPage.h" | 23 | #include "SettingsPage.h" | ||
24 | 24 | | |||
25 | class QDialogButtonBox; | 25 | class QDialogButtonBox; | ||
26 | class QLineEdit; | 26 | class QLineEdit; | ||
27 | class QComboBox; | 27 | class QComboBox; | ||
28 | class KUrlRequester; | 28 | class KUrlRequester; | ||
29 | class QCheckBox; | 29 | class QCheckBox; | ||
30 | class QSlider; | ||||
31 | class QLabel; | ||||
30 | 32 | | |||
31 | class SaveOptionsPage : public SettingsPage | 33 | class SaveOptionsPage : public SettingsPage | ||
32 | { | 34 | { | ||
33 | Q_OBJECT | 35 | Q_OBJECT | ||
34 | 36 | | |||
35 | public: | 37 | public: | ||
36 | 38 | | |||
37 | explicit SaveOptionsPage(QWidget *parent = nullptr); | 39 | explicit SaveOptionsPage(QWidget *parent = nullptr); | ||
38 | 40 | | |||
39 | public Q_SLOTS: | 41 | public Q_SLOTS: | ||
40 | 42 | | |||
41 | void saveChanges() override; | 43 | void saveChanges() override; | ||
42 | void resetChanges() override; | 44 | void resetChanges() override; | ||
43 | 45 | | |||
44 | private Q_SLOTS: | 46 | private Q_SLOTS: | ||
45 | 47 | | |||
46 | void markDirty(); | 48 | void markDirty(); | ||
49 | void updateQualityValue(); | ||||
47 | 50 | | |||
48 | private: | 51 | private: | ||
49 | 52 | | |||
50 | QDialogButtonBox *mDialogButtonBox; | | |||
51 | QLineEdit *mSaveNameFormat; | 53 | QLineEdit *mSaveNameFormat; | ||
52 | KUrlRequester *mUrlRequester; | 54 | KUrlRequester *mUrlRequester; | ||
53 | QComboBox *mSaveImageFormat; | 55 | QComboBox *mSaveImageFormat; | ||
54 | QCheckBox *mCopyPathToClipboard; | 56 | QCheckBox *mCopyPathToClipboard; | ||
57 | QSlider *mQualitySlider; | ||||
58 | QLabel *mQualityValue; | ||||
55 | 59 | | |||
56 | }; | 60 | }; | ||
57 | 61 | | |||
58 | #endif // SAVEOPTIONSPAGE_H | 62 | #endif // SAVEOPTIONSPAGE_H |