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

List:       kde-devel
Subject:    Re: Finding 'Window Background' Color
From:       "Troy Corbin Jr." <tcorbin () users ! sourceforge ! net>
Date:       2002-09-14 17:41:17
[Download RAW message or body]

On Saturday 14 September 2002 10:26 pm, Kevin Krammer wrote:
> On Saturday, 14. September 2002 19:06, Troy Corbin Jr. wrote:
> > On Saturday 14 September 2002 07:39 pm, Waldo Bastian wrote:
> > > On Saturday 14 September 2002 05:22 am, Troy Corbin Jr. wrote:
> > > > Hello all,  :-)
> > > >
> > > > I'm writing a new widget, and I'd like for it to honor the user's
> > > > Color choices, but I can't seem to find anything that provides me
> > > > with the 'Window Background' color.
> > >
> > > See kdelibs/kdecore/DESIGN.COLOR and e.g. QWidget::colorGroup()
> >
> > So the only way to access the user's setting for this color is for me
> > to read the global config file myself? I don't understand why many
> > colors are accessable through KGlobalSettings while this one is not.
>
> I guess Waldo is saying that the QColorGroup returned by
> QWidget::colorGroup() does already contain the appropriate color.
>
> Only a guess though.

This was the missing link. ;-) Guess I couldn't see the forrest for the trees.

Thank you Kevin & Waldo. :-)

-- 
Troy Corbin Jr.
tcorbin@users.sf.net
http://knights.sf.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