<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">On Friday 05 December 2008 09:23:15 Aaron J. Seigo wrote:<br>
> On Friday 05 December 2008, Jesse L. Zamora wrote:<br>
> > On Wednesday 03 December 2008 22:06:34 Aaron J. Seigo wrote:<br>
> > > On Wednesday 03 December 2008, Guillaume Pothier wrote:<br>
> > > > 2008/12/3 Aaron J. Seigo <aseigo@kde.org>:<br>
> > > > > On Wednesday 03 December 2008, Jesse L. Zamora wrote:<br>
> > > > >> How can I let the toolbox know where the panels are? Are there any<br>
> > > > ><br>
> > > > > if (containment->screen() > -1) {<br>
> > > > > QRegion usableArea =<br>
> > > > > containment->corona()->availableScreenRegion(containment->screen())<br>
> > > > >; }<br>
> > > ><br>
> > > > Oh then it's probably time to properly implement this API :-) (see<br>
> > > > eg. desktopcorona.cpp:106).<br>
> > > > As far as I'm concerned I probably won't be able to do this this<br>
> > > > week, though, so if someone else feels like to do it, please go<br>
> > > > ahead.<br>
> > ><br>
> > > yeah, i can do that easily.<br>
> > ><br>
> > > tomorrow i will work on:<br>
> > ><br>
> > > * implementing availableScreenRegion<br>
> > > * tasks widget, building on chrigi's good work.<br>
> ><br>
> > Yup, thanks alot guys! Today is Friday, is it done yet? Yesterday I had<br>
> > to go to work so I couldn't see my emails.....<br>
><br>
> availableScreenRegion is done, i didn't get much work done on tasks, but<br>
> managed a few commits to libtaskmanager. will be working more on that today<br>
> again.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>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?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Xtreme Kommander</p></body></html>