childrenRegion

Parent Previous Next


TwScript:   TW.target.childrenRegion    QVariant(QRegion)


Read only.


See Qt 4.4 below.


Example:


var mYchildrenRegion = TW.target.childrenRegion;

var howMany = mYchildrenRegion.numRects;


TW.information(null, "childrenRegion Rectangles", howMany);


Will show a blank message Box -



- illustrating that sometimes (seemingly randomly you can access properties and functions from Script and sometimes you can not dig deeper into Qt's underlying  framework.





.cpp


Provided in Qt framework.



Qt 4.4    childrenRect : const QRect

This property holds the bounding rectangle of the widget's children.

Hidden children are excluded.

Access functions:

See also childrenRegion() and geometry().

Reference: http://www.greyc.ensicaen.fr/ensicaen/Docs/Qt4/qwidget.html#childrenRect-prop






Created with the Personal Edition of HelpNDoc: Create HTML Help, DOC, PDF and print manuals from 1 single source