#include <BALL/VIEW/DIALOGS/editSingleShortcut.h>
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_ |
Widget for customizing BALLView shortcuts
BALL::VIEW::EditSingleShortcut::EditSingleShortcut | ( | QWidget * | parent = NULL , |
const char * | name = "EditSingleShortcut" , |
||
Qt::WFlags | fl = 0 |
||
) |
Constructor.
virtual void BALL::VIEW::EditSingleShortcut::accept | ( | ) | [virtual, slot] |
void BALL::VIEW::EditSingleShortcut::changeMode_ | ( | bool | mode | ) | [protected] |
QKeySequence const& BALL::VIEW::EditSingleShortcut::getKeySequence | ( | ) | const [inline] |
void BALL::VIEW::EditSingleShortcut::keyPressEvent | ( | QKeyEvent * | evt | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::keyReleaseEvent | ( | QKeyEvent * | evt | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::modeChanged_ | ( | bool | toggled | ) | [protected, slot] |
virtual void BALL::VIEW::EditSingleShortcut::reject | ( | ) | [virtual, slot] |
void BALL::VIEW::EditSingleShortcut::reset | ( | ) |
void BALL::VIEW::EditSingleShortcut::setErrorText | ( | QString | error | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::setIndex | ( | const QModelIndex & | index | ) |
void BALL::VIEW::EditSingleShortcut::setShortcutText | ( | QString | new_keysequence | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::setup | ( | const QString & | shortcut | ) |
void BALL::VIEW::EditSingleShortcut::startRecording_ | ( | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::stopRecording_ | ( | ) | [protected] |
void BALL::VIEW::EditSingleShortcut::updateText_ | ( | ) | [protected] |
bool BALL::VIEW::EditSingleShortcut::is_recording_ [protected] |
int BALL::VIEW::EditSingleShortcut::key_ [protected] |
unsigned int BALL::VIEW::EditSingleShortcut::modifiers_ [protected] |
QKeySequence BALL::VIEW::EditSingleShortcut::new_sequence_ [protected] |