Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
Medical Imaging Interaction Toolkit
mitkQtViewItem.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 _ViewItem
14 #define _ViewItem
15 
16 #include <QStandardItem>
17 #include <QString>
18 #include <berryPlatformUI.h>
19 
20 namespace mitk
21 {
22 
23 class QtViewItem : public QStandardItem
24 {
25 public:
26  QtViewItem(QString string) :
27  QStandardItem(string)
28  {
29  }
30  QtViewItem(const QIcon& icon, QString string) :
31  QStandardItem(icon, string)
32  {
33  }
34 
36  QStringList m_Tags;
37  QString m_Description;
38 
39 private:
40 
41 };
42 
43 }
44 
45 #endif
QtViewItem(QString string)
berry::IViewDescriptor::Pointer m_View
DataCollection - Class to facilitate loading/accessing structured data.
QStringList m_Tags
QtViewItem(const QIcon &icon, QString string)