Created
July 3, 2012 20:29
-
-
Save fmorency/3042849 to your computer and use it in GitHub Desktop.
QVTKFrame example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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