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
:
29
AbstractTableDelegate
();
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
:
43
AbstractTableDelegate
(
const
AbstractTableDelegate
&);
44
AbstractTableDelegate
&operator=(
const
AbstractTableDelegate
&);
45
};
46
}
47
48
#endif
49
Isis::TableColumn
Definition:
TableColumn.h:18
Isis::AbstractTableDelegate
Base class for delegates which create, read, and save data in the tables.
Definition:
AbstractTableDelegate.h:25
Isis
Namespace for ISIS/Bullet specific routines.
Definition:
Apollo.h:31
QObject
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition:
AbstractTreeItem.h:31
QWidget
src
qisis
objs
CnetEditorWidget
AbstractTableDelegate.h