summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabdialog.cpp
Unidiff
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
@@ -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
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
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
304TabDialog::~TabDialog ( ) 307TabDialog::~TabDialog ( )
305{ 308{
306} 309}