Isis 3.0 Programmer Reference
Home
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
TableColumn.h
1
#ifndef TableColumn_H
2
#define TableColumn_H
3
4
#include <QObject>
5
6
class
QString;
7
8
9
namespace
Isis {
10
namespace
CnetViz {
11
18
class
TableColumn
:
public
QObject
{
19
Q_OBJECT
20
21
public
:
22
explicit
TableColumn
(QString,
bool
,
bool
);
23
TableColumn
(
const
TableColumn
&);
24
virtual
~
TableColumn
();
25
QString getTitle()
const
;
26
void
setTitle(QString text);
27
TableColumn
&operator=(
TableColumn
);
28
bool
isVisible()
const
;
29
void
setVisible(
bool
);
30
int
getWidth()
const
;
31
void
setWidth(
int
);
32
bool
isReadOnly()
const
;
33
void
setReadOnly(
bool
);
34
bool
hasNetworkStructureEffect()
const
;
35
bool
sortAscending()
const
;
36
void
setSortAscending(
bool
ascending);
37
38
39
public
:
40
static
const
int
EDGE_WIDTH = 4;
41
42
43
signals:
44
void
selected(
TableColumn
*);
45
void
sortOutDated();
46
void
widthChanged();
47
void
visibilityChanged();
48
49
50
private
:
// methods
51
void
nullify();
52
53
54
private
:
// data
55
QString *m_title;
56
bool
m_visible;
57
bool
m_readOnly;
58
int
m_width;
59
bool
m_affectsNetworkStructure;
60
bool
m_ascendingSortOrder;
61
};
62
}
63
}
64
65
#endif
Isis::CnetViz::TableColumn
Definition:
TableColumn.h:18
QObject