Isis 3 Programmer Reference
TableColumn.h
1
#ifndef TableColumn_H
2
#define TableColumn_H
3
10
/* SPDX-License-Identifier: CC0-1.0 */
11
12
#include <QObject>
13
14
class
QString;
15
16
17
namespace
Isis
{
18
26
class
TableColumn
:
public
QObject
{
27
Q_OBJECT
28
29
public
:
30
explicit
TableColumn
(QString,
bool
,
bool
);
31
TableColumn
(
const
TableColumn
&);
32
virtual
~
TableColumn
();
33
QString getTitle()
const
;
34
void
setTitle(QString text);
35
TableColumn
&operator=(
TableColumn
);
36
bool
isVisible()
const
;
37
void
setVisible(
bool
);
38
int
getWidth()
const
;
39
void
setWidth(
int
);
40
bool
isReadOnly()
const
;
41
void
setReadOnly(
bool
);
42
bool
hasNetworkStructureEffect()
const
;
43
bool
sortAscending()
const
;
44
void
setSortAscending(
bool
ascending);
45
46
47
public
:
48
static
const
int
EDGE_WIDTH = 4;
49
50
51
signals:
52
void
selected(
TableColumn
*);
53
void
sortOutDated();
54
void
widthChanged();
55
void
visibilityChanged();
56
57
58
private
:
// methods
59
void
nullify();
60
61
62
private
:
// data
63
QString *m_title;
64
bool
m_visible;
65
bool
m_readOnly;
66
int
m_width;
67
bool
m_affectsNetworkStructure;
68
bool
m_ascendingSortOrder;
69
};
70
}
71
72
#endif
Isis::TableColumn
Definition:
TableColumn.h:26
QObject
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
qisis
objs
CnetEditorWidget
TableColumn.h