summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-10-26 14:55:38 (UTC)
committer llornkcor <llornkcor>2002-10-26 14:55:38 (UTC)
commit49f3af452f5011adb3a9042dc001a1d93da3c2ba (patch) (side-by-side diff)
tree3d094974dfea25454f982d1ffa26f74962ca4431
parenta4a1722ba3a2874adef57e0c04093814c0dc4f8f (diff)
downloadopie-49f3af452f5011adb3a9042dc001a1d93da3c2ba.zip
opie-49f3af452f5011adb3a9042dc001a1d93da3c2ba.tar.gz
opie-49f3af452f5011adb3a9042dc001a1d93da3c2ba.tar.bz2
moved large text to context help, so controls fit into window. may need more context help for individual controls
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/mediummount/mainwindow.cc4
-rw-r--r--noncore/settings/mediummount/mainwindow.h2
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc5
3 files changed, 7 insertions, 4 deletions
diff --git a/noncore/settings/mediummount/mainwindow.cc b/noncore/settings/mediummount/mainwindow.cc
index 88f7c61..cf8ad6c 100644
--- a/noncore/settings/mediummount/mainwindow.cc
+++ b/noncore/settings/mediummount/mainwindow.cc
@@ -15,4 +15,4 @@ using namespace MediumMountSetting;
-MainWindow::MainWindow( QWidget *parent, const char *name )
- : QMainWindow( parent, name )
+MainWindow::MainWindow( QWidget *parent, const char *name, WFlags )
+ : QMainWindow( parent, name, WStyle_ContextHelp )
diff --git a/noncore/settings/mediummount/mainwindow.h b/noncore/settings/mediummount/mainwindow.h
index 1e60e12..ce54674 100644
--- a/noncore/settings/mediummount/mainwindow.h
+++ b/noncore/settings/mediummount/mainwindow.h
@@ -17,3 +17,3 @@ namespace MediumMountSetting {
public:
- MainWindow(QWidget *parent = 0, const char *name = 0 );
+ MainWindow(QWidget *parent = 0, const char *name = 0 , WFlags = 0);
~MainWindow();
diff --git a/noncore/settings/mediummount/mediumglobal.cc b/noncore/settings/mediummount/mediumglobal.cc
index 921fcd1..c1ad415 100644
--- a/noncore/settings/mediummount/mediumglobal.cc
+++ b/noncore/settings/mediummount/mediumglobal.cc
@@ -9,2 +9,3 @@
#include <qgroupbox.h>
+#include <qwhatsthis.h>
@@ -33,3 +34,4 @@ void MediumGlobalWidget::initGUI()
m_label->setTextFormat( Qt::RichText );
- m_label->setText( tr("If a medium gets inserted into this device Opie "
+ m_label->setText( tr("") );
+ QWhatsThis::add( this, ("If a medium gets inserted into this device Opie "
"tries to search the medium for Dcouments. On "
@@ -40,2 +42,3 @@ void MediumGlobalWidget::initGUI()
) );
+
m_layout->addWidget( m_label );