Changeset View
Changeset View
Standalone View
Standalone View
src/Gui/SettingsDialog/SettingsDialog.cpp
Show All 27 Lines | |||||
28 | #include <QMessageBox> | 28 | #include <QMessageBox> | ||
29 | 29 | | |||
30 | SettingsDialog::SettingsDialog(QWidget *parent) : | 30 | SettingsDialog::SettingsDialog(QWidget *parent) : | ||
31 | KPageDialog(parent) | 31 | KPageDialog(parent) | ||
32 | { | 32 | { | ||
33 | // set up window options and geometry | 33 | // set up window options and geometry | ||
34 | setWindowTitle(i18nc("@title:window", "Configure")); | 34 | setWindowTitle(i18nc("@title:window", "Configure")); | ||
35 | setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); | 35 | setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); | ||
36 | resize(530, 470); | 36 | resize(600, 550); | ||
37 | 37 | | |||
38 | // init all pages | 38 | // init all pages | ||
39 | QMetaObject::invokeMethod(this, "initPages", Qt::QueuedConnection); | 39 | QMetaObject::invokeMethod(this, "initPages", Qt::QueuedConnection); | ||
40 | } | 40 | } | ||
41 | 41 | | |||
42 | void SettingsDialog::initPages() | 42 | void SettingsDialog::initPages() | ||
43 | { | 43 | { | ||
44 | KPageWidgetItem *generalOptions = new KPageWidgetItem(new GeneralOptionsPage(this), i18n("General")); | 44 | KPageWidgetItem *generalOptions = new KPageWidgetItem(new GeneralOptionsPage(this), i18n("General")); | ||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |