]> cloud.milkyroute.net Git - dolphin.git/commitdiff
improve layout of the "General Settings" dialog
authorPeter Penz <peter.penz19@gmail.com>
Wed, 2 Apr 2008 19:55:51 +0000 (19:55 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Wed, 2 Apr 2008 19:55:51 +0000 (19:55 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=792998

src/generalsettingspage.cpp

index a570141a6e82c7a98edc683eca49a54032997d94..4a8230bb797c5119cf365f202251db28651fed98 100644 (file)
@@ -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()));