VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtSetModelSetWidget Class Reference

DtSetModelSetWidget is a toolbar widget for setting the model set for the current observer.

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

Public Member Functions

 DtSetModelSetWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~DtSetModelSetWidget ()
 
void setupGui ()
 
- Public Member Functions inherited from makVrv::DtToolbarWidget
 DtToolbarWidget (DtDe &de, QWidget *p=0, Qt::WindowFlags f=0)
 
virtual ~DtToolbarWidget ()
 
void setToolButtonChecked (bool checked)
 
bool isToolButtonChecked () const
 
void setToolButtonStyle (Qt::ToolButtonStyle style)
 
Qt::ToolButtonStyle toolButtonStyle () const
 

Protected Slots

virtual void on_toolButtonClicked (bool checked)
 
virtual void on_aboutToShow ()
 
- Protected Slots inherited from makVrv::DtToolbarWidget
virtual void on_toolButtonStyleChanged (Qt::ToolButtonStyle val)
 
virtual void on_toolButtonClicked (bool checked)=0
 
virtual void on_aboutToShow ()
 

Protected Member Functions

virtual void connectSignals ()
 
virtual void setIconFromModelSet (int modelSet)
 
virtual void slot_observerModeChanged (DtObserver *, int newObserverMode)
 
virtual void slot_currentObserverChanged (DtInputDriver *, DtObserver *observer)
 
virtual void slot_observerAboutToBeDestroyed (DtInputDriver *, DtObserver *observer)
 
virtual void slot_observerModeModelSetChanged (int modeId)
 
- Protected Member Functions inherited from makVrv::DtToolbarWidget
virtual void configureToolButton (const QString &text, const QString &tooltip, const QString &iconFilename, bool checkable=false, bool hasMenu=false, QToolButton::ToolButtonPopupMode menuMode=QToolButton::DelayedPopup, const QString &checkedIconFilePath=QString(""))
 
virtual void configureThemedToolButton (const QString &text, const QString &tooltip, const QString &iconFilename, bool checkable=false, bool hasMenu=false, QToolButton::ToolButtonPopupMode menuMode=QToolButton::DelayedPopup, const QString &checkedIconFileName=QString(""))
 
virtual void setWidgetsVisible (bool visible)
 

Protected Attributes

DtSetModelSetMenumySetModelSetMenu
 
DtObservermyCurrentObserver
 
DtSignalConnectionManager mySignalManager
 
- Protected Attributes inherited from makVrv::DtToolbarWidget
DtDemyDe
 
QToolButtonmyToolButton
 
QHBoxLayout * myWidgetLayout
 

Private Member Functions

 DtSetModelSetWidget ()
 
 DtSetModelSetWidget (const DtSetModelSetWidget &)
 
DtSetModelSetWidgetoperator= (const DtSetModelSetWidget &)
 

Constructor & Destructor Documentation

makVrv::DtSetModelSetWidget::DtSetModelSetWidget ( DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

Parameters
[in]deis the display engine for this instance.
[in]parentis the parent widget for this instance.
[in]fis a set of window flags for this widget.
virtual makVrv::DtSetModelSetWidget::~DtSetModelSetWidget ( )
virtual

Virtual Destructor.

makVrv::DtSetModelSetWidget::DtSetModelSetWidget ( )
private

Default CTOR.

Note
Not implemented ( force use of initializer ).
makVrv::DtSetModelSetWidget::DtSetModelSetWidget ( const DtSetModelSetWidget )
private

Copy CTOR.

Note
Not implemented ( prevents copies ).

Member Function Documentation

DtSetModelSetWidget& makVrv::DtSetModelSetWidget::operator= ( const DtSetModelSetWidget )
private

Copy operator.

Note
Not implemented ( prevents copies ).
void makVrv::DtSetModelSetWidget::setupGui ( )

Sets up the user interface.

virtual void makVrv::DtSetModelSetWidget::connectSignals ( )
protectedvirtual

Connects to DtObserverManager signals.

virtual void makVrv::DtSetModelSetWidget::setIconFromModelSet ( int  modelSet)
protectedvirtual

Updates the toolbutton icon according to the current model set.

virtual void makVrv::DtSetModelSetWidget::slot_observerModeChanged ( DtObserver ,
int  newObserverMode 
)
protectedvirtual

Notification that the current observer has changed modes.

virtual void makVrv::DtSetModelSetWidget::slot_currentObserverChanged ( DtInputDriver ,
DtObserver observer 
)
protectedvirtual

Notification that the current observer has changed modes.

virtual void makVrv::DtSetModelSetWidget::slot_observerAboutToBeDestroyed ( DtInputDriver ,
DtObserver observer 
)
protectedvirtual

Notification that the current observer has changed modes.

virtual void makVrv::DtSetModelSetWidget::slot_observerModeModelSetChanged ( int  modeId)
protectedvirtual

Notification that the current observer has changed modes.

virtual void makVrv::DtSetModelSetWidget::on_toolButtonClicked ( bool  checked)
protectedvirtualslot

Slot when this widget's toolbutton has been clicked.

Parameters
checkedWhether or not the QToolButton is checked or not This function does nothing since the menu pop up mode is InstantPopup
virtual void makVrv::DtSetModelSetWidget::on_aboutToShow ( )
protectedvirtualslot

Slot for when the menu for this widget is about to be shown.

Member Data Documentation

DtSetModelSetMenu* makVrv::DtSetModelSetWidget::mySetModelSetMenu
protected
DtObserver* makVrv::DtSetModelSetWidget::myCurrentObserver
protected
DtSignalConnectionManager makVrv::DtSetModelSetWidget::mySignalManager
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)