1 #ifndef CSM_WOLRD_COLUMNBASE_H
2 #define CSM_WOLRD_COLUMNBASE_H
156 virtual std::string
getTitle()
const;
158 virtual int getId()
const;
184 template<
typename ESXRecordT>
194 throw std::logic_error (
"Column " +
getTitle() +
" is not editable");
198 template<
typename ESXRecordT>
Definition: columnbase.hpp:73
Definition: columnbase.hpp:81
Flags
Definition: columnbase.hpp:31
Definition: columnbase.hpp:56
Definition: columnbase.hpp:112
Definition: columnbase.hpp:48
Definition: columnbase.hpp:229
Definition: columnbase.hpp:47
Definition: columnbase.hpp:61
int mFlags
Definition: columnbase.hpp:144
Definition: columnbase.hpp:114
Column(int columnId, Display displayType, int flags=Flag_Table|Flag_Dialogue)
Definition: columnbase.hpp:187
virtual bool isEditable() const
Definition: columnbase.cpp:150
Definition: columnbase.hpp:77
Definition: columnbase.hpp:83
Definition: columnbase.hpp:136
Definition: columnbase.hpp:19
Definition: columnbase.hpp:109
virtual ~ColumnBase()
Definition: columnbase.cpp:9
Definition: columnbase.hpp:113
Definition: columnbase.hpp:104
Definition: columnbase.hpp:55
Definition: columnbase.hpp:80
const ColumnBase & nestedColumn(int subColumn) const
Definition: columnbase.cpp:119
Definition: columnbase.hpp:167
Definition: columnbase.hpp:94
NestableColumn(int columnId, Display displayType, int flag)
Definition: columnbase.cpp:127
Definition: columnbase.hpp:42
Display
Definition: columnbase.hpp:39
Definition: columnbase.hpp:120
Definition: columnbase.hpp:117
Definition: columnbase.hpp:68
Definition: columnbase.hpp:107
Definition: columnbase.hpp:123
Definition: columnbase.hpp:95
Definition: columnbase.hpp:62
Definition: columnbase.hpp:91
Definition: columnbase.hpp:125
virtual int getId() const
Definition: columnbase.cpp:21
Definition: columnbase.hpp:72
Definition: columnbase.hpp:99
Definition: columnbase.hpp:33
Definition: columnbase.hpp:102
Definition: columnbase.hpp:49
Definition: columnbase.hpp:36
TableEditModes
Definition: columnbase.hpp:17
static bool isScript(Display display)
Definition: columnbase.cpp:109
virtual bool isUserEditable() const
Can this column be edited directly by the user?
Definition: columnbase.cpp:11
Definition: columnbase.hpp:131
Definition: columnbase.hpp:64
Definition: columnbase.hpp:124
Definition: columnbase.hpp:108
Definition: columnbase.hpp:20
Definition: columnbase.hpp:130
Definition: columnbase.hpp:121
int mColumnId
Definition: columnbase.hpp:143
Definition: columnbase.hpp:78
virtual bool isEditable() const =0
Definition: columnbase.hpp:93
Definition: columnbase.hpp:101
Definition: columnbase.hpp:79
Definition: columnbase.hpp:74
Definition: columnbase.hpp:129
Definition: columnbase.hpp:69
bool mFixedRows
Definition: columnbase.hpp:226
Definition: columnbase.hpp:27
Definition: nestedcolumnadapter.hpp:11
Definition: columnbase.hpp:67
NestedParentColumn(int id, int flags=ColumnBase::Flag_Dialogue, bool fixedRows=false)
Definition: columnbase.hpp:201
Definition: columnbase.hpp:185
Definition: columnbase.hpp:85
Definition: columnbase.hpp:135
Definition: columnbase.hpp:71
Definition: columnbase.hpp:46
Display mDisplayType
Definition: columnbase.hpp:145
Definition: columnbase.hpp:76
Definition: columnbase.hpp:63
Definition: columnbase.hpp:57
Definition: columnbase.hpp:105
Definition: columnbase.hpp:82
Definition: columnbase.hpp:100
ColumnBase(int columnId, Display displayType, int flag)
Definition: columnbase.cpp:5
Definition: columnbase.hpp:199
Definition: columnbase.hpp:110
Definition: columnbase.hpp:70
virtual void set(Record< ESXRecordT > &record, const QVariant &data)
Definition: columnbase.hpp:205
Definition: columnbase.hpp:128
Definition: columnbase.hpp:115
Definition: columnbase.hpp:21
Definition: columnbase.hpp:58
Definition: columnbase.hpp:54
Definition: columnbase.hpp:133
Definition: columnbase.hpp:126
Definition: columnbase.hpp:122
Definition: columnbase.hpp:111
static bool isText(Display display)
Definition: columnbase.cpp:103
Definition: columnbase.hpp:41
Definition: columnbase.hpp:66
Definition: columnbase.hpp:84
Definition: columnbase.hpp:89
Definition: columnbase.hpp:35
Definition: columnbase.hpp:98
virtual std::string getTitle() const
Definition: columnbase.cpp:16
Definition: columnbase.hpp:88
Definition: columnbase.hpp:140
NestedChildColumn(int id, Display display, int flags=ColumnBase::Flag_Dialogue, bool isEditable=true)
Definition: columnbase.cpp:145
Definition: columnbase.hpp:15
Definition: columnbase.hpp:26
void addColumn(CSMWorld::NestableColumn *column)
Definition: columnbase.cpp:114
std::vector< NestableColumn * > mNestedColumns
Definition: columnbase.hpp:169
Definition: columnbase.hpp:116
Definition: columnbase.hpp:75
static bool isId(Display display)
Definition: columnbase.cpp:26
Definition: columnbase.hpp:59
bool hasChildren() const
Definition: columnbase.cpp:140
Definition: columnbase.hpp:43
Definition: columnbase.hpp:106
Definition: columnbase.hpp:119
Definition: columnbase.hpp:97
Definition: columnbase.hpp:60
Definition: columnbase.hpp:51
virtual void set(Record< ESXRecordT > &record, const QVariant &data)
Definition: columnbase.hpp:192
~NestableColumn()
Definition: columnbase.cpp:132
Definition: columnbase.hpp:127
Definition: columnbase.hpp:96
Definition: columnbase.hpp:34
Roles
Definition: columnbase.hpp:24
bool mIsEditable
Definition: columnbase.hpp:237
Definition: columnbase.hpp:28
Definition: columnbase.hpp:92
Definition: columnbase.hpp:90
Definition: columnbase.hpp:132
Definition: columnbase.hpp:65
Definition: columnbase.hpp:52
Definition: columnbase.hpp:103
Definition: columnbase.hpp:137
Definition: columnbase.hpp:50
Definition: columnbase.hpp:53
Definition: columnbase.hpp:118
virtual bool isEditable() const
Definition: columnbase.hpp:220