-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformmodel_8h_source.html
More file actions
113 lines (111 loc) · 36.1 KB
/
formmodel_8h_source.html
File metadata and controls
113 lines (111 loc) · 36.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenCK: formmodel.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="openck48x48.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenCK
 <span id="projectnumber">0.0.alpha1</span>
</div>
<div id="projectbrief">An Open Source replacement for Bethesda's Creation Kit written in C++ in the Qt framework.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_bdeba5f06b852fec80257c0bf4c3c36e.html">models</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">formmodel.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="formmodel_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">** formmodel.h</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">**</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">** Copyright © Beyond Skyrim Development Team, 2017.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">** This file is part of OPENCK (https://github.com/Beyond-Skyrim/openck)</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">**</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">** OpenCK is free software; this file may be used under the terms of the GNU</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">** General Public License version 3.0 or later as published by the Free Software</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">** Foundation and appearing in the file LICENSE.GPL included in the</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">** packaging of this file.</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">**</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">** OpenCK is distributed in the hope that it will be useful,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">** but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">**</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">** Please review the following information to ensure the GNU General Public</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">** License version 3.0 requirements will be met:</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">** http://www.gnu.org/copyleft/gpl.html.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">**</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment">** You should have received a copy of the GNU General Public License version</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">** 3.0 along with OpenCK; if not, write to the Free Software Foundation,</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">** Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">**</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment">** Created Date: 18-Jul-2017</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">*/</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#ifndef FORMMODEL_H</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#define FORMMODEL_H</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <QAbstractItemModel></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <QVector></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <QVariant></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <QList></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <QObject></span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <<a class="code" href="form_8h.html">data/form.h</a>></span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <<a class="code" href="tes4form_8h.html">data/records/tes4form.h</a>></span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <data/records/gamesettingform.h></span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include <data/records/rgbform.h></span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include <<a class="code" href="texturesetform_8h.html">data/records/texturesetform.h</a>></span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <data/records/globalvariableform.h></span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include <<a class="code" href="classform_8h.html">data/records/classform.h</a>></span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">namespace </span><a class="code" href="namespacemodels.html">models</a></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model_item.html"> 53</a></span>  <span class="keyword">class </span><a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a> : <span class="keyword">public</span> QObject</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  Q_OBJECT</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">explicit</span> <a class="code" href="classmodels_1_1_form_model_item.html#ae412ca55214ec9cfec785242123fad1b">FormModelItem</a>(<span class="keyword">const</span> QVector<QVariant> &<a class="code" href="classmodels_1_1_form_model_item.html#a5c15ed39d8f570f14ce84b38fc284d03">data</a>, <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* <a class="code" href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">parent</a> = 0);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classmodels_1_1_form_model_item.html#a97c23bdf76bca590bd8dfa8f7a4c2aa4">~FormModelItem</a>();</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* <a class="code" href="classmodels_1_1_form_model_item.html#aa9e526cb2cc3876c3427c1c8ce4e1829">child</a>(<span class="keywordtype">int</span> number);</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* <a class="code" href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">parent</a>();</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">int</span> <a class="code" href="classmodels_1_1_form_model_item.html#a879bfd2d5d309692481dd80b73ec0df9">childCount</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">int</span> <a class="code" href="classmodels_1_1_form_model_item.html#ae9caeefaaec08f49990a232a5f76888b">columnCount</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  QVariant <a class="code" href="classmodels_1_1_form_model_item.html#a5c15ed39d8f570f14ce84b38fc284d03">data</a>(<span class="keywordtype">int</span> column) <span class="keyword">const</span>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#af35f50a16414d040ae48a5ac545514a8">insertChildren</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> count, <span class="keywordtype">int</span> columns);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#adb6f964605ae050566252f8535e5bf72">insertColumns</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> columns);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#a923ac2d8a72765252bc7a15a3cec8507">removeChildren</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> count);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#a5e59ede239edb1eef349037ed843e9fc">removeColumns</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> columns);</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">int</span> <a class="code" href="classmodels_1_1_form_model_item.html#a0116c058db06496566f57c78804c2a90">childNumber</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#a6958e979fe34025973c4c040b7633a07">setData</a>(<span class="keywordtype">int</span> column, <span class="keyword">const</span> QVariant &value);</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model_item.html#a6176e36eaba633184b7da27a9aa578b5"> 77</a></span>  <a class="code" href="classesx_1_1_form.html">esx::Form</a>* <a class="code" href="classmodels_1_1_form_model_item.html#a6176e36eaba633184b7da27a9aa578b5">formData</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model_item.html#ae3d01b612c8565ef6ec234e647cae2b9"> 82</a></span>  QList<FormModelItem*> <a class="code" href="classmodels_1_1_form_model_item.html#ae3d01b612c8565ef6ec234e647cae2b9">childItems</a>;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model_item.html#a0aa16f6463d9e80127308acd7b94ea00"> 89</a></span>  QVector<QVariant> <a class="code" href="classmodels_1_1_form_model_item.html#a0aa16f6463d9e80127308acd7b94ea00">itemData</a>;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model_item.html#aad6f414bbac4067fd6459083264bb9a5"> 94</a></span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* <a class="code" href="classmodels_1_1_form_model_item.html#aad6f414bbac4067fd6459083264bb9a5">parentItem</a>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  };</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model.html"> 101</a></span>  <span class="keyword">class </span><a class="code" href="classmodels_1_1_form_model.html">FormModel</a> : <span class="keyword">public</span> QAbstractItemModel</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  Q_OBJECT</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classmodels_1_1_form_model.html">FormModel</a>(<span class="keyword">const</span> QStringList &headers, QObject* <a class="code" href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">parent</a> = 0);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  ~<a class="code" href="classmodels_1_1_form_model.html">FormModel</a>();</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  QVariant <a class="code" href="classmodels_1_1_form_model_item.html#a5c15ed39d8f570f14ce84b38fc284d03">data</a>(<span class="keyword">const</span> QModelIndex &index, <span class="keywordtype">int</span> role) <span class="keyword">const override</span>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  QVariant headerData(<span class="keywordtype">int</span> section, Qt::Orientation orientation,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordtype">int</span> role = Qt::DisplayRole) <span class="keyword">const override</span>;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  QModelIndex index(<span class="keywordtype">int</span> row, <span class="keywordtype">int</span> column, <span class="keyword">const</span> QModelIndex &<a class="code" href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">parent</a> = QModelIndex()) <span class="keyword">const override</span>;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  QModelIndex <a class="code" href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">parent</a>(<span class="keyword">const</span> QModelIndex &index) <span class="keyword">const override</span>;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">int</span> rowCount(<span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">const override</span>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">int</span> <a class="code" href="classmodels_1_1_form_model_item.html#ae9caeefaaec08f49990a232a5f76888b">columnCount</a>(<span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">const override</span>;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#adb6f964605ae050566252f8535e5bf72">insertColumns</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> columns,</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">override</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">bool</span> <a class="code" href="classmodels_1_1_form_model_item.html#a5e59ede239edb1eef349037ed843e9fc">removeColumns</a>(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> columns,</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">override</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">bool</span> insertRows(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> rows,</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">override</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">bool</span> removeRows(<span class="keywordtype">int</span> position, <span class="keywordtype">int</span> rows,</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">const</span> QModelIndex &parent = QModelIndex()) <span class="keyword">override</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* getItem(<span class="keyword">const</span> QModelIndex &index) <span class="keyword">const</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">public</span> slots:</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">void</span> readTES4(<a class="code" href="classesx_1_1_t_e_s4_form.html">esx::TES4Form</a>& TES4);</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> readGMST(<a class="code" href="classesx_1_1_game_setting_form.html">esx::GameSettingForm</a>& GMST);</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordtype">void</span> readRGB(<a class="code" href="classesx_1_1_rgb_form.html">esx::RgbForm</a>& RGB);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">void</span> readTXST(<a class="code" href="classesx_1_1_texture_set_form.html">esx::TextureSetForm</a>& TXST);</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordtype">void</span> readGLOB(<a class="code" href="classesx_1_1_global_variable_form.html">esx::GlobalVariableForm</a>& GLOB);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">void</span> readCLAS(<a class="code" href="classesx_1_1_class_form.html">esx::ClassForm</a>& CLAS);</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordtype">void</span> formatModel(<span class="keyword">const</span> <a class="code" href="classesx_1_1_form.html">esx::Form</a>& form, <span class="keyword">const</span> QString name);</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">void</span> readFormHeader(<span class="keyword">const</span> <a class="code" href="classesx_1_1_form_header.html">esx::FormHeader</a>* header);</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* insertFormHeader(<a class="code" href="classesx_1_1_form_header.html">esx::FormHeader</a>* header, <span class="keywordtype">int</span> fileNumber);</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="classmodels_1_1_form_model.html#a91732e83ccf3e607fe30070fcb8b908e"> 142</a></span>  <a class="code" href="classmodels_1_1_form_model_item.html">FormModelItem</a>* <a class="code" href="classmodels_1_1_form_model.html#a91732e83ccf3e607fe30070fcb8b908e">rootItem</a>;</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  };</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> }</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor">#endif // FILEMODEL_H</span></div><div class="ttc" id="classmodels_1_1_form_model_item_html_a879bfd2d5d309692481dd80b73ec0df9"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a879bfd2d5d309692481dd80b73ec0df9">models::FormModelItem::childCount</a></div><div class="ttdeci">int childCount() const</div><div class="ttdoc">Returns number of children. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:83</div></div>
<div class="ttc" id="classesx_1_1_t_e_s4_form_html"><div class="ttname"><a href="classesx_1_1_t_e_s4_form.html">esx::TES4Form</a></div><div class="ttdoc">The class for the TES4 header. </div><div class="ttdef"><b>Definition:</b> tes4form.h:50</div></div>
<div class="ttc" id="texturesetform_8h_html"><div class="ttname"><a href="texturesetform_8h.html">texturesetform.h</a></div><div class="ttdoc">Header for the generic RGB record class. </div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a923ac2d8a72765252bc7a15a3cec8507"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a923ac2d8a72765252bc7a15a3cec8507">models::FormModelItem::removeChildren</a></div><div class="ttdeci">bool removeChildren(int position, int count)</div><div class="ttdoc">Remove children. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:170</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a0aa16f6463d9e80127308acd7b94ea00"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a0aa16f6463d9e80127308acd7b94ea00">models::FormModelItem::itemData</a></div><div class="ttdeci">QVector< QVariant > itemData</div><div class="ttdoc">itemData Vector of data entries. </div><div class="ttdef"><b>Definition:</b> formmodel.h:89</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_ae412ca55214ec9cfec785242123fad1b"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#ae412ca55214ec9cfec785242123fad1b">models::FormModelItem::FormModelItem</a></div><div class="ttdeci">FormModelItem(const QVector< QVariant > &data, FormModelItem *parent=0)</div><div class="ttdoc">Initialise FileModelItem. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:42</div></div>
<div class="ttc" id="classesx_1_1_game_setting_form_html"><div class="ttname"><a href="classesx_1_1_game_setting_form.html">esx::GameSettingForm</a></div><div class="ttdoc">The Game Settings form. </div><div class="ttdef"><b>Definition:</b> gamesettingform.h:45</div></div>
<div class="ttc" id="tes4form_8h_html"><div class="ttname"><a href="tes4form_8h.html">tes4form.h</a></div><div class="ttdoc">Header for the TES4 record class. </div></div>
<div class="ttc" id="classesx_1_1_form_html"><div class="ttname"><a href="classesx_1_1_form.html">esx::Form</a></div><div class="ttdoc">The base class for forms in .esp and .esm files. </div><div class="ttdef"><b>Definition:</b> form.h:98</div></div>
<div class="ttc" id="namespacemodels_html"><div class="ttname"><a href="namespacemodels.html">models</a></div><div class="ttdef"><b>Definition:</b> filemodel.cpp:30</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html"><div class="ttname"><a href="classmodels_1_1_form_model_item.html">models::FormModelItem</a></div><div class="ttdoc">The class for items in the File Model. </div><div class="ttdef"><b>Definition:</b> formmodel.h:53</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a97c23bdf76bca590bd8dfa8f7a4c2aa4"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a97c23bdf76bca590bd8dfa8f7a4c2aa4">models::FormModelItem::~FormModelItem</a></div><div class="ttdeci">~FormModelItem()</div><div class="ttdoc">Destructor. Delete all children. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:52</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_aa9e526cb2cc3876c3427c1c8ce4e1829"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#aa9e526cb2cc3876c3427c1c8ce4e1829">models::FormModelItem::child</a></div><div class="ttdeci">FormModelItem * child(int number)</div><div class="ttdoc">Returns a child item. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:73</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_adb6f964605ae050566252f8535e5bf72"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#adb6f964605ae050566252f8535e5bf72">models::FormModelItem::insertColumns</a></div><div class="ttdeci">bool insertColumns(int position, int columns)</div><div class="ttdoc">Add columns to model. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:190</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a6958e979fe34025973c4c040b7633a07"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a6958e979fe34025973c4c040b7633a07">models::FormModelItem::setData</a></div><div class="ttdeci">bool setData(int column, const QVariant &value)</div><div class="ttdoc">Set data in a certain column. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:130</div></div>
<div class="ttc" id="classesx_1_1_global_variable_form_html"><div class="ttname"><a href="classesx_1_1_global_variable_form.html">esx::GlobalVariableForm</a></div><div class="ttdoc">The Global Variable form. </div><div class="ttdef"><b>Definition:</b> globalvariableform.h:47</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_af35f50a16414d040ae48a5ac545514a8"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#af35f50a16414d040ae48a5ac545514a8">models::FormModelItem::insertChildren</a></div><div class="ttdeci">bool insertChildren(int position, int count, int columns)</div><div class="ttdoc">Add children to the item. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:148</div></div>
<div class="ttc" id="classmodels_1_1_form_model_html"><div class="ttname"><a href="classmodels_1_1_form_model.html">models::FormModel</a></div><div class="ttdoc">The view model for files in the UI. </div><div class="ttdef"><b>Definition:</b> formmodel.h:101</div></div>
<div class="ttc" id="form_8h_html"><div class="ttname"><a href="form_8h.html">form.h</a></div><div class="ttdoc">Header for the abstract form class. </div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_ae9caeefaaec08f49990a232a5f76888b"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#ae9caeefaaec08f49990a232a5f76888b">models::FormModelItem::columnCount</a></div><div class="ttdeci">int columnCount() const</div><div class="ttdoc">Returns number of columns. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:107</div></div>
<div class="ttc" id="classesx_1_1_class_form_html"><div class="ttname"><a href="classesx_1_1_class_form.html">esx::ClassForm</a></div><div class="ttdoc">The Class Form. </div><div class="ttdef"><b>Definition:</b> classform.h:67</div></div>
<div class="ttc" id="classesx_1_1_rgb_form_html"><div class="ttname"><a href="classesx_1_1_rgb_form.html">esx::RgbForm</a></div><div class="ttdoc">The RGB Form. </div><div class="ttdef"><b>Definition:</b> rgbform.h:47</div></div>
<div class="ttc" id="classmodels_1_1_form_model_html_a91732e83ccf3e607fe30070fcb8b908e"><div class="ttname"><a href="classmodels_1_1_form_model.html#a91732e83ccf3e607fe30070fcb8b908e">models::FormModel::rootItem</a></div><div class="ttdeci">FormModelItem * rootItem</div><div class="ttdoc">Root of model. </div><div class="ttdef"><b>Definition:</b> formmodel.h:142</div></div>
<div class="ttc" id="classesx_1_1_texture_set_form_html"><div class="ttname"><a href="classesx_1_1_texture_set_form.html">esx::TextureSetForm</a></div><div class="ttdef"><b>Definition:</b> texturesetform.h:61</div></div>
<div class="ttc" id="classesx_1_1_form_header_html"><div class="ttname"><a href="classesx_1_1_form_header.html">esx::FormHeader</a></div><div class="ttdoc">The header of the nonparsed form. </div><div class="ttdef"><b>Definition:</b> form.h:82</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a5e59ede239edb1eef349037ed843e9fc"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a5e59ede239edb1eef349037ed843e9fc">models::FormModelItem::removeColumns</a></div><div class="ttdeci">bool removeColumns(int position, int columns)</div><div class="ttdoc">Remove columns from model. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:214</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_af2d828e494c67029c5d3f9a7dcb4b6b9"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#af2d828e494c67029c5d3f9a7dcb4b6b9">models::FormModelItem::parent</a></div><div class="ttdeci">FormModelItem * parent()</div><div class="ttdoc">Return the parent item. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:62</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a6176e36eaba633184b7da27a9aa578b5"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a6176e36eaba633184b7da27a9aa578b5">models::FormModelItem::formData</a></div><div class="ttdeci">esx::Form * formData</div><div class="ttdoc">formData Form data structure. </div><div class="ttdef"><b>Definition:</b> formmodel.h:77</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_ae3d01b612c8565ef6ec234e647cae2b9"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#ae3d01b612c8565ef6ec234e647cae2b9">models::FormModelItem::childItems</a></div><div class="ttdeci">QList< FormModelItem * > childItems</div><div class="ttdoc">childItems List of child items. </div><div class="ttdef"><b>Definition:</b> formmodel.h:82</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a5c15ed39d8f570f14ce84b38fc284d03"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a5c15ed39d8f570f14ce84b38fc284d03">models::FormModelItem::data</a></div><div class="ttdeci">QVariant data(int column) const</div><div class="ttdoc">Returns data contained in one column. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:118</div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_aad6f414bbac4067fd6459083264bb9a5"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#aad6f414bbac4067fd6459083264bb9a5">models::FormModelItem::parentItem</a></div><div class="ttdeci">FormModelItem * parentItem</div><div class="ttdoc">parentItem Pointer to parent item. </div><div class="ttdef"><b>Definition:</b> formmodel.h:94</div></div>
<div class="ttc" id="classform_8h_html"><div class="ttname"><a href="classform_8h.html">classform.h</a></div><div class="ttdoc">Header for the Class form class. </div></div>
<div class="ttc" id="classmodels_1_1_form_model_item_html_a0116c058db06496566f57c78804c2a90"><div class="ttname"><a href="classmodels_1_1_form_model_item.html#a0116c058db06496566f57c78804c2a90">models::FormModelItem::childNumber</a></div><div class="ttdeci">int childNumber() const</div><div class="ttdoc">Returns a child item. </div><div class="ttdef"><b>Definition:</b> formmodel.cpp:93</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Mar 14 2018 18:39:56 for OpenCK by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>