Skip to content

Instantly share code, notes, and snippets.

@fmorency
Created July 3, 2012 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmorency/3042849 to your computer and use it in GitHub Desktop.
Save fmorency/3042849 to your computer and use it in GitHub Desktop.
QVTKFrame example
class QVTKFrame(QFrame):
def __init__(self, parent=None):
super(QVTKFrame, self).__init__(parent=parent)
def closeEvent(self, evt):
for w in self.children():
if hasattr(w, 'close'):
w.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment