![]() |
VR-Forces 4.3 Class Documentation
|
Contains makVrv::DtObserverSelectionWidget class. More...

Public Member Functions | |
| DtObserverSelectionWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtObserverSelectionWidget () |
| virtual DTOR | |
| virtual void | setAutoHide (bool) |
| virtual void | setSelectionMode (bool) |
| If set to true, allows observer to be selected. | |
Public Member Functions inherited from makVrv::DtStealthControlWidgetInterface | |
| virtual | ~DtStealthControlWidgetInterface () |
| Virtual DTOR. | |
Public Attributes | |
| QComboBox * | myObserversComboBox |
| QLabel * | myCurrentObserver |
Protected Slots | |
| virtual void | observerChanged (int) |
Protected Member Functions | |
| virtual void | addObserver (const std::string &displayName, const DtUniqueID &id) |
| Add an observer to the observer combo box. | |
| virtual void | removeObserver (const std::string &displayName, const DtUniqueID &id) |
| Remove an observer from the observer combo box. | |
| virtual void | setCurrentObserver (const std::string &observerName) |
| Set the current observer in the observer combo box. | |
| virtual void | setWidgetVisible (bool b) |
| Sets combo visible / invisible. | |
| virtual int | numObservers () const |
| Returns the number of observers. | |
Protected Attributes | |
| DtStealthControlWidgetLogic * | myLogic |
Contains makVrv::DtObserverSelectionWidget class.
A widget that allows for observer selection. Uses the steakth control widget logic and interface to be notified of observer changes and to control the current observer
| makVrv::DtObserverSelectionWidget::DtObserverSelectionWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
virtual DTOR
|
virtual |
|
virtual |
If set to true, allows observer to be selected.
Default is false, so, widget will just show current observer
|
protectedvirtual |
Add an observer to the observer combo box.
Implements makVrv::DtStealthControlWidgetInterface.
|
protectedvirtual |
Remove an observer from the observer combo box.
Implements makVrv::DtStealthControlWidgetInterface.
|
protectedvirtual |
Set the current observer in the observer combo box.
Implements makVrv::DtStealthControlWidgetInterface.
|
protectedvirtual |
Sets combo visible / invisible.
Implements makVrv::DtStealthControlWidgetInterface.
|
protectedvirtual |
Returns the number of observers.
Implements makVrv::DtStealthControlWidgetInterface.
|
protectedvirtualslot |
| QComboBox* makVrv::DtObserverSelectionWidget::myObserversComboBox |
| QLabel* makVrv::DtObserverSelectionWidget::myCurrentObserver |
|
protected |