Marlin  01.17.01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
icoldelegate.h
Go to the documentation of this file.
1 #ifndef ICOLDELEGATE_H
2 #define ICOLDELEGATE_H
3 
11 #include <QItemDelegate>
12 
13 #include "marlin/CCProcessor.h"
15 
16 class QTableWidget;
17 
18 using namespace marlin;
19 
21 {
22  Q_OBJECT
23 
24 public:
25  IColDelegate(const IColDelegate&) = default ;
26  IColDelegate& operator=(const IColDelegate&) = default ;
27  IColDelegate(CCProcessor* p, MarlinSteerCheck* msc, const QString& name, const QString& type, QObject *parent = 0);
28 
29  QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
30  void setEditorData(QWidget *editor, const QModelIndex &index) const;
31  void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
32 
33 public slots:
34  void addCollection();
35  void remCollection();
36 
37 private:
38  std::string _name{};
39  std::string _type{};
40  CCProcessor* _p{};
42  QTableWidget* _parent{};
43 };
44 
45 #endif
this class is a Marlin Steering File consistency check Tool.
handles information about marlin processors and their collections needed by MarlinSteerCheck ...
Definition: CCProcessor.h:39
STL class.