Review Request: add labelSize function to Plasma::Meter

Rob Scheepmaker r.scheepmaker at student.utwente.nl
Fri Nov 7 14:44:55 CET 2008


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.vidsolbach.de/r/261/
-----------------------------------------------------------

Review request for Plasma.


Summary
-------

While I was updating the kuiserver applet to use the new progress-bar design I suddenly had the need to obtain the size of a label in the progress-bar svg. JobWidget displays the filename elided ("file://home/...ample.png") and for this to work the width of the label is needed. This patch is pretty straightforward, but I didn't want to add something to public api without approval from other members of the plasma team.
The new progress-bar look is very lovely btw. Only thing left to be done is merge this applet into systemtray...


Diffs
-----

  /trunk/KDE/kdelibs/plasma/widgets/meter.cpp
  /trunk/KDE/kdelibs/plasma/widgets/meter.h

Diff: http://reviewboard.vidsolbach.de/r/261/diff


Testing
-------


Thanks,

Rob



More information about the Plasma-devel mailing list