![]() |
VR-Forces 4.10 Class Documentation
|
This is the dialog used to ask the user what to do when a single key has been mapped to multiple functions. More...

Public Member Functions | |
| DtRequestKeyValidationDialog (QWidget *parent=0, Qt::WindowFlags flags=Qt::Tool|Qt::WindowTitleHint) | |
| CTOR. More... | |
| virtual | ~DtRequestKeyValidationDialog () |
| virtual DTOR More... | |
| virtual void | closeEvent (QCloseEvent *event) |
| QWidget override to handle close event. More... | |
| void | show (const DtKeyMapping &keyMapping, const std::string &functionName, const DtKeyFunctionNameList &fnList, bool isEdit) |
| Show the Dialog. More... | |
Public Attributes | |
| boost::signalslib::signal< void()> | signal_requestInputCanceled |
| boost::signalslib::signal < void(const DtKeyMapping &, bool)> | signal_requestInputAccepted |
| boost::signalslib::signal < void(const DtKeyMapping &, const DtKeyFunctionNameList &, bool, bool)> | signal_requestKeyValidationAccepted |
Protected Slots | |
| void | onAddClicked () |
| Handle the Add button clicked (add the new function / key mapping) More... | |
| void | onReplaceClicked () |
| Handle the Replace button clicked ( replace the existing function / key mapping with the new one) More... | |
| void | onCancelClicked () |
| Handle the Cancel button clicked. More... | |
Protected Member Functions | |
| void | setupGui () |
| QString | keyMappingToQString (const DtKeyMapping &keyMapping) |
| This needs to be a static someplace. More... | |
Protected Attributes | |
| QLabel * | myFunctionNamePrefixLabel |
| QLabel * | myFunctionNameSuffixLabel |
| QListWidget * | myFunctionNameList |
| QPushButton * | myAddButton |
| QPushButton * | myReplaceButton |
| QPushButton * | myCancelButton |
| QHBoxLayout * | myBottomButtonLayout |
| QVBoxLayout * | myMainLayout |
| DtKeyMapping | myKeyMapping |
| DtKeyFunctionNameList | myFnList |
| bool | myIsClosing |
| bool | myIsEdit |
This is the dialog used to ask the user what to do when a single key has been mapped to multiple functions.
| makVrv::DtRequestKeyValidationDialog::DtRequestKeyValidationDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | flags = Qt::Tool|Qt::WindowTitleHint |
||
| ) |
CTOR.
|
virtual |
virtual DTOR
|
virtual |
QWidget override to handle close event.
| void makVrv::DtRequestKeyValidationDialog::show | ( | const DtKeyMapping & | keyMapping, |
| const std::string & | functionName, | ||
| const DtKeyFunctionNameList & | fnList, | ||
| bool | isEdit | ||
| ) |
Show the Dialog.
|
protectedslot |
Handle the Add button clicked (add the new function / key mapping)
|
protectedslot |
Handle the Replace button clicked ( replace the existing function / key mapping with the new one)
|
protectedslot |
Handle the Cancel button clicked.
|
protected |
|
protected |
This needs to be a static someplace.
| boost::signalslib::signal<void ()> makVrv::DtRequestKeyValidationDialog::signal_requestInputCanceled |
| boost::signalslib::signal<void (const DtKeyMapping&, bool)> makVrv::DtRequestKeyValidationDialog::signal_requestInputAccepted |
| boost::signalslib::signal<void (const DtKeyMapping&, const DtKeyFunctionNameList&, bool, bool)> makVrv::DtRequestKeyValidationDialog::signal_requestKeyValidationAccepted |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |