![]() |
VR-Forces 5.0.3 Developer's Guide
|
Allows for selection of either a button or a key.

Public Member Functions | |
| DtButtonChoiceDialog (DtDe &, QWidget *parent=NULL, const Qt::WindowFlags &flags=Qt::Tool) | |
| virtual | ~DtButtonChoiceDialog () |
| DtGenericControllerEvent * | gameControlEvent () 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 | |
| QLabel * | myControlLabel |
| QLabel * | myControl |
| QHBoxLayout * | myLabelLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
| 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 | |
| DtDe & | myDe |
| DtGenericControllerEvent * | myEvent |
| makVrv::DtButtonChoiceDialog::DtButtonChoiceDialog | ( | DtDe & | , |
| QWidget * | parent = NULL, |
||
| const Qt::WindowFlags & | flags = Qt::Tool |
||
| ) |
|
virtual |
|
inline |
|
virtual |
|
protectedvirtual |
|
protectedvirtual |
Return true to handle the event and not allow other events to handle.
Implements makVrv::DtGameControllerEventHandler.
|
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.
|
inlineprotectedvirtual |
Called when a game controller device is removed.
Reimplemented from makVrv::DtGameControllerEventHandler.
|
inlineprotectedvirtual |
Called when a game controller device is added.
Reimplemented from makVrv::DtGameControllerEventHandler.
|
protectedvirtual |
Return true to filter this Game controller Event.
Reimplemented from makVrv::DtGameControllerEventHandler.
|
inlineprotectedvirtual |
Called when there were events but now there are no longer queued events.
Reimplemented from makVrv::DtGameControllerEventHandler.
|
protectedvirtual |
| QLabel* makVrv::DtButtonChoiceDialog::myControlLabel |
| QLabel* makVrv::DtButtonChoiceDialog::myControl |
| QHBoxLayout* makVrv::DtButtonChoiceDialog::myLabelLayout |
| QPushButton* makVrv::DtButtonChoiceDialog::myOKButton |
| QPushButton* makVrv::DtButtonChoiceDialog::myCancelButton |
| QHBoxLayout* makVrv::DtButtonChoiceDialog::myButtonLayout |
|
protected |
|
protected |