Internal class which goal is to watch parent dockable widget state changing.

Public Member Functions | |
| Watcher (QtxDockWidget *) | |
| Constructor. | |
| void | shown (QtxDockWidget *) |
| Set internal status to "shown". | |
| void | hidden (QtxDockWidget *) |
| Set internal status to "hidden". | |
| virtual bool | eventFilter (QObject *, QEvent *) |
| Custom event filter. | |
| bool | isEmpty () const |
| bool | isVisible () const |
Protected Types | |
| enum | { Update = QEvent::User, Remove } |
Protected Member Functions | |
| virtual void | customEvent (QEvent *) |
| Proces custom events. | |
Private Member Functions | |
| void | installFilters () |
| Install this object as event filter to all children widgets of the dockable widget being watched. | |
| void | showContainer () |
| Show the dock window being watched. | |
| void | hideContainer () |
| Hide the dock window being watched. | |
| void | updateIcon () |
| Update the icon of dockable window being watched. | |
| void | updateCaption () |
| Update the title of dockable window being watched. | |
| void | updateVisibility () |
| Update visibility state of all children widgets of the dockable widget being watched. | |
| void | setEmpty (const bool) |
| void | setVisible (const bool) |
Private Attributes | |
| QtxDockWidget * | myCont |
| bool | myState |
| bool | myEmpty |
| bool | myBlock |
| bool | myShown |
| QtxDockWidget.Watcher::Watcher | ( | QtxDockWidget * | cont | ) |
| cont | dockable widget to be watched |
References QtxDockWidget.Watcher.installFilters(), QtxDockWidget.Watcher.myCont, and QtxDockWidget.Watcher.myShown.
| void QtxDockWidget.Watcher::shown | ( | QtxDockWidget * | dw | ) |
| dw | dockable widget |
References QtxDockWidget.setVisible().
| void QtxDockWidget.Watcher::hidden | ( | QtxDockWidget * | dw | ) |
| dw | dockable widget |
References QtxDockWidget.setVisible().
| o | event receiver object |
| e | event sent to object |
true if further event processing should be stopped | bool QtxDockWidget.Watcher::isEmpty | ( | ) | const |
| bool QtxDockWidget.Watcher::isVisible | ( | ) | const |
| void QtxDockWidget.Watcher::customEvent | ( | QEvent * | e | ) | [protected, virtual] |
| e | custom event (not used) |
| void QtxDockWidget.Watcher::installFilters | ( | ) | [private] |
References test_table.l.
| void QtxDockWidget.Watcher::showContainer | ( | ) | [private] |
References QtxDockWidget.setVisible().
| void QtxDockWidget.Watcher::hideContainer | ( | ) | [private] |
References QtxDockWidget.setVisible().
| void QtxDockWidget.Watcher::updateIcon | ( | ) | [private] |
| void QtxDockWidget.Watcher::updateCaption | ( | ) | [private] |
| void QtxDockWidget.Watcher::updateVisibility | ( | ) | [private] |
References test_table.l.
| void QtxDockWidget.Watcher::setEmpty | ( | const bool | on | ) | [private] |
| void QtxDockWidget.Watcher::setVisible | ( | const bool | on | ) | [private] |
QtxDockWidget* QtxDockWidget.Watcher.myCont [private] |
bool QtxDockWidget.Watcher.myState [private] |
bool QtxDockWidget.Watcher.myEmpty [private] |
bool QtxDockWidget.Watcher.myBlock [private] |
bool QtxDockWidget.Watcher.myShown [private] |