#include <editSingleShortcut.h>
Inherits Ui_EditSingleShortcutData.
Public Slots |
|
virtual void | accept () |
virtual void | reject () |
Public Member Functions |
|
EditSingleShortcut (QWidget *parent=NULL, const char *name="EditSingleShortcut", Qt::WFlags fl=0) | |
Constructor. |
|
QKeySequence const & | getKeySequence () const |
void | setIndex (const QModelIndex &index) |
void | reset () |
void | setup (const QString &shortcut) |
Protected Slots |
|
void | modeChanged_ (bool toggled) |
Protected Member Functions |
|
void | setErrorText (QString error) |
void | setShortcutText (QString new_keysequence) |
void | updateText_ () |
void | changeMode_ (bool mode) |
void | keyPressEvent (QKeyEvent *evt) |
void | keyReleaseEvent (QKeyEvent *evt) |
void | startRecording_ () |
void | stopRecording_ () |
Protected Attributes |
|
bool | is_recording_ |
unsigned int | modifiers_ |
int | key_ |
QKeySequence | new_sequence_ |