[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kmail
From: Torgny Nyblom <kde () nyblom ! org>
Date: 2009-03-20 21:12:48
Message-ID: 1237583568.457641.31675.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 942027 by tnyblom:
Forward port fix for bug 186401
BUG 186401
Make the InfoLabel be able to be bigger then the parent widget.
M +2 -2 accountwizard.cpp
--- trunk/KDE/kdepim/kmail/accountwizard.cpp #942026:942027
@@ -420,11 +420,11 @@
QLabel *AccountWizard::createInfoLabel( const QString &msg )
{
- QLabel *label = new QLabel( msg, this );
+ QLabel *label = new QLabel( msg, this, Qt::Window | Qt::FramelessWindowHint );
label->setFrameStyle( QFrame::Panel | QFrame::Raised );
label->setLineWidth( 3 );
label->resize( fontMetrics().width( msg ) + 20, label->height() * 2 );
- label->move( width() / 2 - label->width() / 2, height() / 2 - label->height() / 2 );
+ label->move( x() + width() / 2 - label->width() / 2, y() + height() / 2 - label->height() / 2 );
label->setAutoFillBackground( true );
label->show();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic