author | drw <drw> | 2002-11-17 21:36:55 (UTC) |
---|---|---|
committer | drw <drw> | 2002-11-17 21:36:55 (UTC) |
commit | 2f87d2f9155285d853b66bb08e43b275f6284226 (patch) (side-by-side diff) | |
tree | 5f829b21ae5c60e9264d29378349f1c83e521284 /noncore/settings/sysinfo/modulesdetail.cpp | |
parent | d94c9d39ab6e744f848a04c07eac03f20c91987c (diff) | |
download | opie-2f87d2f9155285d853b66bb08e43b275f6284226.zip opie-2f87d2f9155285d853b66bb08e43b275f6284226.tar.gz opie-2f87d2f9155285d853b66bb08e43b275f6284226.tar.bz2 |
Finish What's This and some additional code clean-up
Diffstat (limited to 'noncore/settings/sysinfo/modulesdetail.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sysinfo/modulesdetail.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/noncore/settings/sysinfo/modulesdetail.cpp b/noncore/settings/sysinfo/modulesdetail.cpp index 48d47f6..ea5f352 100644 --- a/noncore/settings/sysinfo/modulesdetail.cpp +++ b/noncore/settings/sysinfo/modulesdetail.cpp @@ -25,5 +25,4 @@ #include <stdio.h> + #include <qcombobox.h> -#include <qpushbutton.h> -#include <qtextview.h> #include <qlayout.h> @@ -31,5 +30,8 @@ #include <qmessagebox.h> +#include <qpushbutton.h> +#include <qtextview.h> +#include <qwhatsthis.h> ModulesDetail::ModulesDetail( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) + : QWidget( parent, name, WStyle_ContextHelp ) { @@ -45,4 +47,4 @@ ModulesDetail::ModulesDetail( QWidget* parent, const char* name, WFlags fl ) // I can't think of other useful commands yet. Anyone? - layout->addWidget( CommandCB, 1, 0 ); + QWhatsThis::add( CommandCB, tr( "Select a command here and then click the Send button to the right to send the command." ) ); @@ -50,2 +52,3 @@ ModulesDetail::ModulesDetail( QWidget* parent, const char* name, WFlags fl ) layout->addMultiCellWidget( ModulesView, 0, 0, 0, 1 ); + QWhatsThis::add( ModulesView, tr( "This area shows detailed information about this module." ) ); @@ -57,2 +60,3 @@ ModulesDetail::ModulesDetail( QWidget* parent, const char* name, WFlags fl ) layout->addWidget( SendButton, 1, 1 ); + QWhatsThis::add( SendButton, tr( "Click here to send the selected command to this module." ) ); } |