#include <mdiapplication.h>
Inheritance diagram for MDIChild< T, managerT >:

Public Member Functions | |
| MDIChild (managerT *manager, QWidget *parent=0) | |
| virtual | ~MDIChild () |
| virtual QWidget * | widgetPtr () const |
| virtual bool | event (QEvent *e) |
| MDIChild< T, managerT >::MDIChild | ( | managerT * | manager, | |
| QWidget * | parent = 0 | |||
| ) | [inline] |
The parent should be left as null, as the main reason for this MDI framework is to have managed top-level children. However, it may be set to a container (such as a big grey window, like Windows MDI apps do).
Will automatically add ourself to the MDIApplication
Asserts that the manager is non-null.
Calls the manager's removeChildWindow() method on us.
| virtual QWidget* MDIChild< T, managerT >::widgetPtr | ( | ) | const [inline, virtual] |
This assumes that this class is a derivative of QWidget.
Implements MDIChildBase.
| virtual bool MDIChild< T, managerT >::event | ( | QEvent * | e | ) | [inline, virtual] |
Catches Close, WindowActivate, WindowDeactivate and WindowStateChange.
On a Close event, this will call childWindowCloseRequest().
Asserts that the event is non-null.
1.5.2