Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
QmitkSearchLabelDialog.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef QmitkSearchLabelDialog_h_Included
14
#define QmitkSearchLabelDialog_h_Included
15
16
#include "
MitkSegmentationUIExports.h
"
17
18
#include <ui_QmitkSearchLabelDialogGUI.h>
19
20
#include <QCompleter>
21
#include <QDialog>
22
23
class
MITKSEGMENTATIONUI_EXPORT
QmitkSearchLabelDialog
:
public
QDialog
24
{
25
Q_OBJECT
26
27
public
:
28
QmitkSearchLabelDialog
(QWidget *parent =
nullptr
, Qt::WindowFlags f =
nullptr
);
29
~
QmitkSearchLabelDialog
()
override
;
30
31
int
GetLabelSetWidgetTableIndex();
32
33
QString GetLabelSetWidgetTableCompleteWord();
34
35
void
SetLabelSuggestionList(QStringList stringList);
36
37
signals:
38
39
void
goToLabel(
int
);
40
41
public
slots:
42
43
protected
slots:
44
45
void
OnLabelCompleterChanged(
const
QString &completedWord);
46
47
protected
:
48
Ui::QmitkSearchLabelDialogGUI *
m_Controls
;
49
50
QCompleter *
m_Completer
;
51
52
QStringList
m_LabelList
;
53
54
int
m_LabelIndex
;
55
56
QString
m_CompleteWord
;
57
};
58
59
#endif
QmitkSearchLabelDialog::m_LabelList
QStringList m_LabelList
Definition:
QmitkSearchLabelDialog.h:52
QmitkSearchLabelDialog::m_Completer
QCompleter * m_Completer
Definition:
QmitkSearchLabelDialog.h:50
QmitkSearchLabelDialog::m_CompleteWord
QString m_CompleteWord
Definition:
QmitkSearchLabelDialog.h:56
MitkSegmentationUIExports.h
QmitkSearchLabelDialog::m_Controls
Ui::QmitkSearchLabelDialogGUI * m_Controls
Definition:
QmitkSearchLabelDialog.h:48
QmitkSearchLabelDialog::m_LabelIndex
int m_LabelIndex
Definition:
QmitkSearchLabelDialog.h:54
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
QmitkSearchLabelDialog
Definition:
QmitkSearchLabelDialog.h:23
Source
Modules
SegmentationUI
Qmitk
QmitkSearchLabelDialog.h
Generated on Thu Mar 12 2020 10:24:12 for Medical Imaging Interaction Toolkit by
1.8.13