author | sandman <sandman> | 2002-10-08 01:21:52 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-08 01:21:52 (UTC) |
commit | c43b5d600a7d1dcaadcba2cb047a60313b37f2f2 (patch) (unidiff) | |
tree | dbe1311d34631e7d933aa10b2d6a9dc8f97206ab /core/settings/launcher/tabdialog.cpp | |
parent | 5e450f24ca13923535754b33a1d1645709a8259d (diff) | |
download | opie-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.cpp | 5 |
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 | |||
@@ -35,12 +35,13 @@ | |||
35 | #include <qiconview.h> | 35 | #include <qiconview.h> |
36 | #include <qapplication.h> | 36 | #include <qapplication.h> |
37 | #include <qlabel.h> | 37 | #include <qlabel.h> |
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> |
44 | #include <opie/ocolorbutton.h> | 45 | #include <opie/ocolorbutton.h> |
45 | #include <opie/ofiledialog.h> | 46 | #include <opie/ofiledialog.h> |
46 | 47 | ||
@@ -259,13 +260,13 @@ private: | |||
259 | TabConfig::BackgroundType m_bgtype; | 260 | TabConfig::BackgroundType m_bgtype; |
260 | }; | 261 | }; |
261 | 262 | ||
262 | 263 | ||
263 | 264 | ||
264 | TabDialog::TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig &tc, QWidget *parent, const char *name, bool modal, WFlags fl ) | 265 | TabDialog::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 | ||
269 | QVBoxLayout *lay = new QVBoxLayout ( this, 4, 4 ); | 270 | QVBoxLayout *lay = new QVBoxLayout ( this, 4, 4 ); |
270 | 271 | ||
271 | OTabWidget *tw = new OTabWidget ( this, "tabwidget", OTabWidget::Global, OTabWidget::Bottom ); | 272 | OTabWidget *tw = new OTabWidget ( this, "tabwidget", OTabWidget::Global, OTabWidget::Bottom ); |
@@ -295,12 +296,14 @@ TabDialog::TabDialog ( const QPixmap *tabicon, const QString &tabname, TabConfig | |||
295 | m_bgtype-> setButton ( tc. m_bg_type ); | 296 | m_bgtype-> setButton ( tc. m_bg_type ); |
296 | m_solidcolor-> setColor ( QColor ( tc. m_bg_color )); | 297 | m_solidcolor-> setColor ( QColor ( tc. m_bg_color )); |
297 | m_bgimage = tc. m_bg_image; | 298 | m_bgimage = tc. m_bg_image; |
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 | ||
304 | TabDialog::~TabDialog ( ) | 307 | TabDialog::~TabDialog ( ) |
305 | { | 308 | { |
306 | } | 309 | } |