VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtObserverSelectionWidget Class Reference

Contains makVrv::DtObserverSelectionWidget class. More...

Inheritance diagram for makVrv::DtObserverSelectionWidget:
Inheritance graph
[legend]

List of all members.

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 Attributes

QComboBoxmyObserversComboBox
QLabelmyCurrentObserver

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

DtStealthControlWidgetLogicmyLogic

Detailed Description

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


Constructor & Destructor Documentation

makVrv::DtObserverSelectionWidget::DtObserverSelectionWidget ( DtDe de,
QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual DTOR


Member Function Documentation

If set to true, allows observer to be selected.

Default is false, so, widget will just show current observer

virtual void makVrv::DtObserverSelectionWidget::addObserver ( const std::string &  displayName,
const DtUniqueID id 
) [protected, virtual]

Add an observer to the observer combo box.

Implements makVrv::DtStealthControlWidgetInterface.

virtual void makVrv::DtObserverSelectionWidget::removeObserver ( const std::string &  displayName,
const DtUniqueID id 
) [protected, virtual]

Remove an observer from the observer combo box.

Implements makVrv::DtStealthControlWidgetInterface.

virtual void makVrv::DtObserverSelectionWidget::setCurrentObserver ( const std::string &  observerName) [protected, virtual]

Set the current observer in the observer combo box.

Implements makVrv::DtStealthControlWidgetInterface.

virtual void makVrv::DtObserverSelectionWidget::setWidgetVisible ( bool  b) [protected, virtual]

Sets combo visible / invisible.

Implements makVrv::DtStealthControlWidgetInterface.

virtual int makVrv::DtObserverSelectionWidget::numObservers ( ) const [protected, virtual]

Returns the number of observers.

Implements makVrv::DtStealthControlWidgetInterface.

virtual void makVrv::DtObserverSelectionWidget::observerChanged ( int  ) [protected, virtual, slot]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)