|
| | 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
|
| |
Definition at line 51 of file ShortcutButton.hh.
◆ ShortcutButton()
| ShortcutButton::ShortcutButton |
( |
QWidget * |
_parent = 0 | ) |
|
|
explicit |
◆ focusInEvent()
| void ShortcutButton::focusInEvent |
( |
QFocusEvent * |
event | ) |
|
|
protected |
◆ focusOutEvent()
| void ShortcutButton::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protected |
◆ key()
| int ShortcutButton::key |
( |
| ) |
|
◆ keyPressEvent()
| void ShortcutButton::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
◆ keyReleaseEvent()
| void ShortcutButton::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
protected |
◆ modifiers()
| Qt::KeyboardModifiers ShortcutButton::modifiers |
( |
| ) |
|
◆ mousePressEvent()
| void ShortcutButton::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseReleaseEvent()
| void ShortcutButton::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ setCurrentShortcut()
| void ShortcutButton::setCurrentShortcut |
( |
int |
_key, |
|
|
Qt::KeyboardModifiers |
_modifiers |
|
) |
| |
◆ showCurrentShortcut()
| void ShortcutButton::showCurrentShortcut |
( |
| ) |
|
|
private |
◆ checked_
| bool ShortcutButton::checked_ |
|
private |
◆ firstPress_
| bool ShortcutButton::firstPress_ |
|
private |
◆ key_
◆ modifiers_
| Qt::KeyboardModifiers ShortcutButton::modifiers_ |
|
private |
◆ oldKey_
| int ShortcutButton::oldKey_ |
|
private |
◆ oldModifiers_
| Qt::KeyboardModifiers ShortcutButton::oldModifiers_ |
|
private |
The documentation for this class was generated from the following files: