[PyQt] best practices for MDI app
shevitz at lanl.gov
Tue Jul 13 23:24:03 BST 2010
I'm a newbie and struggling with developing an MDI app. The basic question
is this: each of my documents
looks and acts like a dialog. When I create my child class, should I
subclass QDialog or QWidget?
I am currently using QDialog and add a QDialogButtonBox at the bottom. This
doesn't work as expected.
When I click close, the MDI child blanks but doesn't disappear. It is as if
the QDialog is closing itself,
but the MDI page still exists fine. If I subclass QWidget, then do I need to
reimplement all the button functionality?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt