Changeset View
Changeset View
Standalone View
Standalone View
src/settings/dolphinsettingsdialog.cpp
Show All 35 Lines | |||||
36 | #include <QPushButton> | 36 | #include <QPushButton> | ||
37 | 37 | | |||
38 | DolphinSettingsDialog::DolphinSettingsDialog(const QUrl& url, QWidget* parent) : | 38 | DolphinSettingsDialog::DolphinSettingsDialog(const QUrl& url, QWidget* parent) : | ||
39 | KPageDialog(parent), | 39 | KPageDialog(parent), | ||
40 | m_pages() | 40 | m_pages() | ||
41 | 41 | | |||
42 | { | 42 | { | ||
43 | const QSize minSize = minimumSize(); | 43 | const QSize minSize = minimumSize(); | ||
44 | setMinimumSize(QSize(512, minSize.height())); | 44 | setMinimumSize(QSize(540, minSize.height())); | ||
45 | 45 | | |||
46 | setFaceType(List); | 46 | setFaceType(List); | ||
47 | setWindowTitle(i18nc("@title:window", "Dolphin Preferences")); | 47 | setWindowTitle(i18nc("@title:window", "Dolphin Preferences")); | ||
48 | QDialogButtonBox* box = new QDialogButtonBox(QDialogButtonBox::Ok | 48 | QDialogButtonBox* box = new QDialogButtonBox(QDialogButtonBox::Ok | ||
49 | | QDialogButtonBox::Apply | QDialogButtonBox::Cancel | QDialogButtonBox::RestoreDefaults); | 49 | | QDialogButtonBox::Apply | QDialogButtonBox::Cancel | QDialogButtonBox::RestoreDefaults); | ||
50 | box->button(QDialogButtonBox::Apply)->setEnabled(false); | 50 | box->button(QDialogButtonBox::Apply)->setEnabled(false); | ||
51 | box->button(QDialogButtonBox::Ok)->setDefault(true); | 51 | box->button(QDialogButtonBox::Ok)->setDefault(true); | ||
52 | setButtonBox(box); | 52 | setButtonBox(box); | ||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |