ShortcutButton Class Reference

List of all members.

Signals

void keyChanged ()

Public Member Functions

 ShortcutButton (QWidget *_parent=0)
 Constructor.
void setCurrentShortcut (int _key, Qt::KeyboardModifiers _modifiers)
 set the current shortcut
int key ()
 get current key
Qt::KeyboardModifiers modifiers ()
 get current modifiers

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 key press
void keyReleaseEvent (QKeyEvent *event)
 key release
void focusInEvent (QFocusEvent *event)
void focusOutEvent (QFocusEvent *event)
void mousePressEvent (QMouseEvent *event)
void mouseReleaseEvent (QMouseEvent *event)

Private Member Functions

void showCurrentShortcut ()
 show the current shortcut

Private Attributes

int key_
Qt::KeyboardModifiers modifiers_
int oldKey_
Qt::KeyboardModifiers oldModifiers_
bool checked_
bool firstPress_

Detailed Description

Definition at line 50 of file ShortcutButton.hh.


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .