Isis Developer Reference
AbstractTableDelegate.h
Go to the documentation of this file.
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;
43 TableColumn const *) const = 0;
45 TableColumn const *, QString) const = 0;
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.
Definition AbstractTableDelegate.h:33
virtual void saveData(QWidget *, AbstractTreeItem *, TableColumn const *) const =0
virtual QWidget * getWidget(TableColumn const *) const =0
AbstractTableDelegate()
Definition AbstractTableDelegate.cpp:12
virtual ~AbstractTableDelegate()
Definition AbstractTableDelegate.cpp:16
virtual void readData(QWidget *, AbstractTreeItem *, TableColumn const *, QString) const =0
virtual void readData(QWidget *, AbstractTreeItem *, TableColumn const *) const =0
Base class for an item in the tree.
Definition AbstractTreeItem.h:39
Definition TableColumn.h:26
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16