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

List:       kde-devel
Subject:    Re: Another Qt Designer Question
From:       Martijn Klingens <mklingens () yahoo ! com>
Date:       2001-03-21 23:04:32
[Download RAW message or body]

On Wednesday 21 March 2001 23:54, Matthias Elter wrote:
> On Wednesday 21 March 2001 20:14, Martijn Klingens wrote:
> > Hi,
> >
> > I want to show quite a number of lines of text in a window. I want to use
> > a _READ ONLY_ QMultiLineEdit for that, because that gives me a scrollbar
> > when the number of lines increases. But with the Qt designer I can't set
> > the widget's background color to the window's background color. I can
> > select a color that happens to be the window background on my system, but
> > that will break for everyone who has a different style.
> >
> > Keeping the multi line edit white is no option here, since it's read
> > only. I would like it to look like a label or so, but with scroll bars.
> >
> > Is there a way to achieve this?
>
> setBackgroundMode( PaletteBackground );

But not from the designer?

Martijn
 
>> Visit http://master.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