From 227e20332882ab403bc8e9115574f2ad567ac121 Mon Sep 17 00:00:00 2001 From: Karol Szwed Date: Sat, 21 Apr 2001 08:59:53 +0000 Subject: [PATCH] Adding WhatsThis help messages to widgets. svn path=/trunk/kdebase/kwin/; revision=93207 --- clients/icewm/config/config.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/clients/icewm/config/config.cpp b/clients/icewm/config/config.cpp index 28d000e7ff..a9e33ac98d 100644 --- a/clients/icewm/config/config.cpp +++ b/clients/icewm/config/config.cpp @@ -9,6 +9,7 @@ #include "config.h" #include #include +#include #include #include #include @@ -38,6 +39,8 @@ IceWMConfig::IceWMConfig( KConfig* conf, QWidget* parent ) { gb1 = new QGroupBox( 1, Qt::Horizontal, i18n("IceWM Theme Selector"), parent ); themeListBox = new QListBox( gb1 ); + QWhatsThis::add( themeListBox, i18n("Make your IceWM selection by clicking on a theme here. ") ); + themeLabel = new QLabel( i18n("To manage your IceWM themes, simply click on the link below to open a Konqueror window. " "Once shown, you will be able to add or remove native IceWM themes, by uncompressing http://icewm.themes.org/ " "theme files into this directory, or creating directory symlinks to existing IceWM themes on your system."), parent ); @@ -46,8 +49,16 @@ IceWMConfig::IceWMConfig( KConfig* conf, QWidget* parent ) gb2 = new QGroupBox( 1, Qt::Horizontal, i18n("IceWM Decoration Settings"), parent ); cbThemeTitleTextColors = new QCheckBox( i18n("Use theme &title text colors"), gb2 ); + QWhatsThis::add( cbThemeTitleTextColors, i18n("When selected, titlebar colors will follow those set in the IceWM theme. " + "If not selected, the current KDE titlebar colors will be used instead.") ); + cbTitleBarOnTop = new QCheckBox( i18n("&Show title bar on top of windows"), gb2 ); + QWhatsThis::add( cbTitleBarOnTop, i18n("When selected, all window titlebars will be shown at the top of each window, " + "otherwise they will be shown at the bottom.") ); + cbShowMenuButtonIcon = new QCheckBox( i18n("&Menu button always shows application mini icon"), gb2 ); + QWhatsThis::add( cbShowMenuButtonIcon, i18n("When selected, all titlebar menu buttons will have the application icon shown. " + "If not selected, the current theme's defaults are used instead.") ); // Load configuration options load( conf );