Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkSearchLabelDialog_h_Included
18 #define QmitkSearchLabelDialog_h_Included
19 
21 
22 #include <ui_QmitkSearchLabelDialogGUI.h>
23 
24 #include <QCompleter>
25 #include <QDialog>
26 
28 {
29  Q_OBJECT
30 
31 public:
32  QmitkSearchLabelDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
33  virtual ~QmitkSearchLabelDialog();
34 
35  int GetLabelSetWidgetTableIndex();
36 
37  QString GetLabelSetWidgetTableCompleteWord();
38 
39  void SetLabelSuggestionList(QStringList stringList);
40 
41 signals:
42 
43  void goToLabel(int);
44 
45 public slots:
46 
47 protected slots:
48 
49  void OnLabelCompleterChanged(const QString &completedWord);
50 
51 protected:
52  Ui::QmitkSearchLabelDialogGUI *m_Controls;
53 
54  QCompleter *m_Completer;
55 
56  QStringList m_LabelList;
57 
59 
60  QString m_CompleteWord;
61 };
62 
63 #endif
Ui::QmitkSearchLabelDialogGUI * m_Controls
#define MITKSEGMENTATIONUI_EXPORT