summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabdialog.cpp
authorsandman <sandman>2002-10-08 01:21:52 (UTC)
committer sandman <sandman>2002-10-08 01:21:52 (UTC)
commitc43b5d600a7d1dcaadcba2cb047a60313b37f2f2 (patch) (unidiff)
treedbe1311d34631e7d933aa10b2d6a9dc8f97206ab /core/settings/launcher/tabdialog.cpp
parent5e450f24ca13923535754b33a1d1645709a8259d (diff)
downloadopie-c43b5d600a7d1dcaadcba2cb047a60313b37f2f2.zip
opie-c43b5d600a7d1dcaadcba2cb047a60313b37f2f2.tar.gz
opie-c43b5d600a7d1dcaadcba2cb047a60313b37f2f2.tar.bz2
- added an "All Tabs" tab entry, which will affect all tabs
- enabled "What's this" help mode -- many tooltips still missing
Diffstat (limited to 'core/settings/launcher/tabdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/settings/launcher/tabdialog.cpp b/core/settings/launcher/tabdialog.cpp
index 6288f5f..a90ba7d 100644
--- a/core/settings/launcher/tabdialog.cpp
+++ b/core/settings/launcher/tabdialog.cpp
@@ -38,6 +38,7 @@
38#include <qradiobutton.h> 38#include <qradiobutton.h>
39#include <qbuttongroup.h> 39#include <qbuttongroup.h>
40#include <qpushbutton.h> 40#include <qpushbutton.h>
41#include <qwhatsthis.h>
41 42
42#include <opie/ofontselector.h> 43#include <opie/ofontselector.h>
43#include <opie/otabwidget.h> 44#include <opie/otabwidget.h>
@@ -262,7 +263,7 @@ private:
262 263
263 264
264TabDialog::TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &tc, QWidget *parent, const char *name, bool modal, WFlags fl ) 265TabDialog::TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &tc, QWidget *parent, const char *name, bool modal, WFlags fl )
265 : QDialog ( parent, name, modal, fl ), m_tc ( tc ) 266 : QDialog ( parent, name, modal, fl | WStyle_ContextHelp ), m_tc ( tc )
266{ 267{
267 setCaption ( tr( "Edit Tab" )); 268 setCaption ( tr( "Edit Tab" ));
268 269
@@ -298,6 +299,8 @@ TabDialog::TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig
298 bgTypeClicked ( tc. m_bg_type ); 299 bgTypeClicked ( tc. m_bg_type );
299 m_fontselect-> setSelectedFont ( QFont ( tc. m_font_family, tc. m_font_size, tc. m_font_weight, tc. m_font_italic )); 300 m_fontselect-> setSelectedFont ( QFont ( tc. m_font_family, tc. m_font_size, tc. m_font_weight, tc. m_font_italic ));
300 fontClicked ( m_fontselect-> selectedFont ( )); 301 fontClicked ( m_fontselect-> selectedFont ( ));
302
303 QWhatsThis::add ( sample, tr( "This is a rough preview of what the currently selected Tab will look like." ));
301} 304}
302 305
303 306