Marlin  1.10.0
 All Classes Namespaces Functions Variables Enumerations Friends Pages
aprocdelegate.h
1 #ifndef APROCDELEGATE_H
2 #define APROCDELEGATE_H
3 
11 #include <QItemDelegate>
12 
13 class AProcDelegate : public QItemDelegate
14 {
15  Q_OBJECT
16 
17 public:
18  AProcDelegate(QObject *parent = 0);
19 
20  QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const;
21  void setEditorData(QWidget *editor, const QModelIndex &index) const;
22  void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const;
23 
24 private:
25  QObject* _parent;
26 };
27 
28 #endif
@ class Small delegate class for changing active processor's names
Definition: aprocdelegate.h:13