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... | |
wid | child widget |
parent | parent widget |
f | widget flags |
References myWidget, and onDestroyed().
|
virtual |
References onDestroyed(), and widget().
|
signal |
w | child widget container |
QtxWorkstackArea * QtxWorkstackChild::area | ( | ) | const |
|
signal |
w | child widget container |
|
protectedvirtual |
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 |
w | child widget container |
int QtxWorkstackChild::id | ( | ) | const |
References myId.
|
privateslot |
obj | child widget being destroyed |
|
signal |
w | child widget container |
bool QtxWorkstackChild::visibility | ( | ) |
References myWidget.
|
private |
|
private |