Questions about the toolbox & panels

Jesse L. Zamora xtremek2008 at aim.com
Sat Dec 6 13:35:18 CET 2008


On Friday 05 December 2008 09:23:15 Aaron J. Seigo wrote:
> On Friday 05 December 2008, Jesse L. Zamora wrote:
> > On Wednesday 03 December 2008 22:06:34 Aaron J. Seigo wrote:
> > > On Wednesday 03 December 2008, Guillaume Pothier wrote:
> > > > 2008/12/3 Aaron J. Seigo <aseigo at kde.org>:
> > > > > On Wednesday 03 December 2008, Jesse L. Zamora wrote:
> > > > >> How can I let the toolbox know where the panels are? Are there any
> > > > >
> > > > > if (containment->screen() > -1) {
> > > > > QRegion usableArea =
> > > > > containment->corona()->availableScreenRegion(containment->screen())
> > > > >; }
> > > >
> > > > Oh then it's probably time to properly implement this API :-) (see
> > > > eg. desktopcorona.cpp:106).
> > > > As far as I'm concerned I probably won't be able to do this this
> > > > week, though, so if someone else feels like to do it, please go
> > > > ahead.
> > >
> > > yeah, i can do that easily.
> > >
> > > tomorrow i will work on:
> > >
> > > * implementing availableScreenRegion
> > > * tasks widget, building on chrigi's good work.
> >
> > Yup, thanks alot guys! Today is Friday, is it done yet? Yesterday I had
> > to go to work so I couldn't see my emails.....
>
> availableScreenRegion is done, i didn't get much work done on tasks, but
> managed a few commits to libtaskmanager. will be working more on that today
> again.

Sweet! I like that code, however simple it may be. There is one catch though. 
Right now, it just returns all the available screen rects in the order which 
it reads them. But, I think it should return the main screen area FIRST so 
that the toolbox code can know which one it is. Otherwise, there is no sane 
way to do that. What do you think?

Xtreme Kommander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20081206/2c49e079/attachment.htm 


More information about the Plasma-devel mailing list