summaryrefslogtreecommitdiffstats
path: root/kcontrol/kicker/advancedDialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-04 08:18:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-04 08:18:22 +0000
commit80035308b1907d75e7e09be7c8f6e14098edd533 (patch)
treed089bef7060df95dd21096b3e3f699036e617f02 /kcontrol/kicker/advancedDialog.cpp
parente98e745f1a8b79a0444e6a4d60b0cb5c1b1f1ce0 (diff)
downloadtdebase-80035308b1907d75e7e09be7c8f6e14098edd533.tar.gz
tdebase-80035308b1907d75e7e09be7c8f6e14098edd533.zip
Add initial support for Kicker "Deep Buttons", a more highly textured style than the normal "flat" Kicker GUI
Add preliminary GUI and configuration structures needed for hot-resizing panels git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1244835 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kicker/advancedDialog.cpp')
-rw-r--r--kcontrol/kicker/advancedDialog.cpp17
1 files changed, 17 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();
}