Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ShortcutButton Class Reference
Inheritance diagram for ShortcutButton:


void keyChanged ()

Public Member Functions

 ShortcutButton (QWidget *_parent=0)
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 57 of file ShortcutButton.hh.

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