summaryrefslogtreecommitdiff
path: root/core/launcher/inputmethods.cpp
authorsandman <sandman>2002-06-21 00:30:56 (UTC)
committer sandman <sandman>2002-06-21 00:30:56 (UTC)
commitb5951d300371cbe78fa94163aa882419e3d08d4b (patch) (side-by-side diff)
treecc52dbcba8666a86f38585b6e5032c31324e60bf /core/launcher/inputmethods.cpp
parent56649b4725b2e98d786d06f83d4b3281ea1090fb (diff)
downloadopie-b5951d300371cbe78fa94163aa882419e3d08d4b.zip
opie-b5951d300371cbe78fa94163aa882419e3d08d4b.tar.gz
opie-b5951d300371cbe78fa94163aa882419e3d08d4b.tar.bz2
Fix for background drawing to make taskbar look nice with liquid style
Diffstat (limited to 'core/launcher/inputmethods.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/inputmethods.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/inputmethods.cpp b/core/launcher/inputmethods.cpp
index da98e07..ac72b02 100644
--- a/core/launcher/inputmethods.cpp
+++ b/core/launcher/inputmethods.cpp
@@ -65,24 +65,26 @@ static const char * tri_xpm[]={
"........."};
static const int inputWidgetStyle = QWidget::WStyle_Customize |
QWidget::WStyle_Tool |
QWidget::WStyle_StaysOnTop |
QWidget::WGroupLeader;
InputMethods::InputMethods( QWidget *parent ) :
QWidget( parent, "InputMethods", WStyle_Tool | WStyle_Customize )
{
method = NULL;
+ setBackgroundMode ( PaletteBackground );
+
QHBoxLayout *hbox = new QHBoxLayout( this );
kbdButton = new QToolButton( this );
kbdButton->setFocusPolicy(NoFocus);
kbdButton->setToggleButton( TRUE );
kbdButton->setFixedHeight( 17 );
kbdButton->setFixedWidth( 32 );
kbdButton->setAutoRaise( TRUE );
kbdButton->setUsesBigPixmap( TRUE );
hbox->addWidget( kbdButton );
connect( kbdButton, SIGNAL(toggled(bool)), this, SLOT(showKbd(bool)) );