┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-04-02 19:55:51 +0000
committerPeter Penz <[email protected]>2008-04-02 19:55:51 +0000
commit570f0265586e760e57c70cfef3ec963f27273fa7 (patch)
tree7644d86f1a8596bc1ec7f4e9154dd4f4d01b2bd6 /src
parent3db73a2d153f9fe3c8cab8ef70e106b833a269b7 (diff)
improve layout of the "General Settings" dialog
svn path=/trunk/KDE/kdebase/apps/; revision=792998
Diffstat (limited to 'src')
-rw-r--r--src/generalsettingspage.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/generalsettingspage.cpp b/src/generalsettingspage.cpp
index a570141a6..4a8230bb7 100644
--- a/src/generalsettingspage.cpp
+++ b/src/generalsettingspage.cpp
@@ -63,13 +63,19 @@ GeneralSettingsPage::GeneralSettingsPage(DolphinMainWindow* mainWin, QWidget* pa
confirmBoxLayout->addWidget(m_confirmMoveToTrash);
confirmBoxLayout->addWidget(m_confirmDelete);
+ QGroupBox* contextMenuBox = new QGroupBox(i18nc("@title:group", "Context Menu"), vBox);
+
// create 'Show the command 'Delete' in context menu' checkbox
- m_showDeleteCommand = new QCheckBox(i18nc("@option:check", "Show 'Delete' command in context menu"), vBox);
+ m_showDeleteCommand = new QCheckBox(i18nc("@option:check", "Show 'Delete' command"), contextMenuBox);
connect(m_showDeleteCommand, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
- m_showCopyMoveMenu = new QCheckBox(i18nc("@option:check", "Show 'Copy To' and 'Move To' commands in context menu"), vBox);
+ m_showCopyMoveMenu = new QCheckBox(i18nc("@option:check", "Show 'Copy To' and 'Move To' commands"), contextMenuBox);
connect(m_showCopyMoveMenu, SIGNAL(toggled(bool)), this, SIGNAL(changed()));
+ QVBoxLayout* contextMenuBoxLayout = new QVBoxLayout(contextMenuBox);
+ contextMenuBoxLayout->addWidget(m_showDeleteCommand);
+ contextMenuBoxLayout->addWidget(m_showCopyMoveMenu);
+
m_browseThroughArchives = new QCheckBox(i18nc("@option:check", "Browse through archives"), vBox);
connect(m_browseThroughArchives, SIGNAL(toggled(bool)), this, SIGNAL(changed()));