Isis 3 Programmer Reference
AbstractTableDelegate.h
1 #ifndef AbstractTableDelegate_H
2 #define AbstractTableDelegate_H
3 
4 #include <QObject>
5 
6 class QString;
7 class QWidget;
8 
9 namespace Isis {
10  class AbstractTreeItem;
11  class TableColumn;
12 
25  class AbstractTableDelegate : public QObject {
26  Q_OBJECT
27 
28  public:
30  virtual ~AbstractTableDelegate();
31 
32 
33  virtual QWidget *getWidget(TableColumn const *) const = 0;
34  virtual void readData(QWidget *, AbstractTreeItem *,
35  TableColumn const *) const = 0;
36  virtual void readData(QWidget *, AbstractTreeItem *,
37  TableColumn const *, QString) const = 0;
38  virtual void saveData(QWidget *, AbstractTreeItem *,
39  TableColumn const *) const = 0;
40 
41 
42  private:
44  AbstractTableDelegate &operator=(const AbstractTableDelegate &);
45  };
46 }
47 
48 #endif
49 
Base class for delegates which create, read, and save data in the tables.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.