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

Allows for selection of either a button or a key.

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

Public Member Functions

 DtButtonChoiceDialog (DtDe &, QWidget *parent=NULL, const Qt::WindowFlags &flags=Qt::Tool)
 
virtual ~DtButtonChoiceDialog ()
 
DtGenericControllerEventgameControlEvent () const
 
virtual void setGameControlEvent (DtGenericControllerEvent *)
 
- Public Member Functions inherited from makVrv::DtGameControllerEventHandler
 DtGameControllerEventHandler ()
 
virtual ~DtGameControllerEventHandler ()
 
virtual bool canProcessEvent (DtGenericControllerEvent *) const
 
virtual void gameControlInformationAdded (const std::string &configuration, const std::string &functionGroup, const std::string &function, const DtGameControlInformation &i)
 

Public Attributes

QLabelmyControlLabel
 
QLabelmyControl
 
QHBoxLayout * myLabelLayout
 
QPushButtonmyOKButton
 
QPushButtonmyCancelButton
 
QHBoxLayout * myButtonLayout
 

Protected Member Functions

virtual bool eventFilter (QObject *o, QEvent *evt)
 
virtual bool gameControllerEvent (DtGenericControllerEvent *)
 
virtual void tick (bool sentEvents)
 
virtual void gameControllerDeviceRemoved (int)
 
virtual void gameControllerDeviceAdded (int)
 
virtual bool filterGameControllerEvent (DtGenericControllerEvent *)
 
virtual void noQueuedEvents ()
 
virtual void showEvent (QShowEvent *)
 

Protected Attributes

DtDemyDe
 
DtGenericControllerEventmyEvent
 

Constructor & Destructor Documentation

makVrv::DtButtonChoiceDialog::DtButtonChoiceDialog ( DtDe ,
QWidget *  parent = NULL,
const Qt::WindowFlags &  flags = Qt::Tool 
)
virtual makVrv::DtButtonChoiceDialog::~DtButtonChoiceDialog ( )
virtual

Member Function Documentation

DtGenericControllerEvent* makVrv::DtButtonChoiceDialog::gameControlEvent ( ) const
inline
virtual void makVrv::DtButtonChoiceDialog::setGameControlEvent ( DtGenericControllerEvent )
virtual
virtual bool makVrv::DtButtonChoiceDialog::eventFilter ( QObject o,
QEvent evt 
)
protectedvirtual
virtual bool makVrv::DtButtonChoiceDialog::gameControllerEvent ( DtGenericControllerEvent )
protectedvirtual

Return true to handle the event and not allow other events to handle.

Implements makVrv::DtGameControllerEventHandler.

virtual void makVrv::DtButtonChoiceDialog::tick ( bool  sentEvents)
inlineprotectedvirtual

Called after game controller events are processed in any given tick. If sentEvents is true some game controller event was sent this tick.

Reimplemented from makVrv::DtGameControllerEventHandler.

virtual void makVrv::DtButtonChoiceDialog::gameControllerDeviceRemoved ( int  )
inlineprotectedvirtual

Called when a game controller device is removed.

Reimplemented from makVrv::DtGameControllerEventHandler.

virtual void makVrv::DtButtonChoiceDialog::gameControllerDeviceAdded ( int  )
inlineprotectedvirtual

Called when a game controller device is added.

Reimplemented from makVrv::DtGameControllerEventHandler.

virtual bool makVrv::DtButtonChoiceDialog::filterGameControllerEvent ( DtGenericControllerEvent )
protectedvirtual

Return true to filter this Game controller Event.

Reimplemented from makVrv::DtGameControllerEventHandler.

virtual void makVrv::DtButtonChoiceDialog::noQueuedEvents ( )
inlineprotectedvirtual

Called when there were events but now there are no longer queued events.

Reimplemented from makVrv::DtGameControllerEventHandler.

virtual void makVrv::DtButtonChoiceDialog::showEvent ( QShowEvent *  )
protectedvirtual

Member Data Documentation

QLabel* makVrv::DtButtonChoiceDialog::myControlLabel
QLabel* makVrv::DtButtonChoiceDialog::myControl
QHBoxLayout* makVrv::DtButtonChoiceDialog::myLabelLayout
QPushButton* makVrv::DtButtonChoiceDialog::myOKButton
QPushButton* makVrv::DtButtonChoiceDialog::myCancelButton
QHBoxLayout* makVrv::DtButtonChoiceDialog::myButtonLayout
DtDe& makVrv::DtButtonChoiceDialog::myDe
protected
DtGenericControllerEvent* makVrv::DtButtonChoiceDialog::myEvent
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)