From: Peter Penz Date: Wed, 2 Apr 2008 19:55:51 +0000 (+0000) Subject: improve layout of the "General Settings" dialog X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/570f0265586e760e57c70cfef3ec963f27273fa7?ds=inline improve layout of the "General Settings" dialog svn path=/trunk/KDE/kdebase/apps/; revision=792998 --- 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()));