Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
ShortcutButton Class Reference
Inheritance diagram for ShortcutButton:

## 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 57 of file ShortcutButton.hh.

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

- OpenFlipper/widgets/optionsWidget/ShortcutButton.hh
- OpenFlipper/widgets/optionsWidget/ShortcutButton.cc