VR-Forces 4.10 Class Documentation
 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. More...

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
 Return true if this event can be processed by this handler. More...
 
virtual void gameControlInformationAdded (const std::string &configuration, const std::string &functionGroup, const std::string &function, const DtGameControlInformation &i)
 Called when game controller information is added or updated for the given configuration, function group and function. More...
 

Public Attributes

QLabelmyControlLabel
 
QLabelmyControl
 
QHBoxLayout * myLabelLayout
 
QPushButtonmyOKButton
 
QPushButtonmyCancelButton
 
QHBoxLayout * myButtonLayout
 

Protected Member Functions

virtual bool eventFilter (QObject *o, QEvent *evt)
 
virtual bool gameControllerEvent (DtGenericControllerEvent *)
 Return true to handle the event and not allow other events to handle. More...
 
virtual void tick (bool sentEvents)
 Called after game controller events are processed in any given tick. More...
 
virtual void gameControllerDeviceRemoved (int)
 Called when a game controller device is removed. More...
 
virtual void gameControllerDeviceAdded (int)
 Called when a game controller device is added. More...
 
virtual bool filterGameControllerEvent (DtGenericControllerEvent *)
 Return true to filter this Game controller Event. More...
 
virtual void noQueuedEvents ()
 Called when there were events but now there are no longer queued events. More...
 
virtual void showEvent (QShowEvent *)
 

Protected Attributes

DtDemyDe
 
DtGenericControllerEventmyEvent
 

Detailed Description

Allows for selection of either a button or a key.

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 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)