Make the local co-ordinate system clearer.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692598
This commit is contained in:
Alex Merry 2007-07-25 23:48:15 +00:00
parent 19a46e2c40
commit b7187ab807

View File

@ -177,6 +177,11 @@ class PLASMA_EXPORT Applet : public QObject, public Widget
* Applets should implement contentSize() to tell Plasma::Applet how
* much space they need.
*
* When drawing to the applet in the paintInterface() method, you can
* use the QRect passed to that function. Outside paintInterface(), for
* example when positioning a Plasma::Widget, you can assume your drawing
* area has (0,0) at the top left and is the size of contentSize().
*
* If drawStandardBackground() == true, enough space will reserved
* within the borders for the content, and boundingRect() will the
* total size of the applet, including borders.