Internal object used to filter child removal events for specified widget from parent widget. More...

Public Member Functions | |
| Filter (QWidget *, QtxMainWindow *, QObject *=0) | |
| Constructor. More... | |
| virtual | ~Filter () |
| Destructor. More... | |
| virtual bool | eventFilter (QObject *, QEvent *) |
| Event filter. More... | |
Private Attributes | |
| QMainWindow * | myMain |
| parent main window More... | |
| QWidget * | myWidget |
| widget being watched More... | |
Internal object used to filter child removal events for specified widget from parent widget.
| QtxMainWindow::Filter::Filter | ( | QWidget * | wid, |
| QtxMainWindow * | mw, | ||
| QObject * | parent = 0 |
||
| ) |
Constructor.
| wid | widget to be watched |
| mw | parent main window |
| parent | parent object (in terms of QObject) |
|
virtual |
Destructor.
Event filter.
Watches for the specified widget and prevents its removal from the parent main window.
| o | recevier object |
| e | event |
|
private |
parent main window
|
private |
widget being watched