Franček Prijatelj wrote:
> 
> 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.
> 

I know.

The point is: how to remove layout from the undelying widget.
I can destroy the children but cannot destroy the layout cleanly.
This is the whole cause of GPF at exit.

To test:

Run hbIDE and close any docking widgets if open.
Exit hbIDE - you may get GPF.
Run again hbIDE - you must see no dockes are open.
Exit - you will not experience GPF.
Run, open one dock, clso that dock, exit, 
   you will experience GPF for some only.




-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/SF-net-SVN-harbour-project-14049-trunk-harbour-tp4666373p4667956.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