Isis 3 Programmer Reference
AbstractTableDelegate.h
1#ifndef AbstractTableDelegate_H
2#define AbstractTableDelegate_H
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include <QObject>
13
14class QString;
15class QWidget;
16
17namespace Isis {
18 class AbstractTreeItem;
19 class TableColumn;
20
34 Q_OBJECT
35
36 public:
38 virtual ~AbstractTableDelegate();
39
40
41 virtual QWidget *getWidget(TableColumn const *) const = 0;
42 virtual void readData(QWidget *, AbstractTreeItem *,
43 TableColumn const *) const = 0;
44 virtual void readData(QWidget *, AbstractTreeItem *,
45 TableColumn const *, QString) const = 0;
46 virtual void saveData(QWidget *, AbstractTreeItem *,
47 TableColumn const *) const = 0;
48
49
50 private:
53 };
54}
55
56#endif
Base class for delegates which create, read, and save data in the tables.
Base class for an item in the tree.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16