diff options
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/kicker/advancedDialog.cpp | 17 | ||||
-rw-r--r-- | kcontrol/kicker/advancedOptions.ui | 35 |
2 files changed, 52 insertions, 0 deletions
diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp index 6da3bca4a..a6790d9c9 100644 --- a/kcontrol/kicker/advancedDialog.cpp +++ b/kcontrol/kicker/advancedDialog.cpp @@ -63,6 +63,10 @@ advancedDialog::advancedDialog(TQWidget* parent, const char* name) this, TQT_SLOT(changed())); connect(m_advancedWidget->menubarPanelTransparent, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); + connect(m_advancedWidget->kickerResizeHandle, TQT_SIGNAL(clicked()), + this, TQT_SLOT(changed())); + connect(m_advancedWidget->kickerDeepButtons, TQT_SIGNAL(clicked()), + this, TQT_SLOT(changed())); load(); } @@ -94,6 +98,11 @@ void advancedDialog::load() bool transparentMenubarPanel = c.readBoolEntry("MenubarPanelTransparent", false); m_advancedWidget->menubarPanelTransparent->setChecked( transparentMenubarPanel ); + bool useKickerResizeHandle = c.readBoolEntry("UseResizeHandle", false); + m_advancedWidget->kickerResizeHandle->setChecked( useKickerResizeHandle ); + bool usekickerDeepButtons = c.readBoolEntry("ShowDeepButtons", false); + m_advancedWidget->kickerDeepButtons->setChecked( usekickerDeepButtons ); + enableButtonApply(false); } @@ -114,6 +123,10 @@ void advancedDialog::save() m_advancedWidget->tintSlider->value()); c.writeEntry("MenubarPanelTransparent", m_advancedWidget->menubarPanelTransparent->isChecked()); + c.writeEntry("UseResizeHandle", + m_advancedWidget->kickerResizeHandle->isChecked()); + c.writeEntry("ShowDeepButtons", + m_advancedWidget->kickerDeepButtons->isChecked()); TQStringList elist = c.readListEntry("Extensions2"); for (TQStringList::Iterator it = elist.begin(); it != elist.end(); ++it) @@ -144,6 +157,10 @@ void advancedDialog::save() m_advancedWidget->tintSlider->value()); extConfig.writeEntry("MenubarPanelTransparent", m_advancedWidget->menubarPanelTransparent->isChecked()); + extConfig.writeEntry("UseResizeHandle", + m_advancedWidget->kickerResizeHandle->isChecked()); + extConfig.writeEntry("ShowDeepButtons", + m_advancedWidget->kickerDeepButtons->isChecked()); extConfig.sync(); } diff --git a/kcontrol/kicker/advancedOptions.ui b/kcontrol/kicker/advancedOptions.ui index b867b6094..5f0866c3b 100644 --- a/kcontrol/kicker/advancedOptions.ui +++ b/kcontrol/kicker/advancedOptions.ui @@ -298,6 +298,41 @@ </widget> </grid> </widget> + <widget class="TQGroupBox"> + <property name="name"> + <cstring>groupBox3</cstring> + </property> + <property name="title"> + <string>Texture</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="TQCheckBox" row="0" column="0" rowspan="0" colspan="2"> + <property name="name"> + <cstring>kickerResizeHandle</cstring> + </property> + <property name="text"> + <string>Show resize handle on panels</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Enabling this option will show a resize handle on the resizable end of each panel.</string> + </property> + </widget> + <widget class="TQCheckBox" row="0" column="2" rowspan="0" colspan="2"> + <property name="name"> + <cstring>kickerDeepButtons</cstring> + </property> + <property name="text"> + <string>Use deep buttons</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Enabling this option will yield more highly textured panels.</string> + </property> + </widget> + </grid> + </widget> </vbox> </widget> <tabstops> |