15 #include <vlutil/vlString.h>
18 #include <QtWidgets/QWidget>
19 #include <QtWidgets/QDialog>
38 class DtGameControlInformation;
39 class DtGameControlProcessor;
54 virtual void setEditing(
const std::string& fg,
const std::string&
function);
55 virtual void setDescription(
const std::string& description);
59 boost::signals2::signal<void (DtGameControlInformation*)>
signal_accept;
64 virtual void accept();
65 virtual void reject();
66 virtual void closeEvent(QCloseEvent*);
69 virtual void controllerRemoved(
int deviceIndex);
80 virtual QString translateString(
const std::string& str)
const;
83 virtual void gameControllerSelected();
84 virtual void onAxisChanged();
85 virtual void onDetectTypeChanged();
DtGameControlProcessor * myGameControlProcessor
Definition: axisConfigurationSelectionDialog.h:113
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
QSlider * mySlider
Definition: axisConfigurationSelectionDialog.h:94
QCheckBox * myReverse
Definition: axisConfigurationSelectionDialog.h:93
Handler that you insert into the manager to be made aware of game controller events. A subclass of this handler can be added to the joystick manager to be made aware of any joystick/keyboard event.
Definition: joystickManager.h:42
LastJoystickAxisValue myLastJoystickAxisValue
Definition: axisConfigurationSelectionDialog.h:118
std::map< int, std::map< int, int > > LastJoystickAxisValue
Definition: axisConfigurationSelectionDialog.h:117
QComboBox * myControllers
Definition: axisConfigurationSelectionDialog.h:89
boost::signals2::signal< void(DtGameControlInformation *)> signal_accept
Definition: axisConfigurationSelectionDialog.h:59
bool mySignaled
Definition: axisConfigurationSelectionDialog.h:108
QLabel * myMaximumLabel
Definition: axisConfigurationSelectionDialog.h:97
DtSignalConnectionManager myConnections
Definition: axisConfigurationSelectionDialog.h:115
Definition: gameControllerEvents.h:33
QLabel * myControlLabel
Definition: axisConfigurationSelectionDialog.h:99
#define DT_DLL_JOYSTICKCOREQT
Contains DLL export macros.
Definition: joystickCoreQt.h:27
QRadioButton * myDetect
Definition: axisConfigurationSelectionDialog.h:98
Contains makVrv::DtVirtualBaseClass class.
DtGameControlInformation::GameControlEvent myAxisEvent
Definition: axisConfigurationSelectionDialog.h:111
QHBoxLayout * myBottomButtonLayout
Definition: axisConfigurationSelectionDialog.h:92
Definition: axisConfigurationSelectionDialog.h:42
QRadioButton * mySelect
Definition: axisConfigurationSelectionDialog.h:100
QComboBox * myAxisList
Definition: axisConfigurationSelectionDialog.h:101
DtDe & myDe
Definition: axisConfigurationSelectionDialog.h:105
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
This class will keep control of a particular game control function given the events it can control...
Definition: gameControlProcessor.h:31
DtDe & myDe
Definition: axisConfigurationSelectionDialog.h:138
Factory constructor for this dialog.
Definition: axisConfigurationSelectionDialog.h:123
std::string myFunctionGroup
Definition: axisConfigurationSelectionDialog.h:106
QPushButton * myCancelButton
Definition: axisConfigurationSelectionDialog.h:91
Base class to provide boost signal/slot management.
QGridLayout * mySliderLayout
Definition: axisConfigurationSelectionDialog.h:95
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
QLabel * myControllerLabel
Definition: axisConfigurationSelectionDialog.h:88
QLabel * myDescription
Definition: axisConfigurationSelectionDialog.h:102
DtGameControlInformation::GameControlEvents myUnsupportedEvents
Definition: axisConfigurationSelectionDialog.h:110
QPushButton * myOKButton
Definition: axisConfigurationSelectionDialog.h:90
QLabel * myMinimumLabel
Definition: axisConfigurationSelectionDialog.h:96
std::string myFunction
Definition: axisConfigurationSelectionDialog.h:107