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
14
class
QString;
15
class
QWidget
;
16
17
namespace
Isis
{
18
class
AbstractTreeItem;
19
class
TableColumn;
20
33
class
AbstractTableDelegate
:
public
QObject
{
34
Q_OBJECT
35
36
public
:
37
AbstractTableDelegate
();
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
:
51
AbstractTableDelegate
(
const
AbstractTableDelegate
&);
52
AbstractTableDelegate
&operator=(
const
AbstractTableDelegate
&);
53
};
54
}
55
56
#endif
QWidget
Isis::TableColumn
Definition:
TableColumn.h:26
Isis::AbstractTableDelegate
Base class for delegates which create, read, and save data in the tables.
Definition:
AbstractTableDelegate.h:33
QObject
Isis::AbstractTreeItem
Base class for an item in the tree.
Definition:
AbstractTreeItem.h:39
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
qisis
objs
CnetEditorWidget
AbstractTableDelegate.h