[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Changing backgroud/foreground color in KLineEdit/QLineEdit
From:       Björn Sahlström <kbjorn () users ! sourceforge ! net>
Date:       2002-09-15 8:52:54
[Download RAW message or body]

Hi
I used kde-3.0.2 earlier and the I changed the backgroud/foreground color in a 
QLineEdit like this:
setPaletteForegroundColor( QColor( 255, 255, 0 ) );
setPaletteBackgroundColor( QColor( 0, 0, 0 ) );

Since I now use kde/qtcopy CVS HEAD  this doesn't work anymore, the background 
is now always white and foreground always black, regardless of my settings. I 
guess this is caused of some changes in QT ? 
How can I set it now, prefferable in a way that work far both versions ?
-- 
MVH
Björn Sahlström
kbjorn@users.sourceforge.net

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic