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