[PyQt] Deleting a PyQt object
lists at fabis-site.net
Thu Nov 22 07:51:41 GMT 2007
I'm currently working on a programm which adds a QTableWidget to an existing
QGridLayout using QGridLayout.addWidget(). When the user pushes button btn1,
this QTableWidget should disappear and the layout should free the space.
In order to achieve this aim I tried the following:
=> The QTableWidget is indeed removed from the layout, but still exists in the
=> works as expected
Is this really the right way to do it? Why doesn't the del-approach work?
Actually no other PyQT objects should hold any other references to
More information about the PyQt