diff options
Diffstat (limited to 'kcontrol/taskbar')
-rw-r--r-- | kcontrol/taskbar/kcmtaskbar.cpp | 165 | ||||
-rw-r--r-- | kcontrol/taskbar/kcmtaskbar.h | 5 | ||||
-rw-r--r-- | kcontrol/taskbar/kcmtaskbarui.ui | 1562 |
3 files changed, 1172 insertions, 560 deletions
diff --git a/kcontrol/taskbar/kcmtaskbar.cpp b/kcontrol/taskbar/kcmtaskbar.cpp index 941c8b986..0d6de4f0c 100644 --- a/kcontrol/taskbar/kcmtaskbar.cpp +++ b/kcontrol/taskbar/kcmtaskbar.cpp @@ -24,6 +24,7 @@ #include <tqfile.h> #include <tqlabel.h> #include <tqbuttongroup.h> +#include <tqtabwidget.h> #include <dcopclient.h> @@ -34,7 +35,8 @@ #include <kgenericfactory.h> #include <twin.h> #include <kcolorbutton.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> +#include <kiconloader.h> #define protected public #include "kcmtaskbarui.h" @@ -190,15 +192,15 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_isGlobalConfig = true; } - connect(m_widget->globalConfigReload, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotReloadConfigurationFromGlobals())); - connect(m_widget->globalConfigEdit, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditGlobalConfiguration())); - connect(m_widget->kcfg_UseGlobalSettings, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); - connect(m_widget->kcfg_SortByApp, TQT_SIGNAL(clicked()), this, TQT_SLOT(processLockouts())); + connect(m_widget->globalConfigReload, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotReloadConfigurationFromGlobals())); + connect(m_widget->globalConfigEdit, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditGlobalConfiguration())); + connect(m_widget->kcfg_UseGlobalSettings, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); + connect(m_widget->kcfg_SortByApp, TQ_SIGNAL(clicked()), this, TQ_SLOT(processLockouts())); TQFile configFile(locateLocal("config", m_configFileName)); if (!configFile.exists()) { - TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); + TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, true, true); TDEConfig localConfig(m_configFileName); globalConfig.copyTo(m_configFileName, &localConfig); localConfig.sync(); @@ -218,9 +220,12 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_widget->appearance->insertItem((*it).name()); } + m_widget->appearance->insertItem(i18n("Custom")); - connect(m_widget->appearance, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(appearanceChanged(int))); + connect(m_widget->appearance, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(appearanceChanged(int))); + connect(m_widget->kcfg_DisplayIconsNText, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(displayIconsNTextChanged(int))); addConfig(m_settingsObject, m_widget); setQuickHelp(i18n("<h1>Taskbar</h1> You can configure the taskbar here." @@ -236,9 +241,9 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL m_widget->kcfg_GroupTasks->insertStringList(i18nGroupModeList()); m_widget->kcfg_ShowTaskStates->insertStringList(i18nShowTaskStatesList()); - connect(m_widget->kcfg_GroupTasks, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotUpdateComboBox())); - connect(m_widget->kcfg_UseCustomColors, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotUpdateCustomColors())); + connect(m_widget->kcfg_GroupTasks, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotUpdateComboBox())); + connect(m_widget->kcfg_UseCustomColors, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(slotUpdateCustomColors())); slotUpdateCustomColors(); updateAppearanceCombo(); @@ -247,7 +252,6 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_widget->kcfg_ShowAllWindows->hide(); m_widget->kcfg_SortByDesktop->hide(); - m_widget->spacer2->changeSize(0, 0); } if (!TQApplication::desktop()->isVirtualDesktop() || @@ -259,7 +263,8 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL { m_widget->showAllScreens->show(); } - connect( m_widget->showAllScreens, TQT_SIGNAL( stateChanged( int )), TQT_SLOT( changed())); + connect( m_widget->showAllScreens, TQ_SIGNAL( stateChanged( int )), TQ_SLOT( changed())); + connect( m_widget->smallIcons, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) ); TDEAboutData *about = new TDEAboutData(I18N_NOOP("kcmtaskbar"), I18N_NOOP("TDE Taskbar Control Module"), @@ -274,7 +279,7 @@ TaskbarConfig::TaskbarConfig(TQWidget *parent, const char* name, const TQStringL load(); processLockouts(); - TQTimer::singleShot(0, this, TQT_SLOT(notChanged())); + TQTimer::singleShot(0, this, TQ_SLOT(notChanged())); } TaskbarConfig::~TaskbarConfig() @@ -286,48 +291,49 @@ TaskbarConfig::~TaskbarConfig() } void TaskbarConfig::slotEditGlobalConfiguration() { - TQByteArray data; - kapp->dcopClient()->send("kicker", "kicker", "reshowTaskBarConfig()", data); + TQByteArray data; + tdeApp->dcopClient()->send("kicker", "kicker", "reshowTaskBarConfig()", data); } void TaskbarConfig::processLockouts() { - m_configFileName = GLOBAL_TASKBAR_CONFIG_FILE_NAME; - if (m_isGlobalConfig) - { - m_widget->globalConfigWarning->show(); - m_widget->localConfigWarning->hide(); - m_widget->globalConfigReload->hide(); - m_widget->globalConfigEdit->hide(); - m_widget->kcfg_UseGlobalSettings->hide(); - } - else { - m_widget->globalConfigWarning->hide(); - m_widget->localConfigWarning->show(); - m_widget->kcfg_UseGlobalSettings->show(); - if (m_widget->kcfg_UseGlobalSettings->isChecked()) { - m_widget->taskbarGroup->hide(); - m_widget->actionsGroup->hide(); - m_widget->globalConfigReload->hide(); - m_widget->globalConfigEdit->show(); - } - else { - m_widget->taskbarGroup->show(); - m_widget->actionsGroup->show(); - // FIXME - // Disable this feature until a method can be found to force the TDECModule to reload its settings from disk after the global settings have been copied! - //m_widget->globalConfigReload->show(); - m_widget->globalConfigReload->hide(); - m_widget->globalConfigEdit->hide(); - } - } - - m_widget->kcfg_AllowDragAndDropReArrange->setEnabled(!m_widget->kcfg_SortByApp->isChecked()); + m_configFileName = GLOBAL_TASKBAR_CONFIG_FILE_NAME; + if (m_isGlobalConfig) + { + m_widget->globalConfigWarning->show(); + m_widget->localConfigWarning->hide(); + m_widget->globalConfigReload->hide(); + m_widget->globalConfigEdit->hide(); + m_widget->kcfg_UseGlobalSettings->hide(); + m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::Maximum); + } + else { + m_widget->globalConfigWarning->hide(); + m_widget->localConfigWarning->show(); + m_widget->kcfg_UseGlobalSettings->show(); + if (m_widget->kcfg_UseGlobalSettings->isChecked()) { + m_widget->tabs->hide(); + m_widget->globalConfigReload->hide(); + m_widget->globalConfigEdit->show(); + m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::MinimumExpanding); + } + else { + m_widget->tabs->show(); + // FIXME + // Disable this feature until a method can be found to force the TDECModule to reload its settings from disk after the global settings have been copied! + //m_widget->globalConfigReload->show(); + m_widget->globalConfigReload->hide(); + m_widget->globalConfigEdit->hide(); + m_widget->localLikeGlobalSpacer->changeSize(0, 0, TQSizePolicy::Fixed, TQSizePolicy::Maximum); + } + } + + m_widget->kcfg_AllowDragAndDropReArrange->setEnabled(!m_widget->kcfg_SortByApp->isChecked()); } void TaskbarConfig::slotReloadConfigurationFromGlobals() { - TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, TRUE, TRUE); + TDEConfig globalConfig(GLOBAL_TASKBAR_CONFIG_FILE_NAME, true, true); TDEConfig localConfig(m_configFileName); globalConfig.copyTo(m_configFileName, &localConfig); localConfig.sync(); @@ -384,23 +390,50 @@ void TaskbarConfig::updateAppearanceCombo() if (i < m_appearances.count()) { m_widget->appearance->setCurrentItem(i); + m_widget->customAppearance->setEnabled(false); return; } - if (m_widget->appearance->count() == (int)m_appearances.count()) + m_widget->appearance->setCurrentItem(m_appearances.count()); + m_widget->customAppearance->setEnabled(true); +} + +void TaskbarConfig::updateCustomAppearance() +{ + m_widget->kcfg_DrawButtons ->setChecked(m_settingsObject->drawButtons()); + m_widget->kcfg_HaloText ->setChecked(m_settingsObject->haloText()); + m_widget->kcfg_ShowButtonOnHover->setChecked(m_settingsObject->showButtonOnHover()); +} + +void TaskbarConfig::updateIconsTextCombo() +{ + if (m_widget->kcfg_DisplayIconsNText->currentText() == "Text only") { - m_widget->appearance->insertItem(i18n("Custom")); + m_widget->useIconsFrame->setEnabled(false); + } + else + { + m_widget->useIconsFrame->setEnabled(true); } - - m_widget->appearance->setCurrentItem(m_appearances.count()); } void TaskbarConfig::appearanceChanged(int selected) { - if (selected < (int)m_appearances.count()) + if (selected < m_appearances.count()) + { + m_widget->customAppearance->setEnabled(false); + } + else if(selected == m_appearances.count()) { - unmanagedWidgetChangeState(!m_appearances[selected].matchesSettings()); + m_widget->customAppearance->setEnabled(true); + updateCustomAppearance(); } + unmanagedWidgetChangeState(true); +} + +void TaskbarConfig::displayIconsNTextChanged(int selected) +{ + m_widget->useIconsFrame->setEnabled(selected != 1); // 1 == Text only } void TaskbarConfig::load() @@ -408,23 +441,40 @@ void TaskbarConfig::load() TDECModule::load(); slotUpdateComboBox(); updateAppearanceCombo(); + updateIconsTextCombo(); m_widget->showAllScreens->setChecked(!m_settingsObject->showCurrentScreenOnly()); + + int iconSize = m_settingsObject->iconSize(); + if(tdeApp->iconLoader()->currentSize(TDEIcon::Small) != iconSize) + { + m_widget->smallIcons->setChecked(false); + } } void TaskbarConfig::save() { + TDECModule::save(); + + if(m_widget->smallIcons->isChecked()) + { + m_settingsObject->setIconSize(tdeApp->iconLoader()->currentSize(TDEIcon::Small)); + } + else + { + m_settingsObject->setIconSize(tdeApp->iconLoader()->currentSize(TDEIcon::Panel)); + } + m_settingsObject->setShowCurrentScreenOnly(!m_widget->showAllScreens->isChecked()); int selectedAppearance = m_widget->appearance->currentItem(); if (selectedAppearance < (int)m_appearances.count()) { m_appearances[selectedAppearance].alterSettings(); - m_settingsObject->writeConfig(); } - TDECModule::save(); + m_settingsObject->writeConfig(); TQByteArray data; - kapp->dcopClient()->emitDCOPSignal("kdeTaskBarConfigChanged()", data); + tdeApp->dcopClient()->emitDCOPSignal("kdeTaskBarConfigChanged()", data); } void TaskbarConfig::defaults() @@ -432,6 +482,7 @@ void TaskbarConfig::defaults() TDECModule::defaults(); slotUpdateComboBox(); updateAppearanceCombo(); + updateIconsTextCombo(); } void TaskbarConfig::notChanged() diff --git a/kcontrol/taskbar/kcmtaskbar.h b/kcontrol/taskbar/kcmtaskbar.h index 4d644bd0f..a67386abf 100644 --- a/kcontrol/taskbar/kcmtaskbar.h +++ b/kcontrol/taskbar/kcmtaskbar.h @@ -52,7 +52,7 @@ class TaskbarAppearance class TaskbarConfig : public TDECModule { - Q_OBJECT + TQ_OBJECT public: TaskbarConfig(TQWidget *parent = 0, const char* name = 0, @@ -67,6 +67,7 @@ public slots: protected slots: void slotUpdateComboBox(); void appearanceChanged(int); + void displayIconsNTextChanged(int); void notChanged(); void slotUpdateCustomColors(); @@ -78,6 +79,8 @@ private slots: private: TaskbarAppearance::List m_appearances; void updateAppearanceCombo(); + void updateIconsTextCombo(); + void updateCustomAppearance(); static const TQStringList& actionList(); static TQStringList i18nActionList(); static const TQStringList& groupModeList(); diff --git a/kcontrol/taskbar/kcmtaskbarui.ui b/kcontrol/taskbar/kcmtaskbarui.ui index f5c36e2b2..385991e55 100644 --- a/kcontrol/taskbar/kcmtaskbarui.ui +++ b/kcontrol/taskbar/kcmtaskbarui.ui @@ -8,8 +8,8 @@ <rect> <x>0</x> <y>0</y> - <width>358</width> - <height>351</height> + <width>817</width> + <height>828</height> </rect> </property> <property name="caption"> @@ -22,581 +22,1139 @@ <cstring>unnamed</cstring> </property> <property name="margin"> - <number>0</number> + <number>5</number> </property> - <widget class="TQGroupBox"> - <property name="name"> - <cstring>GroupBox2</cstring> - </property> - <property name="title"> - <string>Settings</string> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>globalConfigWarning</cstring> - </property> - <property name="text"> - <string><b>NOTE: Currently you are editing the global taskbar configuration.</b><br>To change the configuration of a specific taskbar (when using multiple taskbars), use the corresponding Configure Taskbar menu option, located in the taskbar handle popup menu.</string> - </property> - </widget> - <widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>localConfigWarning</cstring> - </property> - <property name="text"> - <string><b>NOTE:</b> Currently you are editing the taskbar configuration for <b>only</b> this taskbar.</string> - </property> - </widget> - <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>kcfg_UseGlobalSettings</cstring> - </property> - <property name="text"> - <string>Use global floating taskbar configuration</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Selecting this option causes the taskbar to use the global taskbar configuration.</string> - </property> - </widget> - <widget class="TQPushButton" row="2" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>globalConfigReload</cstring> - </property> - <property name="text"> - <string>Overwrite current configuration with the current global floating taskbar configuration</string> - </property> - </widget> - <widget class="TQPushButton" row="3" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>globalConfigEdit</cstring> - </property> - <property name="text"> - <string>Edit global floating taskbar configuration</string> - </property> - </widget> - </grid> - </widget> - <widget class="TQButtonGroup"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>taskbarGroup</cstring> + <cstring>layout3</cstring> </property> - <property name="title"> - <string>Taskbar</string> - </property> - <property name="layoutMargin" stdset="0"> - </property> - <property name="layoutSpacing" stdset="0"> - </property> - <grid> + <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="3"> - <property name="name"> - <cstring>kcfg_ShowAllWindows</cstring> - </property> - <property name="text"> - <string>&Show windows from all desktops</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Turning this option off will cause the taskbar to display <b>only</b> the windows on the current desktop. - -By default, this option is selected and all windows are shown.</string> - </property> - </widget> - <widget class="TQCheckBox" row="1" column="1" rowspan="1" colspan="2"> - <property name="name"> - <cstring>kcfg_SortByDesktop</cstring> - </property> - <property name="text"> - <string>Sort windows by desk&top</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Selecting this option causes the taskbar to show windows in order of the desktop they appear on. - -By default this option is selected.</string> - </property> - </widget> - <widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="3"> + <widget class="TQLabel"> <property name="name"> - <cstring>showAllScreens</cstring> + <cstring>localConfigWarning</cstring> </property> <property name="text"> - <string>Show windows from all sc&reens</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Turning this option off will cause the taskbar to display <b>only</b> windows which are on the same Xinerama screen as the taskbar. - -By default, this option is selected and all windows are shown.</string> + <string><b>NOTE:</b> Currently you are editing the taskbar configuration for <b>only</b> this taskbar.</string> </property> </widget> - <widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="3"> + <widget class="TQLabel"> <property name="name"> - <cstring>kcfg_SortByApp</cstring> + <cstring>globalConfigWarning</cstring> </property> <property name="text"> - <string>Sort alphabeticall&y by application name</string> - </property> - <property name="checked"> - <bool>true</bool> + <string><b>NOTE: Currently you are editing the global taskbar configuration.</b><br>To change the configuration of a specific taskbar (when using multiple taskbars), use the corresponding Configure Taskbar menu option, located in the taskbar handle popup menu.</string> </property> </widget> - <widget class="TQCheckBox" row="4" column="1" rowspan="1" colspan="2"> + <widget class="TQCheckBox"> <property name="name"> - <cstring>kcfg_AllowDragAndDropReArrange</cstring> + <cstring>kcfg_UseGlobalSettings</cstring> </property> <property name="text"> - <string>&Allow taskbar items to be rearranged using drag and drop</string> + <string>Use global floating taskbar configuration</string> </property> <property name="checked"> <bool>true</bool> </property> <property name="whatsThis" stdset="0"> - <string>Turning this option on will allow tasks on the taskbar to be manually rearranged using drag and drop.</string> - </property> - </widget> - <widget class="TQCheckBox" row="5" column="0" rowspan="1" colspan="3"> - <property name="name"> - <cstring>kcfg_CycleWheel</cstring> - </property> - <property name="text"> - <string>Cycle through windows with mouse wheel</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - </widget> - <widget class="TQCheckBox" row="6" column="0" rowspan="1" colspan="3"> - <property name="name"> - <cstring>kcfg_ShowOnlyIconified</cstring> - </property> - <property name="text"> - <string>Show o&nly minimized windows</string> - </property> - <property name="whatsThis" stdset="0"> - <string>Select this option if you want the taskbar to display <b>only</b> minimized windows. - -By default, this option is not selected and the taskbar will show all windows.</string> - </property> - </widget> - <widget class="TQCheckBox" row="7" column="0" rowspan="1" colspan="3"> - <property name="name"> - <cstring>kcfg_ShowWindowListBtn</cstring> - </property> - <property name="text"> - <string>Show window list &button</string> - </property> - <property name="checked"> - <bool>true</bool> - </property> - <property name="whatsThis" stdset="0"> - <string>Selecting this option causes the taskbar to display a button that, when clicked, shows a list of all windows in a popup menu.</string> - </property> - </widget> - <widget class="TQLabel" row="8" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>displayIconsNText</cstring> - </property> - <property name="text"> - <string>Dis&play:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_DisplayIconsNText</cstring> - </property> - </widget> - <widget class="TQComboBox" row="8" column="2"> - <property name="name"> - <cstring>kcfg_DisplayIconsNText</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="whatsThis" stdset="0"> - <string>Choose taskbar display mode among <strong>Icons and text</strong>, <strong>Text only</strong> and <strong>Icons only</strong>.</string> - </property> - </widget> - <widget class="TQComboBox" row="9" column="2"> - <property name="name"> - <cstring>kcfg_GroupTasks</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="whatsThis" stdset="0"> - <string>The taskbar can group similar windows into single buttons. When one of these window group buttons are clicked on a menu appears showing all the windows in that group. This can be especially useful with the <em>Show all windows</em> option. - -You can set the taskbar to <strong>Never</strong> group windows, to <strong>Always</strong> group windows or to group windows only <strong>When the Taskbar is Full</strong>. - -By default the taskbar groups windows when it is full.</string> - </property> - </widget> - <widget class="TQLabel" row="9" column="0" rowspan="1" colspan="2"> - <property name="name"> - <cstring>groupTasksLabel</cstring> - </property> - <property name="text"> - <string>&Group similar tasks:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_GroupTasks</cstring> - </property> - </widget> - <widget class="TQComboBox" row="10" column="2"> - <property name="name"> - <cstring>kcfg_ShowTaskStates</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="whatsThis" stdset="0"> - <string>The taskbar can show and/or hide tasks based on their current process state. Select <em>Any</em> to show all tasks regardless of current state.</string> + <string>Selecting this option causes the taskbar to use the global taskbar configuration.</string> </property> </widget> - <widget class="TQLabel" row="10" column="0" rowspan="1" colspan="2"> + <widget class="TQPushButton"> <property name="name"> - <cstring>showTaskStatesLabel</cstring> + <cstring>globalConfigReload</cstring> </property> <property name="text"> - <string>&Show tasks with state:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_ShowTaskStates</cstring> - </property> - </widget> - <widget class="TQComboBox" row="11" column="2"> - <property name="name"> - <cstring>appearance</cstring> + <string>Overwrite current configuration with the current global floating taskbar configuration</string> </property> </widget> - <widget class="TQLabel" row="11" column="0" rowspan="1" colspan="2"> + <widget class="TQPushButton"> <property name="name"> - <cstring>textLabel1</cstring> + <cstring>globalConfigEdit</cstring> </property> <property name="text"> - <string>A&ppearance:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>appearance</cstring> + <string>Edit global floating taskbar configuration</string> </property> </widget> - <widget class="TQCheckBox" row="12" column="0" rowspan="1" colspan="2"> + <spacer> <property name="name"> - <cstring>kcfg_UseCustomColors</cstring> + <cstring>localLikeGlobalSpacer</cstring> </property> - <property name="enabled"> - <bool>true</bool> + <property name="orientation"> + <enum>Vertical</enum> </property> - <property name="text"> - <string>Use &custom colors</string> + <property name="sizeType"> + <enum>Maximum</enum> </property> - <property name="checked"> - <bool>true</bool> + <property name="sizeHint"> + <size> + <width>20</width> + <height>1</height> + </size> </property> - </widget> - <widget class="TQLayoutWidget" row="13" column="0" rowspan="1" colspan="3"> + </spacer> + </vbox> + </widget> + <widget class="TQTabWidget"> + <property name="name"> + <cstring>tabs</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>3</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <widget class="TQWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>&Tasks</string> + </attribute> + <vbox> <property name="name"> - <cstring>layout9</cstring> + <cstring>unnamed</cstring> </property> - <grid> + <widget class="TQButtonGroup"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>grpDisplay</cstring> </property> - <widget class="TQLabel" row="0" column="0"> - <property name="name"> - <cstring>inactiveTaskTextColorLabel</cstring> - </property> - <property name="text"> - <string>Inacti&ve task text color:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_InactiveTaskTextColor</cstring> - </property> - </widget> - <widget class="KColorButton" row="0" column="1"> - <property name="name"> - <cstring>kcfg_InactiveTaskTextColor</cstring> - </property> - <property name="text"> - <string></string> - </property> - </widget> - <spacer row="0" column="2"> - <property name="name"> - <cstring>spacer11</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>191</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="TQLabel" row="0" column="3"> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>4</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Display</string> + </property> + <grid> <property name="name"> - <cstring>activeTaskTextColorLabel</cstring> - </property> - <property name="text"> - <string>Active task te&xt color:</string> + <cstring>unnamed</cstring> </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_ActiveTaskTextColor</cstring> - </property> - </widget> - <widget class="KColorButton" row="0" column="4"> + <widget class="TQCheckBox" row="0" column="0" colspan="4"> + <property name="name"> + <cstring>kcfg_ShowAllWindows</cstring> + </property> + <property name="text"> + <string>&Show windows from all desktops</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Turning this option off will cause the taskbar to display <b>only</b> the windows on the current desktop. By default, this option is selected and all windows are shown.</string> + </property> + </widget> + <spacer row="1" column="0"> + <property name="name"> + <cstring>spacer2_2_3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQCheckBox" row="1" column="1" colspan="3"> + <property name="name"> + <cstring>kcfg_SortByDesktop</cstring> + </property> + <property name="text"> + <string>Sort windows by desk&top</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Selecting this option causes the taskbar to show windows in order of the desktop they appear on. By default this option is selected.</string> + </property> + </widget> + <widget class="TQCheckBox" row="2" column="0" colspan="4"> + <property name="name"> + <cstring>showAllScreens</cstring> + </property> + <property name="text"> + <string>Show windows from all sc&reens</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Turning this option off will cause the taskbar to display <b>only</b> windows which are on the same Xinerama screen as the taskbar. By default, this option is selected and all windows are shown.</string> + </property> + </widget> + <widget class="TQCheckBox" row="3" column="0" colspan="4"> + <property name="name"> + <cstring>kcfg_ShowOnlyIconified</cstring> + </property> + <property name="text"> + <string>Show o&nly minimized windows</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Select this option if you want the taskbar to display <b>only</b> minimized windows. By default, this option is not selected and the taskbar will show all windows.</string> + </property> + </widget> + <widget class="KSeparator" row="4" column="0" colspan="4"> + <property name="name"> + <cstring>kSeparator5</cstring> + </property> + </widget> + <widget class="TQLabel" row="5" column="0" rowspan="2" colspan="2"> + <property name="name"> + <cstring>showTaskStatesLabel</cstring> + </property> + <property name="minimumSize"> + <size> + <width>250</width> + <height>0</height> + </size> + </property> + <property name="text"> + <string>&Show tasks with state:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_ShowTaskStates</cstring> + </property> + </widget> + <widget class="TQComboBox" row="5" column="2" rowspan="2"> + <property name="name"> + <cstring>kcfg_ShowTaskStates</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>250</width> + <height>0</height> + </size> + </property> + <property name="whatsThis" stdset="0"> + <string>The taskbar can show and/or hide tasks based on their current process state. Select <em>Any</em> to show all tasks regardless of current state.</string> + </property> + </widget> + <spacer row="6" column="3"> + <property name="name"> + <cstring>spacer23</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>31</width> + <height>20</height> + </size> + </property> + </spacer> + </grid> + </widget> + <widget class="TQButtonGroup"> + <property name="name"> + <cstring>grpSortGroup</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>4</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Sorting and grouping</string> + </property> + <grid> <property name="name"> - <cstring>kcfg_ActiveTaskTextColor</cstring> - </property> - <property name="text"> - <string></string> + <cstring>unnamed</cstring> </property> - </widget> - <spacer row="0" column="5"> + <spacer row="1" column="0"> + <property name="name"> + <cstring>spacer2_2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQCheckBox" row="1" column="1" colspan="3"> + <property name="name"> + <cstring>kcfg_AllowDragAndDropReArrange</cstring> + </property> + <property name="text"> + <string>&Allow taskbar items to be rearranged using drag and drop</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Turning this option on will allow tasks on the taskbar to be manually rearranged using drag and drop.</string> + </property> + </widget> + <widget class="TQCheckBox" row="0" column="0" colspan="4"> + <property name="name"> + <cstring>kcfg_SortByApp</cstring> + </property> + <property name="text"> + <string>Sort alphabeticall&y by application name</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="KSeparator" row="3" column="0" colspan="4"> + <property name="name"> + <cstring>kSeparator6</cstring> + </property> + </widget> + <widget class="TQLabel" row="4" column="0" colspan="2"> + <property name="name"> + <cstring>groupTasksLabel</cstring> + </property> + <property name="minimumSize"> + <size> + <width>250</width> + <height>0</height> + </size> + </property> + <property name="text"> + <string>&Group similar tasks:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_GroupTasks</cstring> + </property> + </widget> + <widget class="TQComboBox" row="4" column="2"> + <property name="name"> + <cstring>kcfg_GroupTasks</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>300</width> + <height>0</height> + </size> + </property> + <property name="whatsThis" stdset="0"> + <string>The taskbar can group similar windows into single buttons. When one of these window group buttons are clicked on a menu appears showing all the windows in that group. This can be especially useful with the <em>Show all windows</em> option. You can set the taskbar to <strong>Never</strong> group windows, to <strong>Always</strong> group windows or to group windows only <strong>When the Taskbar is Full</strong>. By default the taskbar groups windows when it is full.</string> + </property> + </widget> + <spacer row="4" column="3"> + <property name="name"> + <cstring>spacer23_2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>31</width> + <height>20</height> + </size> + </property> + </spacer> + </grid> + </widget> + <spacer> + <property name="name"> + <cstring>spacer16</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Minimum</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </vbox> + </widget> + <widget class="TQWidget"> + <property name="name"> + <cstring>TabPage</cstring> + </property> + <attribute name="title"> + <string>&Appearance</string> + </attribute> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer row="2" column="1"> + <property name="name"> + <cstring>spacer21</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Minimum</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQButtonGroup" row="0" column="1"> + <property name="name"> + <cstring>grpTaskbarColors</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>3</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Colors</string> + </property> + <grid> <property name="name"> - <cstring>spacer11_2</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> + <cstring>unnamed</cstring> </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>191</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="TQLabel" row="0" column="6"> + <spacer row="2" column="0"> + <property name="name"> + <cstring>spacer2_2_2</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQCheckBox" row="1" column="0" colspan="3"> + <property name="name"> + <cstring>kcfg_UseCustomColors</cstring> + </property> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="text"> + <string>Use &custom colors</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="TQLayoutWidget" row="2" column="1" colspan="2"> + <property name="name"> + <cstring>layout19</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="TQLabel" row="1" column="0"> + <property name="name"> + <cstring>activeTaskTextColorLabel</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Active task te&xt color:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_ActiveTaskTextColor</cstring> + </property> + </widget> + <widget class="TQLabel" row="2" column="0"> + <property name="name"> + <cstring>taskBackgroundColorLabel</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>&Background color:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_TaskBackgroundColor</cstring> + </property> + </widget> + <widget class="KColorButton" row="0" column="1"> + <property name="name"> + <cstring>kcfg_InactiveTaskTextColor</cstring> + </property> + </widget> + <widget class="KColorButton" row="1" column="1"> + <property name="name"> + <cstring>kcfg_ActiveTaskTextColor</cstring> + </property> + </widget> + <widget class="KColorButton" row="2" column="1"> + <property name="name"> + <cstring>kcfg_TaskBackgroundColor</cstring> + </property> + </widget> + <widget class="TQLabel" row="0" column="0"> + <property name="name"> + <cstring>inactiveTaskTextColorLabel</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Inacti&ve task text color:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_InactiveTaskTextColor</cstring> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="TQButtonGroup" row="1" column="1"> + <property name="name"> + <cstring>grpAppearanceMisc</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Miscellaneous</string> + </property> + <grid> <property name="name"> - <cstring>taskBackgroundColorLabel</cstring> - </property> - <property name="text"> - <string>&Background color:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_TaskBackgroundColor</cstring> + <cstring>unnamed</cstring> </property> - </widget> - <widget class="KColorButton" row="0" column="7"> + <widget class="TQCheckBox" row="0" column="0" colspan="2"> + <property name="name"> + <cstring>kcfg_ShowWindowListBtn</cstring> + </property> + <property name="text"> + <string>Show window list &button</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="whatsThis" stdset="0"> + <string>Selecting this option causes the taskbar to display a button that, when clicked, shows a list of all windows in a popup menu.</string> + </property> + </widget> + <widget class="KSeparator" row="1" column="0" colspan="2"> + <property name="name"> + <cstring>kSeparator7</cstring> + </property> + </widget> + <widget class="TQLabel" row="2" column="0"> + <property name="name"> + <cstring>maxButtonWidthLabel</cstring> + </property> + <property name="text"> + <string>Max width for buttons:</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This option allows to set the maximum width for taskbar buttons.</string> + </property> + </widget> + <widget class="TQSpinBox" row="2" column="1"> + <property name="name"> + <cstring>kcfg_MaximumButtonWidth</cstring> + </property> + <property name="suffix"> + <string> px</string> + </property> + <property name="maxValue"> + <number>500</number> + </property> + <property name="minValue"> + <number>10</number> + </property> + <property name="value"> + <number>200</number> + </property> + </widget> + </grid> + </widget> + <widget class="TQButtonGroup" row="1" column="0"> + <property name="name"> + <cstring>grpIconsNText</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Icons</string> + </property> + <grid> <property name="name"> - <cstring>kcfg_TaskBackgroundColor</cstring> + <cstring>unnamed</cstring> </property> - <property name="text"> - <string></string> - </property> - </widget> - <spacer row="0" column="8"> + <widget class="TQLabel" row="0" column="0"> + <property name="name"> + <cstring>displayIconsNTextLabel</cstring> + </property> + <property name="text"> + <string>Dis&play:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_DisplayIconsNText</cstring> + </property> + <property name="minimumSize"> + <size> + <width>130</width> + <height>0</height> + </size> + </property> + </widget> + <spacer row="0" column="1"> + <property name="name"> + <cstring>spacer2_2_2_3_3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQComboBox" row="0" column="2" colspan="2"> + <property name="name"> + <cstring>kcfg_DisplayIconsNText</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="whatsThis" stdset="0"> + <string>Choose taskbar display mode among <strong>Icons and text</strong>, <strong>Text only</strong> and <strong>Icons only</strong>.</string> + </property> + </widget> + <widget class="TQFrame" row="1" column="0" colspan="4"> + <property name="name"> + <cstring>useIconsFrame</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <grid> + <widget class="TQCheckBox" row="0" column="0" colspan="3"> + <property name="name"> + <cstring>smallIcons</cstring> + </property> + <property name="text"> + <string>Small icons</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Selecting this option makes the taskbar use small icons.</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="TQCheckBox" row="1" column="0" colspan="3"> + <property name="name"> + <cstring>kcfg_ShowThumbnails</cstring> + </property> + <property name="text"> + <string>Show thumbnails on hover</string> + </property> + </widget> + <spacer row="2" column="0"> + <property name="name"> + <cstring>spacer2_2_2_3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQLabel" row="2" column="1"> + <property name="name"> + <cstring>thumbMaxDimensionLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Maximum dimension:</string> + </property> + </widget> + <widget class="TQSpinBox" row="2" column="2"> + <property name="name"> + <cstring>kcfg_ThumbnailMaxDimension</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> px</string> + </property> + <property name="maxValue"> + <number>500</number> + </property> + <property name="minValue"> + <number>50</number> + </property> + <property name="value"> + <number>100</number> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="TQButtonGroup" row="0" column="0"> + <property name="name"> + <cstring>grpTaskbarStyle</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>4</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Button style</string> + </property> + <grid> <property name="name"> - <cstring>spacer12</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>191</width> - <height>20</height> - </size> + <cstring>unnamed</cstring> </property> - </spacer> - </grid> - </widget> - <spacer row="1" column="0"> - <property name="name"> - <cstring>spacer2</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Fixed</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> - </grid> - </widget> - <widget class="TQGroupBox"> - <property name="name"> - <cstring>actionsGroup</cstring> - </property> - <property name="title"> - <string>Actions</string> - </property> - <grid> + <widget class="TQLabel" row="0" column="0"> + <property name="name"> + <cstring>textLabel1</cstring> + </property> + <property name="text"> + <string>Taskbar style:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>appearance</cstring> + </property> + <property name="minimumSize"> + <size> + <width>130</width> + <height>0</height> + </size> + </property> + </widget> + <spacer row="0" column="1"> + <property name="name"> + <cstring>spacer2_2_2_3_3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQComboBox" row="0" column="2" colspan="2"> + <property name="name"> + <cstring>appearance</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="TQFrame" row="1" column="0" colspan="4"> + <property name="name"> + <cstring>customAppearance</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="frameShape"> + <enum>StyledPanel</enum> + </property> + <property name="frameShadow"> + <enum>Raised</enum> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="TQCheckBox" row="0" column="0" colspan="3"> + <property name="name"> + <cstring>kcfg_DrawButtons</cstring> + </property> + <property name="text"> + <string>Always draw items as buttons</string> + </property> + </widget> + <spacer row="1" column="0"> + <property name="name"> + <cstring>spacer2_2_2_3_3</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="TQCheckBox" row="1" column="1" colspan="2"> + <property name="name"> + <cstring>kcfg_ShowButtonOnHover</cstring> + </property> + <property name="text"> + <string>Draw items as buttons on hover</string> + </property> + </widget> + <widget class="TQCheckBox" row="2" column="0" colspan="3"> + <property name="name"> + <cstring>kcfg_HaloText</cstring> + </property> + <property name="text"> + <string>Draw halo around text</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </grid> + </widget> + </grid> + </widget> + </grid> + </widget> + <widget class="TQWidget"> <property name="name"> - <cstring>unnamed</cstring> + <cstring>tab</cstring> </property> - <widget class="TQLabel" row="0" column="0"> - <property name="name"> - <cstring>leftButtonLabel</cstring> - </property> - <property name="text"> - <string>&Left button:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_LeftButtonAction</cstring> - </property> - </widget> - <widget class="TQLabel" row="1" column="0"> - <property name="name"> - <cstring>middleButtonLabel</cstring> - </property> - <property name="text"> - <string>&Middle button:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_MiddleButtonAction</cstring> - </property> - </widget> - <widget class="TQLabel" row="2" column="0"> - <property name="name"> - <cstring>rightButtonLabel</cstring> - </property> - <property name="text"> - <string>Right b&utton:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>kcfg_RightButtonAction</cstring> - </property> - </widget> - <widget class="TQComboBox" row="0" column="1"> - <property name="name"> - <cstring>kcfg_LeftButtonAction</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - <widget class="TQComboBox" row="1" column="1"> - <property name="name"> - <cstring>kcfg_MiddleButtonAction</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - <widget class="TQComboBox" row="2" column="1"> + <attribute name="title"> + <string>A&ctions</string> + </attribute> + <vbox> <property name="name"> - <cstring>kcfg_RightButtonAction</cstring> - </property> - <property name="sizePolicy"> - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>0</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <cstring>unnamed</cstring> </property> - </widget> - </grid> + <widget class="TQGroupBox"> + <property name="name"> + <cstring>actionsGroup</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>1</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Mouse Actions</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="TQLabel" row="0" column="0"> + <property name="name"> + <cstring>leftButtonLabel</cstring> + </property> + <property name="text"> + <string>&Left button:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_LeftButtonAction</cstring> + </property> + </widget> + <widget class="TQComboBox" row="0" column="1"> + <property name="name"> + <cstring>kcfg_LeftButtonAction</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="TQLabel" row="1" column="0"> + <property name="name"> + <cstring>middleButtonLabel</cstring> + </property> + <property name="text"> + <string>&Middle button:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_MiddleButtonAction</cstring> + </property> + </widget> + <widget class="TQComboBox" row="1" column="1"> + <property name="name"> + <cstring>kcfg_MiddleButtonAction</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="TQComboBox" row="2" column="1"> + <property name="name"> + <cstring>kcfg_RightButtonAction</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + <widget class="TQLabel" row="2" column="0"> + <property name="name"> + <cstring>rightButtonLabel</cstring> + </property> + <property name="text"> + <string>Right b&utton:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>kcfg_RightButtonAction</cstring> + </property> + </widget> + <widget class="TQCheckBox" row="4" column="0" colspan="2"> + <property name="name"> + <cstring>kcfg_CycleWheel</cstring> + </property> + <property name="text"> + <string>Cycle through windows with mouse wheel</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <spacer row="3" column="0"> + <property name="name"> + <cstring>spacer11</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>21</height> + </size> + </property> + </spacer> + </grid> + </widget> + <spacer> + <property name="name"> + <cstring>spacer35</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Minimum</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + </vbox> + </widget> </widget> - <spacer> - <property name="name"> - <cstring>Spacer1</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>20</width> - <height>20</height> - </size> - </property> - </spacer> </vbox> </widget> +<customwidgets> +</customwidgets> <connections> <connection> + <sender>kcfg_ShowThumbnails</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_ThumbnailMaxDimension</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_UseCustomColors</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_InactiveTaskTextColor</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_UseCustomColors</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_ActiveTaskTextColor</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_UseCustomColors</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_TaskBackgroundColor</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_ShowThumbnails</sender> + <signal>toggled(bool)</signal> + <receiver>thumbMaxDimensionLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_SortByApp</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_AllowDragAndDropReArrange</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_DrawButtons</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_ShowButtonOnHover</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> + <sender>kcfg_HaloText</sender> + <signal>toggled(bool)</signal> + <receiver>kcfg_ShowButtonOnHover</receiver> + <slot>setDisabled(bool)</slot> + </connection> + <connection> <sender>kcfg_ShowAllWindows</sender> <signal>toggled(bool)</signal> <receiver>kcfg_SortByDesktop</receiver> <slot>setEnabled(bool)</slot> </connection> </connections> -<tabstops> - <tabstop>kcfg_ShowAllWindows</tabstop> - <tabstop>kcfg_SortByDesktop</tabstop> - <tabstop>showAllScreens</tabstop> - <tabstop>kcfg_SortByApp</tabstop> - <tabstop>kcfg_AllowDragAndDropReArrange</tabstop> - <tabstop>kcfg_CycleWheel</tabstop> - <tabstop>kcfg_ShowOnlyIconified</tabstop> - <tabstop>kcfg_ShowWindowListBtn</tabstop> - <tabstop>kcfg_DisplayIconsNText</tabstop> - <tabstop>kcfg_GroupTasks</tabstop> - <tabstop>kcfg_ShowTaskStates</tabstop> - <tabstop>appearance</tabstop> - <tabstop>kcfg_UseCustomColors</tabstop> - <tabstop>kcfg_InactiveTaskTextColor</tabstop> - <tabstop>kcfg_ActiveTaskTextColor</tabstop> - <tabstop>kcfg_TaskBackgroundColor</tabstop> - <tabstop>kcfg_LeftButtonAction</tabstop> - <tabstop>kcfg_MiddleButtonAction</tabstop> - <tabstop>kcfg_RightButtonAction</tabstop> -</tabstops> <includes> <include location="global" impldecl="in implementation">kcolorbutton.h</include> <include location="global" impldecl="in implementation">kdialog.h</include> + <include location="global" impldecl="in implementation">kseparator.h</include> + <include location="global" impldecl="in implementation">tdefontcombo.h</include> + <include location="global" impldecl="in implementation">klineedit.h</include> + <include location="global" impldecl="in implementation">tdefontrequester.h</include> + <include location="global" impldecl="in implementation">tqtabwidget.h</include> </includes> <layoutdefaults spacing="3" margin="6"/> <layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> |