Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkHotkeyLineEdit Class Reference

#include <QmitkHotkeyLineEdit.h>

Inheritance diagram for QmitkHotkeyLineEdit:
Collaboration diagram for QmitkHotkeyLineEdit:

Public Member Functions

 QmitkHotkeyLineEdit (QWidget *parent=nullptr)
 
 QmitkHotkeyLineEdit (const QKeySequence &qKeySequence, QWidget *parent=nullptr)
 
 QmitkHotkeyLineEdit (const QString &qQString, 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

void keyPressEvent (QKeyEvent *event) override
 
void Init ()
 

Protected Attributes

QKeySequence m_KeySequence
 

Detailed Description

Definition at line 22 of file QmitkHotkeyLineEdit.h.

Constructor & Destructor Documentation

◆ QmitkHotkeyLineEdit() [1/3]

QmitkHotkeyLineEdit::QmitkHotkeyLineEdit ( QWidget *  parent = nullptr)

◆ QmitkHotkeyLineEdit() [2/3]

QmitkHotkeyLineEdit::QmitkHotkeyLineEdit ( const QKeySequence &  qKeySequence,
QWidget *  parent = nullptr 
)

◆ QmitkHotkeyLineEdit() [3/3]

QmitkHotkeyLineEdit::QmitkHotkeyLineEdit ( const QString &  qQString,
QWidget *  parent = nullptr 
)

Member Function Documentation

◆ GetKeySequence()

virtual QKeySequence QmitkHotkeyLineEdit::GetKeySequence ( )
virtual

◆ GetKeySequenceAsString()

virtual QString QmitkHotkeyLineEdit::GetKeySequenceAsString ( )
virtual

◆ Init()

void QmitkHotkeyLineEdit::Init ( )
protected

◆ keyPressEvent()

void QmitkHotkeyLineEdit::keyPressEvent ( QKeyEvent *  event)
overrideprotected

◆ LineEditTextChanged

void QmitkHotkeyLineEdit::LineEditTextChanged ( const QString &  )
protectedslot

◆ Matches()

bool QmitkHotkeyLineEdit::Matches ( QKeyEvent *  event)

◆ SetKeySequence() [1/2]

virtual void QmitkHotkeyLineEdit::SetKeySequence ( const QKeySequence &  qKeySequence)
virtual

◆ SetKeySequence() [2/2]

virtual void QmitkHotkeyLineEdit::SetKeySequence ( const QString &  qKeySequenceAsString)
virtual

Member Data Documentation

◆ m_KeySequence

QKeySequence QmitkHotkeyLineEdit::m_KeySequence
protected

Definition at line 49 of file QmitkHotkeyLineEdit.h.

◆ TOOLTIP

const std::string QmitkHotkeyLineEdit::TOOLTIP
static

Definition at line 28 of file QmitkHotkeyLineEdit.h.


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