[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: RE: [patch] for /lib/widgets/ktabzoomframe.cpp
From: "Caleb Tennis" <caleb () aei-tech ! com>
Date: 2002-07-29 14:20:18
[Download RAW message or body]
> On Friday 26 July 2002 21:21, Caleb Tennis wrote:
> > In the IDEAl mode, the close and dock tool buttons in the frame
> do not have
> > the correct background color set. This sets it to the same as the title
> > label. Note that it doesn't work to just do a
> setPaletteBackgroundColor -
> > I'm not exactly sure why but I think it has something to do
> with the fact
> > that they're tool buttons. If someone has a slicker way of
> doing this code
> > I'm all for it. I'd appreciate it if someone would make a comment, or
> > commit.
>
> Thanks a lot, I just commited that patch.
Can you patch again for me? :) I missed getting this to you before you made
the commit.
Basically this also updates the color schemes for disabled and inactive
modes.
Thanks!
Caleb
--- ktabzoomframe_orig.cpp Mon Jul 29 08:58:15 2002
+++ ktabzoomframe.cpp Mon Jul 29 09:05:46 2002
@@ -102,6 +102,13 @@
QColorGroup cg = pal.active();
cg.setColor(QColorGroup::Background,
KGlobalSettings::activeTitleColor());
pal.setActive(cg) ;
+ cg = pal.inactive();
+ cg.setColor(QColorGroup::Background,
KGlobalSettings::activeTitleColor());
+ pal.setInactive(cg) ;
+ cg = pal.disabled();
+ cg.setColor(QColorGroup::Background,
KGlobalSettings::activeTitleColor());
+ pal.setDisabled(cg);
+
d->m_dockButton->setPalette(pal);
hbox->addWidget(d->m_dockButton);
_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic