Marlin  1.10.0
 All Classes Namespaces Functions Variables Enumerations Friends Pages
paramdelegate.h
1 #ifndef PARAMDELEGATE_H
2 #define PARAMDELEGATE_H
3 
11 #include <QItemDelegate>
12 
13 #include "marlin/CCProcessor.h"
14 
15 class QTableWidget;
16 
17 using namespace marlin;
18 
19 class ParamDelegate : public QItemDelegate
20 {
21  Q_OBJECT
22 
23 public:
24  ParamDelegate(CCProcessor* p, QObject *parent = 0);
25 
26  QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
27  void setEditorData(QWidget *editor, const QModelIndex &index) const;
28  void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
29 
30 private:
31  CCProcessor* _p;
32  QTableWidget* _parent;
33 };
34 
35 #endif
handles information about marlin processors and their collections needed by MarlinSteerCheck ...
Definition: CCProcessor.h:39
Definition: paramdelegate.h:19