Workarea child widget container. More...
#include <QtxWorkstack.h>

Signals | |
| void | shown (QtxWorkstackChild *) |
| Emitted when child widget is shown. More... | |
| void | hidden (QtxWorkstackChild *) |
| Emitted when child widget is hidden. More... | |
| void | activated (QtxWorkstackChild *) |
| Emitted when child widget is activated. More... | |
| void | captionChanged (QtxWorkstackChild *) |
| Emitted when child widget's title is changed. More... | |
Public Member Functions | |
| QtxWorkstackChild (QWidget *, QWidget *=0, Qt::WindowFlags=0) | |
| Constructor. More... | |
| virtual | ~QtxWorkstackChild () |
| Destructor. More... | |
| QWidget * | widget () const |
| Get child widget. More... | |
| int | id () const |
| Returns the id. More... | |
| void | setId (const int) |
| Sets the id. More... | |
| bool | visibility () |
| Returns true if this child window should be visible. More... | |
| QtxWorkstackArea * | area () const |
| virtual bool | eventFilter (QObject *, QEvent *) |
| Custom event filter. More... | |
Protected Member Functions | |
| virtual void | childEvent (QChildEvent *) |
| Customize child event handler. More... | |
Private Slots | |
| void | onDestroyed (QObject *) |
| Called when child widget is destroyed. More... | |
Private Attributes | |
| int | myId |
| id More... | |
| QPointer< QWidget > | myWidget |
| child widget More... | |
Workarea child widget container.
Constructor.
| wid | child widget |
| parent | parent widget |
| f | widget flags |
References myWidget, and onDestroyed().
|
virtual |
Destructor.
References onDestroyed(), and widget().
|
signal |
Emitted when child widget is activated.
| w | child widget container |
| QtxWorkstackArea * QtxWorkstackChild::area | ( | ) | const |
|
signal |
Emitted when child widget's title is changed.
| w | child widget container |
|
protectedvirtual |
Custom event filter.
Process events from child widgets.
| o | event receiver widget |
| e | event |
true if event should be filtered (stop further processing) References activated(), captionChanged(), hidden(), and shown().
|
signal |
Emitted when child widget is hidden.
| w | child widget container |
| int QtxWorkstackChild::id | ( | ) | const |
Returns the id.
References myId.
|
privateslot |
Called when child widget is destroyed.
| obj | child widget being destroyed |
|
signal |
Emitted when child widget is shown.
| w | child widget container |
| bool QtxWorkstackChild::visibility | ( | ) |
Returns true if this child window should be visible.
References myWidget.
| QWidget * QtxWorkstackChild::widget | ( | ) | const |
|
private |
id
|
private |
child widget