Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkSearchLabelDialog Class Reference

#include <QmitkSearchLabelDialog.h>

Inheritance diagram for QmitkSearchLabelDialog:
Collaboration diagram for QmitkSearchLabelDialog:

Signals

void goToLabel (int)
 

Public Member Functions

 QmitkSearchLabelDialog (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 
 ~QmitkSearchLabelDialog () override
 
int GetLabelSetWidgetTableIndex ()
 
QString GetLabelSetWidgetTableCompleteWord ()
 
void SetLabelSuggestionList (QStringList stringList)
 

Protected Slots

void OnLabelCompleterChanged (const QString &completedWord)
 

Protected Attributes

Ui::QmitkSearchLabelDialogGUI * m_Controls
 
QCompleter * m_Completer
 
QStringList m_LabelList
 
int m_LabelIndex
 
QString m_CompleteWord
 

Detailed Description

Definition at line 23 of file QmitkSearchLabelDialog.h.

Constructor & Destructor Documentation

◆ QmitkSearchLabelDialog()

QmitkSearchLabelDialog::QmitkSearchLabelDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

◆ ~QmitkSearchLabelDialog()

QmitkSearchLabelDialog::~QmitkSearchLabelDialog ( )
override

Definition at line 45 of file QmitkSearchLabelDialog.cpp.

Member Function Documentation

◆ GetLabelSetWidgetTableCompleteWord()

QString QmitkSearchLabelDialog::GetLabelSetWidgetTableCompleteWord ( )

Definition at line 54 of file QmitkSearchLabelDialog.cpp.

References m_CompleteWord.

Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().

◆ GetLabelSetWidgetTableIndex()

int QmitkSearchLabelDialog::GetLabelSetWidgetTableIndex ( )

Definition at line 49 of file QmitkSearchLabelDialog.cpp.

References m_LabelIndex.

◆ goToLabel

void QmitkSearchLabelDialog::goToLabel ( int  )
signal

◆ OnLabelCompleterChanged

void QmitkSearchLabelDialog::OnLabelCompleterChanged ( const QString &  completedWord)
protectedslot

Definition at line 66 of file QmitkSearchLabelDialog.cpp.

References m_CompleteWord, m_LabelIndex, and m_LabelList.

Referenced by QmitkSearchLabelDialog().

◆ SetLabelSuggestionList()

void QmitkSearchLabelDialog::SetLabelSuggestionList ( QStringList  stringList)

Definition at line 59 of file QmitkSearchLabelDialog.cpp.

References m_Completer, and m_LabelList.

Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().

Member Data Documentation

◆ m_Completer

QCompleter* QmitkSearchLabelDialog::m_Completer
protected

Definition at line 50 of file QmitkSearchLabelDialog.h.

Referenced by QmitkSearchLabelDialog(), and SetLabelSuggestionList().

◆ m_CompleteWord

QString QmitkSearchLabelDialog::m_CompleteWord
protected

◆ m_Controls

Ui::QmitkSearchLabelDialogGUI* QmitkSearchLabelDialog::m_Controls
protected

Definition at line 48 of file QmitkSearchLabelDialog.h.

Referenced by QmitkSearchLabelDialog().

◆ m_LabelIndex

int QmitkSearchLabelDialog::m_LabelIndex
protected

◆ m_LabelList

QStringList QmitkSearchLabelDialog::m_LabelList
protected

Definition at line 52 of file QmitkSearchLabelDialog.h.

Referenced by OnLabelCompleterChanged(), and SetLabelSuggestionList().


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