Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkHotkeyLineEdit.h>
Public Member Functions | |
QmitkHotkeyLineEdit (QWidget *parent=nullptr) | |
QmitkHotkeyLineEdit (const QKeySequence &_QKeySequence, QWidget *parent=nullptr) | |
QmitkHotkeyLineEdit (const QString &_QString, QWidget *parent=nullptr) | |
virtual void | SetKeySequence (const QKeySequence &_QKeySequence) |
virtual void | SetKeySequence (const QString &_QKeySequenceAsString) |
virtual QKeySequence | GetKeySequence () |
virtual QString | GetKeySequenceAsString () |
bool | Matches (QKeyEvent *event) |
Static Public Attributes | |
static const std::string | TOOLTIP |
Protected Slots | |
void | LineEditTextChanged (const QString &) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *event) override |
void | Init () |
Protected Attributes | |
QKeySequence | m_KeySequence |
Definition at line 25 of file QmitkHotkeyLineEdit.h.
QmitkHotkeyLineEdit::QmitkHotkeyLineEdit | ( | QWidget * | parent = nullptr | ) |
Definition at line 26 of file QmitkHotkeyLineEdit.cpp.
References Init().
QmitkHotkeyLineEdit::QmitkHotkeyLineEdit | ( | const QKeySequence & | _QKeySequence, |
QWidget * | parent = nullptr |
||
) |
Definition at line 31 of file QmitkHotkeyLineEdit.cpp.
References Init(), and SetKeySequence().
QmitkHotkeyLineEdit::QmitkHotkeyLineEdit | ( | const QString & | _QString, |
QWidget * | parent = nullptr |
||
) |
Definition at line 37 of file QmitkHotkeyLineEdit.cpp.
References Init(), and SetKeySequence().
|
virtual |
Definition at line 78 of file QmitkHotkeyLineEdit.cpp.
References m_KeySequence.
|
virtual |
Definition at line 83 of file QmitkHotkeyLineEdit.cpp.
References m_KeySequence.
|
protected |
Definition at line 43 of file QmitkHotkeyLineEdit.cpp.
References LineEditTextChanged(), and TOOLTIP.
Referenced by QmitkHotkeyLineEdit().
|
overrideprotectedvirtual |
Definition at line 50 of file QmitkHotkeyLineEdit.cpp.
References mitk::Key_Escape, mitk::Key_unknown, m_KeySequence, and SetKeySequence().
|
protectedslot |
Definition at line 98 of file QmitkHotkeyLineEdit.cpp.
References m_KeySequence.
Referenced by Init().
bool QmitkHotkeyLineEdit::Matches | ( | QKeyEvent * | event | ) |
Definition at line 88 of file QmitkHotkeyLineEdit.cpp.
References m_KeySequence.
|
virtual |
Definition at line 68 of file QmitkHotkeyLineEdit.cpp.
Referenced by keyPressEvent(), QmitkHotkeyLineEdit(), and SetKeySequence().
|
virtual |
Definition at line 73 of file QmitkHotkeyLineEdit.cpp.
References SetKeySequence().
|
protected |
Definition at line 49 of file QmitkHotkeyLineEdit.h.
Referenced by GetKeySequence(), GetKeySequenceAsString(), keyPressEvent(), LineEditTextChanged(), and Matches().
|
static |
Definition at line 30 of file QmitkHotkeyLineEdit.h.
Referenced by Init().