![]() |
VR-Forces 4.6.1 Class Documentation
|
This is the dialog the user types key sequences to be mapped. More...

Public Member Functions | |
| DtRequestKeyMapKeyDialog (QWidget *parent=0, Qt::WindowFlags flags=Qt::Tool) | |
| CTOR. | |
| virtual | ~DtRequestKeyMapKeyDialog () |
| virtual DTOR | |
| virtual void | keyPressEvent (QKeyEvent *event) |
| QWidget override to handle a key press event. | |
| virtual void | closeEvent (QCloseEvent *event) |
| QWidget override to handle a close event. | |
| void | show (const std::string &functionName, bool isBinary) |
| show the dialog with no initial key mapping | |
| void | show (const std::string &functionName, const DtKeyMapping &keyMapping, bool isBinary) |
| show the dialog with an initial key mapping | |
Public Attributes | |
| boost::signal< void()> | signal_requestInputCanceled |
| boost::signal< void(const DtKeyMapping &, bool)> | signal_requestInputAccepted |
| boost::signal< void(const DtKeyMapping &, const DtKeyFunctionNameList &, bool, bool)> | signal_requestKeyValidationAccepted |
Protected Slots | |
| void | onOkClicked () |
| handle OK button clicked | |
| void | onCancelClicked () |
| handle Cancel button clicked | |
| void | onUpRadioButtonClicked () |
| handle Up radio button clicked | |
| void | onDownRadioButtonClicked () |
| handle Down radio button clicked | |
Protected Member Functions | |
| void | setupGui () |
| QString | keyMappingToQString (const DtKeyMapping &keyMapping) |
Protected Attributes | |
| QLabel * | myFunctionNameLabel |
| QLineEdit * | myKeyTextLineEdit |
| QButtonGroup * | myUpDownButtonGroup |
| QRadioButton * | myUpRadioButton |
| QRadioButton * | myDownRadioButton |
| QVBoxLayout * | myUpDownLayout |
| QHBoxLayout * | myEntryLayout |
| QPushButton * | myOkButton |
| QPushButton * | myCancelButton |
| QHBoxLayout * | myBottomButtonLayout |
| QVBoxLayout * | myDialogLayout |
| DtKeyMapping | myKeyMapping |
| DtKeyMapping | myInitialEditKeyMapping |
| bool | myUserTyped |
| bool | myIsBinary |
| bool | myIsClosing |
| bool | myIsEdit |
This is the dialog the user types key sequences to be mapped.
It shares a logic object with DtKeyMapEditorDialog
| makVrv::DtRequestKeyMapKeyDialog::DtRequestKeyMapKeyDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | flags = Qt::Tool |
||
| ) |
CTOR.
|
virtual |
virtual DTOR
|
virtual |
QWidget override to handle a key press event.
|
virtual |
QWidget override to handle a close event.
| void makVrv::DtRequestKeyMapKeyDialog::show | ( | const std::string & | functionName, |
| bool | isBinary | ||
| ) |
show the dialog with no initial key mapping
| void makVrv::DtRequestKeyMapKeyDialog::show | ( | const std::string & | functionName, |
| const DtKeyMapping & | keyMapping, | ||
| bool | isBinary | ||
| ) |
show the dialog with an initial key mapping
|
protectedslot |
handle OK button clicked
|
protectedslot |
handle Cancel button clicked
|
protectedslot |
handle Up radio button clicked
|
protectedslot |
handle Down radio button clicked
|
protected |
|
protected |
| boost::signal<void ()> makVrv::DtRequestKeyMapKeyDialog::signal_requestInputCanceled |
| boost::signal<void (const DtKeyMapping&, bool)> makVrv::DtRequestKeyMapKeyDialog::signal_requestInputAccepted |
| boost::signal<void (const DtKeyMapping&, const DtKeyFunctionNameList&, bool, bool)> makVrv::DtRequestKeyMapKeyDialog::signal_requestKeyValidationAccepted |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |