Hi 

vouchcac wrote:
> 
> 
>       QLayout has relation with parent and children both.
> 
> 

The call to QWidget::setLayout()  installs the layout manager on the window.
Behind the scenes, the Widgets which are put in Layout are "reparented" to
be children of the widget on which the layout is installed, and for this
reason we don't need to specify an explicit parent when we construct a
widget that will be put in a layout.
So the widgets are children of top level Widget.

BRGS
Franček



-----
brgs
Franček Prijatelj
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14049-trunk-harbour-tp4666373p4666764.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to