What was wrong with the previous example given to do just that? When you delete
a parent, the children automatically go with it.
On Sep 2, 2012, at 10:31 PM, PBLN RAO pblnra...@yahoo.co.in wrote:
thirstydevil,
i want to delete the a QFrame item including all its children.
QFrame is
Hi All,
How to delete a QFrame and all its children in PyQt.
I goggled all the web but couldn't find a solution.
Can any one suggest a solution.?
--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
object.widget().deleteLater()
from the web:
def clearLayout(layout):
while layout.count():
child = layout.takeAt(0)
c.widget().deleteLater()
On Fri, Aug 31, 2012 at 12:37 PM, PBLN RAO pblnra...@yahoo.co.in wrote:
Hi All,
How to delete a QFrame and all its children in PyQt.