summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-10-26 14:55:38 (UTC)
committer llornkcor <llornkcor>2002-10-26 14:55:38 (UTC)
commit49f3af452f5011adb3a9042dc001a1d93da3c2ba (patch) (unidiff)
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) (ignore 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.cc31
3 files changed, 20 insertions, 17 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;
15 15
16MainWindow::MainWindow( QWidget *parent, const char *name ) 16MainWindow::MainWindow( QWidget *parent, const char *name, WFlags )
17 : QMainWindow( parent, name ) 17 : QMainWindow( parent, name, WStyle_ContextHelp )
18 18
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 {
17 public: 17 public:
18 MainWindow(QWidget *parent = 0, const char *name = 0 ); 18 MainWindow(QWidget *parent = 0, const char *name = 0 , WFlags = 0);
19 ~MainWindow(); 19 ~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 @@
9#include <qgroupbox.h> 9#include <qgroupbox.h>
10#include <qwhatsthis.h>
10 11
@@ -33,9 +34,11 @@ void MediumGlobalWidget::initGUI()
33 m_label->setTextFormat( Qt::RichText ); 34 m_label->setTextFormat( Qt::RichText );
34 m_label->setText( tr("If a medium gets inserted into this device Opie " 35 m_label->setText( tr("") );
35 "tries to search the medium for Dcouments. On " 36 QWhatsThis::add( this, ("If a medium gets inserted into this device Opie "
36 "large mediums this can take some time. You can choose " 37 "tries to search the medium for Dcouments. On "
37 "if Opie should scan for Documents globally or on a " 38 "large mediums this can take some time. You can choose "
38 "per medium level. You're also able to reconfigure " 39 "if Opie should scan for Documents globally or on a "
39 "each medium." 40 "per medium level. You're also able to reconfigure "
40 ) ); 41 "each medium."
42 ) );
43
41 m_layout->addWidget( m_label ); 44 m_layout->addWidget( m_label );
@@ -44,3 +47,3 @@ void MediumGlobalWidget::initGUI()
44 connect( m_check, SIGNAL(stateChanged(int) ), 47 connect( m_check, SIGNAL(stateChanged(int) ),
45 this, SLOT(slotEnableChecking() ) ); 48 this, SLOT(slotEnableChecking() ) );
46 m_layout->addWidget(m_check ); 49 m_layout->addWidget(m_check );
@@ -55,3 +58,3 @@ void MediumGlobalWidget::initGUI()
55 connect( m_useglobal, SIGNAL( stateChanged(int) ), 58 connect( m_useglobal, SIGNAL( stateChanged(int) ),
56 this, SLOT( slotGlobalChanged() ) ); 59 this, SLOT( slotGlobalChanged() ) );
57 60
@@ -64,4 +67,4 @@ void MediumGlobalWidget::initGUI()
64 QSpacerItem *item2 = new QSpacerItem( 5, 8, 67 QSpacerItem *item2 = new QSpacerItem( 5, 8,
65 QSizePolicy::Fixed, 68 QSizePolicy::Fixed,
66 QSizePolicy::Fixed ); 69 QSizePolicy::Fixed );
67 m_audio = new QCheckBox( tr("Audio"), m_global ); 70 m_audio = new QCheckBox( tr("Audio"), m_global );
@@ -73,3 +76,3 @@ void MediumGlobalWidget::initGUI()
73 connect(m_all, SIGNAL(stateChanged(int) ), 76 connect(m_all, SIGNAL(stateChanged(int) ),
74 this, SLOT(slotAllChanged() ) ); 77 this, SLOT(slotAllChanged() ) );
75 78
@@ -93,4 +96,4 @@ void MediumGlobalWidget::initGUI()
93 QSpacerItem *item1 = new QSpacerItem( 1, 24, 96 QSpacerItem *item1 = new QSpacerItem( 1, 24,
94 QSizePolicy::Fixed, 97 QSizePolicy::Fixed,
95 QSizePolicy::Expanding ); 98 QSizePolicy::Expanding );
96 m_layout->addItem( item1 ); 99 m_layout->addItem( item1 );