VR-Forces 4.0.4 Class Documentation
Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrv::DtRequestKeyMapKeyDialog Class Reference

This is the dialog the user types key sequences to be mapped. More...

Inheritance diagram for makVrv::DtRequestKeyMapKeyDialog:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtRequestKeyMapKeyDialog (QWidget *parent=0, Qt::WindowFlags flags=Qt::Tool|Qt::SubWindow)
 CTOR.
virtual ~DtRequestKeyMapKeyDialog ()
 virtual DTOR
virtual void keyPressEvent (QKeyEvent *event)
 QDialog override to handle a key press event.
virtual void closeEvent (QCloseEvent *event)
 QDialog override to handle a close event.
void show (std::string functionName, bool isBinary)
 show the dialog with no initial key mapping
void show (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

QLabelmyFunctionNameLabel
QLineEditmyKeyTextLineEdit
QButtonGroup * myUpDownButtonGroup
QRadioButton * myUpRadioButton
QRadioButton * myDownRadioButton
QVBoxLayout * myUpDownLayout
QHBoxLayout * myEntryLayout
QPushButtonmyOkButton
QPushButtonmyCancelButton
QHBoxLayout * myBottomButtonLayout
QVBoxLayout * myDialogLayout
DtKeyMapping myKeyMapping
DtKeyMapping myInitialEditKeyMapping
bool myUserTyped
bool myIsBinary
bool myIsClosing
bool myIsEdit

Detailed Description

This is the dialog the user types key sequences to be mapped.

It shares a logic object with DtKeyMapEditorDialog


Constructor & Destructor Documentation

makVrv::DtRequestKeyMapKeyDialog::DtRequestKeyMapKeyDialog ( QWidget parent = 0,
Qt::WindowFlags  flags = Qt::Tool|Qt::SubWindow 
)

CTOR.

virtual DTOR


Member Function Documentation

virtual void makVrv::DtRequestKeyMapKeyDialog::keyPressEvent ( QKeyEvent *  event) [virtual]

QDialog override to handle a key press event.

virtual void makVrv::DtRequestKeyMapKeyDialog::closeEvent ( QCloseEvent *  event) [virtual]

QDialog override to handle a close event.

void makVrv::DtRequestKeyMapKeyDialog::show ( std::string  functionName,
bool  isBinary 
)

show the dialog with no initial key mapping

void makVrv::DtRequestKeyMapKeyDialog::show ( std::string  functionName,
const DtKeyMapping keyMapping,
bool  isBinary 
)

show the dialog with an initial key mapping

handle OK button clicked

handle Cancel button clicked

handle Up radio button clicked

handle Down radio button clicked

QString makVrv::DtRequestKeyMapKeyDialog::keyMappingToQString ( const DtKeyMapping keyMapping) [protected]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)