Hi Rafael, nice work, this new widget is great ;). I was testing it on a "not default color" desktop and I got this:<br><br>Unexpected behaviour:<br><a href="http://img128.imageshack.us/img128/5259/unexpectedes9.jpg">http://img128.imageshack.us/img128/5259/unexpectedes9.jpg</a><br>
<br>Simply adding this line:<br>  p->setPen(Qt::black);<br>in the 293 line of kcapacitybar.cpp (in KCapacityBar::drawCapacityBar) and seems that the issue is solved:<br><a href="http://img128.imageshack.us/img128/1829/expected1mh2.jpg">http://img128.imageshack.us/img128/1829/expected1mh2.jpg</a><br>
<br>I know that this solution is very ( very :) ) simple, but I wonder if you can add this kind of behaviour to kcapacitybar, maybe you can use some of KStatefulBrush (in <KColorScheme>) to manage this issue.<br><br>
Best regards,<br>Percy<br><br><br><div><span class="gmail_quote">On 8/3/08, <b class="gmail_sendername">Rafael Fernández López</b> <<a href="mailto:ereslibre@kde.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ereslibre@kde.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi there,<br> <br> While still working on it (I am pretty busy nowadays with real life...), I<br> want to show you a bit of progress of the hover implementation. I really like<br> it.<br> <br> Still to do:<br> - Do the same when is getting the keyboard focus<br>

 - Fade out when the mouse gets to an invalid index<br> - Fade out when the mouse leaves the viewport<br> - Poll the items that are showing the capacity bar<br> <br> However, I wanted to show you this:<br> <br> Video: <a href="http://media.ereslibre.es/2008/08/capacitybarfileplaces.ogg" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://media.ereslibre.es/2008/08/capacitybarfileplaces.ogg</a><br>

 Patch: <a href="http://media.ereslibre.es/2008/08/kdelibs-fileplaces.diff" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://media.ereslibre.es/2008/08/kdelibs-fileplaces.diff</a><br> <br> Ideas ? Comments ?<br>
 <br> <br> Regards,<br> <br>Rafael Fernández López.<br>
 <br></blockquote></div><br>