Isis 3 Developer Reference
AbstractTableDelegate.h
Go to the documentation of this file.
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 
AbstractTableDelegate()
Definition: AbstractTableDelegate.cpp:4
virtual ~AbstractTableDelegate()
Definition: AbstractTableDelegate.cpp:8
Definition: TableColumn.h:18
virtual void saveData(QWidget *, AbstractTreeItem *, TableColumn const *) const =0
virtual QWidget * getWidget(TableColumn const *) const =0
virtual void readData(QWidget *, AbstractTreeItem *, TableColumn const *) const =0
Base class for delegates which create, read, and save data in the tables.
Definition: AbstractTableDelegate.h:25
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31