summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount/mediumglobal.cc
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 /noncore/settings/mediummount/mediumglobal.cc
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 (limited to 'noncore/settings/mediummount/mediumglobal.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumglobal.cc31
1 files changed, 17 insertions, 14 deletions
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,9 +34,11 @@ void MediumGlobalWidget::initGUI()
m_label->setTextFormat( Qt::RichText );
- m_label->setText( tr("If a medium gets inserted into this device Opie "
- "tries to search the medium for Dcouments. On "
- "large mediums this can take some time. You can choose "
- "if Opie should scan for Documents globally or on a "
- "per medium level. You're also able to reconfigure "
- "each medium."
- ) );
+ m_label->setText( tr("") );
+ QWhatsThis::add( this, ("If a medium gets inserted into this device Opie "
+ "tries to search the medium for Dcouments. On "
+ "large mediums this can take some time. You can choose "
+ "if Opie should scan for Documents globally or on a "
+ "per medium level. You're also able to reconfigure "
+ "each medium."
+ ) );
+
m_layout->addWidget( m_label );
@@ -44,3 +47,3 @@ void MediumGlobalWidget::initGUI()
connect( m_check, SIGNAL(stateChanged(int) ),
- this, SLOT(slotEnableChecking() ) );
+ this, SLOT(slotEnableChecking() ) );
m_layout->addWidget(m_check );
@@ -55,3 +58,3 @@ void MediumGlobalWidget::initGUI()
connect( m_useglobal, SIGNAL( stateChanged(int) ),
- this, SLOT( slotGlobalChanged() ) );
+ this, SLOT( slotGlobalChanged() ) );
@@ -64,4 +67,4 @@ void MediumGlobalWidget::initGUI()
QSpacerItem *item2 = new QSpacerItem( 5, 8,
- QSizePolicy::Fixed,
- QSizePolicy::Fixed );
+ QSizePolicy::Fixed,
+ QSizePolicy::Fixed );
m_audio = new QCheckBox( tr("Audio"), m_global );
@@ -73,3 +76,3 @@ void MediumGlobalWidget::initGUI()
connect(m_all, SIGNAL(stateChanged(int) ),
- this, SLOT(slotAllChanged() ) );
+ this, SLOT(slotAllChanged() ) );
@@ -93,4 +96,4 @@ void MediumGlobalWidget::initGUI()
QSpacerItem *item1 = new QSpacerItem( 1, 24,
- QSizePolicy::Fixed,
- QSizePolicy::Expanding );
+ QSizePolicy::Fixed,
+ QSizePolicy::Expanding );
m_layout->addItem( item1 );