Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SaveOptionsPage.cpp
Show All 13 Lines | |||||
14 | * You should have received a copy of the GNU Lesser General Public License | 14 | * You should have received a copy of the GNU Lesser General Public License | ||
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 | #include "SaveOptionsPage.h" | 20 | #include "SaveOptionsPage.h" | ||
21 | 21 | | |||
22 | #include "SpectacleConfig.h" | ||||
23 | | ||||
24 | #include <KIOWidgets/KUrlRequester> | ||||
25 | #include <KLocalizedString> | ||||
26 | | ||||
22 | #include <QLineEdit> | 27 | #include <QLineEdit> | ||
23 | #include <QLabel> | 28 | #include <QLabel> | ||
24 | #include <QGroupBox> | 29 | #include <QGroupBox> | ||
25 | #include <QVBoxLayout> | 30 | #include <QVBoxLayout> | ||
26 | #include <QHBoxLayout> | | |||
27 | #include <QStandardPaths> | | |||
28 | #include <QComboBox> | 31 | #include <QComboBox> | ||
29 | #include <QImageWriter> | 32 | #include <QImageWriter> | ||
30 | 33 | | |||
31 | #include <KLocalizedString> | | |||
32 | #include <KIOWidgets/KUrlRequester> | | |||
33 | | ||||
34 | #include "SpectacleConfig.h" | | |||
35 | | ||||
36 | SaveOptionsPage::SaveOptionsPage(QWidget *parent) : | 34 | SaveOptionsPage::SaveOptionsPage(QWidget *parent) : | ||
37 | SettingsPage(parent) | 35 | SettingsPage(parent) | ||
38 | { | 36 | { | ||
39 | // set up the layout. start with the directory | 37 | // set up the layout. start with the directory | ||
40 | 38 | | |||
41 | QGroupBox *dirGroup = new QGroupBox(i18n("Default Save Location"), this); | 39 | QGroupBox *dirGroup = new QGroupBox(i18n("Default Save Location"), this); | ||
42 | QVBoxLayout *dirLayout = new QVBoxLayout; | 40 | QVBoxLayout *dirLayout = new QVBoxLayout; | ||
43 | dirGroup->setLayout(dirLayout); | 41 | dirGroup->setLayout(dirLayout); | ||
▲ Show 20 Lines • Show All 135 Lines • Show Last 20 Lines |