Marlin  1.17.1
 All Classes Namespaces Functions Variables Enumerations Friends Pages
icoltdelegate.h
1 #ifndef ICOLTDELEGATE_H
2 #define ICOLTDELEGATE_H
3 
11 #include <QItemDelegate>
12 
13 #include "marlin/CCProcessor.h"
14 #include "marlin/MarlinSteerCheck.h"
15 
16 class QTableWidget;
17 
18 using namespace marlin;
19 
20 class IColTDelegate : public QItemDelegate
21 {
22  Q_OBJECT
23 
24 public:
25  IColTDelegate(const IColTDelegate&) = default ;
26  IColTDelegate& operator=(const IColTDelegate&) = default ;
27  IColTDelegate(CCProcessor* p, MarlinSteerCheck* msc, 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 private:
34  CCProcessor* _p{};
35  MarlinSteerCheck* _msc{};
36  QTableWidget* _parent{};
37 };
38 
39 #endif
this class is a Marlin Steering File consistency check Tool.
Definition: MarlinSteerCheck.h:72
Definition: icoltdelegate.h:20
handles information about marlin processors and their collections needed by MarlinSteerCheck ...
Definition: CCProcessor.h:39