Toolbox Brainstorming
Aaron J. Seigo
aseigo at kde.org
Sun Jan 6 20:46:23 CET 2008
On Sunday 06 January 2008, Craig Duquette wrote:
> On Saturday 05 January 2008 16:05:03 Alex Merry wrote:
> > On Saturday 05 January 2008, Craig Duquette wrote:
> > > Yea I liked the fade to nothing patch. The only problem I had was
> > > there was no animation when the toolbox expanded because the
> > > expanded part was invisible. Not sure if it's possible to have it
> > > fade to nothing unexpanded, then when expanded we'd expand
>
> the
>
> > > gradient so it'd still be fade to nothing, but expanded so the user
> > > gets a sense hoving does something. The current toolbox design
>
> fades
>
> > > to nothing on the expanded form, which gives the user a sense
>
> of
>
> > > movement on mouseover, while being somewhat visually
>
> appealing.
>
> > The patch I just posted does exactly that.
> >
> > Alex
>
> Cool! :D
> Attached is a patch to use plasma's theme colors for the toolbox,
> what do you think?
+1
> @Aaron can I get a bigger hint on how to antialias the unexpanded
> toolbox? I see you mentioned the use of setClipping and clip more of
> the toolbox, but I'm not sure how that function works as it takes in a
> QScriptContext and a QScriptEngine (?).
which method were you looking at? anyways, essentially what it's doing is
setting the shape of the item in the DesktopToolbox::shape() method .. the
item is then clipped to that shape (an arc). so one could draw an antialiased
arc line and extend the shape() a few more pixels.
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080106/0436d8e3/attachment.pgp
More information about the Panel-devel
mailing list