-
Notifications
You must be signed in to change notification settings - Fork 0
/
Commands_8h_source.html
237 lines (237 loc) · 45.7 KB
/
Commands_8h_source.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!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.8"/>
<title>MapMap: Commands.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="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 style="padding-left: 0.5em;">
<div id="projectname">MapMap
 <span id="projectnumber">0.3.2</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Commands.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="Commands_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"> * Commands.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"> * (c) 2014 Sofian Audry -- info(@)sofianaudry(.)com</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * (c) 2014 Alexandre Quessy -- alexandre(@)quessy(.)net</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * (c) 2014 Dame Diongue -- baydamd(@)gmail(.)com</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * This program is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * along with this program. If not, see <http://www.gnu.org/licenses/>.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef COMMANDS_H_</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define COMMANDS_H_</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <QUndoCommand></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="MainWindow_8h.html">MainWindow.h</a>"</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="MapperGLCanvas_8h.html">MapperGLCanvas.h</a>"</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"><a class="line" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8a"> 29</a></span> <span class="keyword">enum</span> <a class="code" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8a">CommandId</a> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa1cf703848a1674affb60c2a05ac6fa2f"> 30</a></span>  <a class="code" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa1cf703848a1674affb60c2a05ac6fa2f">CMD_KEY_MOVE_VERTEX</a>,</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa4699a7d650d626485846d33d2748473f"> 31</a></span>  <a class="code" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa4699a7d650d626485846d33d2748473f">CMD_MOUSE_MOVE_VERTEX</a>,</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aaf3d1a6f12d614a1c66cc67040efde106"> 32</a></span>  <a class="code" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aaf3d1a6f12d614a1c66cc67040efde106">CMD_KEY_TRANSLATE_SHAPE</a>,</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aada9e0b21adec2cba1de4d783f4703c3b"> 33</a></span>  <a class="code" href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aada9e0b21adec2cba1de4d783f4703c3b">CMD_MOUSE_TRANSLATE_SHAPE</a>,</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classAddShapesCommand.html"> 36</a></span> <span class="keyword">class </span><a class="code" href="classAddShapesCommand.html">AddShapesCommand</a> : <span class="keyword">public</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a></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="keyword">public</span>:</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classAddShapesCommand.html#a5e9de315926a8e16e5c7296fb2df08be">AddShapesCommand</a>(<a class="code" href="classMainWindow.html">MainWindow</a> *mainWindow, <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> mappingId, <a class="code" href="classQUndoCommand.html">QUndoCommand</a> *parent = 0);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">void</span> <a class="code" href="classAddShapesCommand.html#acee7ba76607b5c87eed865844966a839">undo</a>();</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">void</span> <a class="code" href="classAddShapesCommand.html#a8521096ef210cc17c124f0ccb899a524">redo</a>();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classAddShapesCommand.html#ae41dfdf34ca1f16dc940d3caf89cf11b"> 44</a></span>  <a class="code" href="classMainWindow.html">MainWindow</a> *<a class="code" href="classAddShapesCommand.html#ae41dfdf34ca1f16dc940d3caf89cf11b">m_mainWindow</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classAddShapesCommand.html#a432259644660849e90f6d8bf81f13b07"> 45</a></span>  <a class="code" href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc">Mapping::ptr</a> <a class="code" href="classAddShapesCommand.html#a432259644660849e90f6d8bf81f13b07">m_mappingPtr</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classAddShapesCommand.html#aeda905b60411fc31a89d3cc48bdc06b2"> 46</a></span>  <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <a class="code" href="classAddShapesCommand.html#aeda905b60411fc31a89d3cc48bdc06b2">m_mappingId</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html"> 50</a></span> <span class="keyword">class </span><a class="code" href="classTransformShapeCommand.html">TransformShapeCommand</a> : <span class="keyword">public</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> {</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc"> 53</a></span>  <span class="keyword">enum</span> <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc">TransformShapeOption</a> {</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccad91774baa7f734488e4ae1d03d625297"> 54</a></span>  <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccad91774baa7f734488e4ae1d03d625297">STEP</a>,</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcca4f8b9a81c2d4289f26ccfa99a47de618"> 55</a></span>  <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcca4f8b9a81c2d4289f26ccfa99a47de618">FREE</a>,</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccaef667f7efdfd9d0e41f516995adfea87"> 56</a></span>  <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccaef667f7efdfd9d0e41f516995adfea87">RELEASE</a>,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  };</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classTransformShapeCommand.html#a38361c52c867d2abcbd47d1309bcef37">TransformShapeCommand</a>(<a class="code" href="classMapperGLCanvas.html">MapperGLCanvas</a>* canvas, <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc">TransformShapeOption</a> option, <a class="code" href="classQUndoCommand.html">QUndoCommand</a> *parent = 0);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTransformShapeCommand.html#adefad09c09e0ab150439fed8c45262db">undo</a>();</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTransformShapeCommand.html#a160b6c68b1b4a0d89e5492444ae60820">redo</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classTransformShapeCommand.html#a82a79f1952b20ceb7207af9139efd1b2">mergeWith</a>(<span class="keyword">const</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a>* other);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// Perform the actual transformation on the shape.</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTransformShapeCommand.html#ab8c89495a7cc8008a3570d91927b2b76">_doTransform</a>(<a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape) = 0;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// Information pertaining to the shape context.</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a5a54859a241c5b67a2ed4a04e437557a"> 69</a></span>  <a class="code" href="classMapperGLCanvas.html">MapperGLCanvas</a>* <a class="code" href="classTransformShapeCommand.html#a5a54859a241c5b67a2ed4a04e437557a">_canvas</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a3c0864b206cb66903391686870441cfd"> 70</a></span>  QWeakPointer<MShape> <a class="code" href="classTransformShapeCommand.html#a3c0864b206cb66903391686870441cfd">_shape</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Did we use keys to move that vertex?</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#a642e6e5411e0591724caa2e9b533cac7"> 73</a></span>  <span class="keywordtype">int</span> <a class="code" href="classTransformShapeCommand.html#a642e6e5411e0591724caa2e9b533cac7">_option</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Clone of the original shape used for undoing purposes.</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classTransformShapeCommand.html#adb880f2ee5914de57a6a1949c85775e7"> 76</a></span>  <a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> <a class="code" href="classTransformShapeCommand.html#adb880f2ee5914de57a6a1949c85775e7">_originalShape</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> };</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classMoveVertexCommand.html"> 79</a></span> <span class="keyword">class </span><a class="code" href="classMoveVertexCommand.html">MoveVertexCommand</a> : <span class="keyword">public</span> <a class="code" href="classTransformShapeCommand.html">TransformShapeCommand</a></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> {</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classMoveVertexCommand.html#aa87476a6ff326e7149c5cf41cfed385f">MoveVertexCommand</a>(<a class="code" href="classMapperGLCanvas.html">MapperGLCanvas</a>* canvas, <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc">TransformShapeOption</a> option, <span class="keywordtype">int</span> activeVertex, <span class="keyword">const</span> QPointF &point, <a class="code" href="classQUndoCommand.html">QUndoCommand</a> *parent = 0);</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="keywordtype">int</span> <a class="code" href="classMoveVertexCommand.html#a4a48b70f363531e5a248c7800413b3af">id</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">bool</span> <a class="code" href="classMoveVertexCommand.html#ad0ae3a89865911dd555e58188717e647">mergeWith</a>(<span class="keyword">const</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a>* other);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// Perform the actual transformation on the shape.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classMoveVertexCommand.html#a419ad892aebc3caf6889a11f76c3ecb4">_doTransform</a>(<a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape);</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// Information pertaining to the moving of vertex.</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classMoveVertexCommand.html#aa6eb2e94f1101cfb4a0ab954beebf1be"> 92</a></span>  <span class="keywordtype">int</span> <a class="code" href="classMoveVertexCommand.html#aa6eb2e94f1101cfb4a0ab954beebf1be">_movedVertex</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classMoveVertexCommand.html#ac4f366e1e0706dfb53ec065732e256c8"> 93</a></span>  QPointF <a class="code" href="classMoveVertexCommand.html#ac4f366e1e0706dfb53ec065732e256c8">_vertexPosition</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> };</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classTranslateShapeCommand.html"> 96</a></span> <span class="keyword">class </span><a class="code" href="classTranslateShapeCommand.html">TranslateShapeCommand</a> : <span class="keyword">public</span> <a class="code" href="classTransformShapeCommand.html">TransformShapeCommand</a></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> {</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <a class="code" href="classTranslateShapeCommand.html#a4152acd9d24de8a7df44472fb9f77619">TranslateShapeCommand</a>(<a class="code" href="classMapperGLCanvas.html">MapperGLCanvas</a> *canvas, <a class="code" href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc">TransformShapeOption</a> option, <span class="keyword">const</span> QPointF &translation, <a class="code" href="classQUndoCommand.html">QUndoCommand</a> *parent = 0);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">int</span> <a class="code" href="classTranslateShapeCommand.html#ac3986303c37f62e6fa6a36283a48347a">id</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">bool</span> <a class="code" href="classTranslateShapeCommand.html#ae24ea59895ee9b3f4e71e4f3fbd95d26">mergeWith</a>(<span class="keyword">const</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a>* other);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">// Perform the actual transformation on the shape.</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTranslateShapeCommand.html#afb01c5885370b1b63780abcbaa503c15">_doTransform</a>(<a class="code" href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a> shape);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classTranslateShapeCommand.html#a0299cb061df117f82f85fffb23444714"> 109</a></span>  QPointF <a class="code" href="classTranslateShapeCommand.html#a0299cb061df117f82f85fffb23444714">_translation</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> };</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classDeleteMappingCommand.html"> 112</a></span> <span class="keyword">class </span><a class="code" href="classDeleteMappingCommand.html">DeleteMappingCommand</a> : <span class="keyword">public</span> <a class="code" href="classQUndoCommand.html">QUndoCommand</a></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> {</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="classDeleteMappingCommand.html#a0c544e2eccccecdfd6925e88739a7465">DeleteMappingCommand</a>(<a class="code" href="classMainWindow.html">MainWindow</a> *mainWindow, <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> mappingId, <a class="code" href="classQUndoCommand.html">QUndoCommand</a> *parent = 0);</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordtype">void</span> <a class="code" href="classDeleteMappingCommand.html#ad5b8989668fdee7466d4e9483c11c34b">undo</a>();</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordtype">void</span> <a class="code" href="classDeleteMappingCommand.html#a936ed4ffa3da5f80644fb768a9b1ef9a">redo</a>();</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="classDeleteMappingCommand.html#a7f50068565bf513bce736508aefff31b"> 120</a></span>  <a class="code" href="classMainWindow.html">MainWindow</a> *<a class="code" href="classDeleteMappingCommand.html#a7f50068565bf513bce736508aefff31b">m_mainWindow</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classDeleteMappingCommand.html#a5218bf1c97515d4ebba9cb376a49fb66"> 121</a></span>  <a class="code" href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc">Mapping::ptr</a> <a class="code" href="classDeleteMappingCommand.html#a5218bf1c97515d4ebba9cb376a49fb66">m_mappingPtr</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classDeleteMappingCommand.html#ab11379f98f9dbc41566938e580d0bdf0"> 122</a></span>  <a class="code" href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a> <a class="code" href="classDeleteMappingCommand.html#ab11379f98f9dbc41566938e580d0bdf0">m_mappingId</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> };</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="preprocessor">#endif </span><span class="comment">/* COMMANDS_H_ */</span><span class="preprocessor"></span></div>
<div class="ttc" id="classTranslateShapeCommand_html_afb01c5885370b1b63780abcbaa503c15"><div class="ttname"><a href="classTranslateShapeCommand.html#afb01c5885370b1b63780abcbaa503c15">TranslateShapeCommand::_doTransform</a></div><div class="ttdeci">virtual void _doTransform(MShape::ptr shape)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00131">Commands.cpp:131</a></div></div>
<div class="ttc" id="Commands_8h_html_aaf8d2069e2c6bbecf4aa8f9819028e8aa4699a7d650d626485846d33d2748473f"><div class="ttname"><a href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa4699a7d650d626485846d33d2748473f">CMD_MOUSE_MOVE_VERTEX</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00031">Commands.h:31</a></div></div>
<div class="ttc" id="MapperGLCanvas_8h_html"><div class="ttname"><a href="MapperGLCanvas_8h.html">MapperGLCanvas.h</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a9118a4afb5014d3d9e0eff4adda89dccad91774baa7f734488e4ae1d03d625297"><div class="ttname"><a href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccad91774baa7f734488e4ae1d03d625297">TransformShapeCommand::STEP</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00054">Commands.h:54</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_a432259644660849e90f6d8bf81f13b07"><div class="ttname"><a href="classAddShapesCommand.html#a432259644660849e90f6d8bf81f13b07">AddShapesCommand::m_mappingPtr</a></div><div class="ttdeci">Mapping::ptr m_mappingPtr</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00045">Commands.h:45</a></div></div>
<div class="ttc" id="classTranslateShapeCommand_html_ac3986303c37f62e6fa6a36283a48347a"><div class="ttname"><a href="classTranslateShapeCommand.html#ac3986303c37f62e6fa6a36283a48347a">TranslateShapeCommand::id</a></div><div class="ttdeci">int id() const </div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00116">Commands.cpp:116</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_aeda905b60411fc31a89d3cc48bdc06b2"><div class="ttname"><a href="classAddShapesCommand.html#aeda905b60411fc31a89d3cc48bdc06b2">AddShapesCommand::m_mappingId</a></div><div class="ttdeci">uid m_mappingId</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00046">Commands.h:46</a></div></div>
<div class="ttc" id="Commands_8h_html_aaf8d2069e2c6bbecf4aa8f9819028e8a"><div class="ttname"><a href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8a">CommandId</a></div><div class="ttdeci">CommandId</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00029">Commands.h:29</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_a936ed4ffa3da5f80644fb768a9b1ef9a"><div class="ttname"><a href="classDeleteMappingCommand.html#a936ed4ffa3da5f80644fb768a9b1ef9a">DeleteMappingCommand::redo</a></div><div class="ttdeci">void redo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00155">Commands.cpp:155</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_aa87476a6ff326e7149c5cf41cfed385f"><div class="ttname"><a href="classMoveVertexCommand.html#aa87476a6ff326e7149c5cf41cfed385f">MoveVertexCommand::MoveVertexCommand</a></div><div class="ttdeci">MoveVertexCommand(MapperGLCanvas *canvas, TransformShapeOption option, int activeVertex, const QPointF &point, QUndoCommand *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00077">Commands.cpp:77</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_a8521096ef210cc17c124f0ccb899a524"><div class="ttname"><a href="classAddShapesCommand.html#a8521096ef210cc17c124f0ccb899a524">AddShapesCommand::redo</a></div><div class="ttdeci">void redo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00018">Commands.cpp:18</a></div></div>
<div class="ttc" id="classMShape_html_abaea0495adea6f577e352d8d90fe161e"><div class="ttname"><a href="classMShape.html#abaea0495adea6f577e352d8d90fe161e">MShape::ptr</a></div><div class="ttdeci">QSharedPointer< MShape > ptr</div><div class="ttdef"><b>Definition:</b> <a href="Shape_8h_source.html#l00047">Shape.h:47</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_ae41dfdf34ca1f16dc940d3caf89cf11b"><div class="ttname"><a href="classAddShapesCommand.html#ae41dfdf34ca1f16dc940d3caf89cf11b">AddShapesCommand::m_mainWindow</a></div><div class="ttdeci">MainWindow * m_mainWindow</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00044">Commands.h:44</a></div></div>
<div class="ttc" id="MainWindow_8h_html"><div class="ttname"><a href="MainWindow_8h.html">MainWindow.h</a></div></div>
<div class="ttc" id="classAddShapesCommand_html"><div class="ttname"><a href="classAddShapesCommand.html">AddShapesCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00036">Commands.h:36</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a82a79f1952b20ceb7207af9139efd1b2"><div class="ttname"><a href="classTransformShapeCommand.html#a82a79f1952b20ceb7207af9139efd1b2">TransformShapeCommand::mergeWith</a></div><div class="ttdeci">virtual bool mergeWith(const QUndoCommand *other)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00057">Commands.cpp:57</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_a7f50068565bf513bce736508aefff31b"><div class="ttname"><a href="classDeleteMappingCommand.html#a7f50068565bf513bce736508aefff31b">DeleteMappingCommand::m_mainWindow</a></div><div class="ttdeci">MainWindow * m_mainWindow</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00120">Commands.h:120</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html"><div class="ttname"><a href="classDeleteMappingCommand.html">DeleteMappingCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00112">Commands.h:112</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a3c0864b206cb66903391686870441cfd"><div class="ttname"><a href="classTransformShapeCommand.html#a3c0864b206cb66903391686870441cfd">TransformShapeCommand::_shape</a></div><div class="ttdeci">QWeakPointer< MShape > _shape</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00070">Commands.h:70</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a9118a4afb5014d3d9e0eff4adda89dcca4f8b9a81c2d4289f26ccfa99a47de618"><div class="ttname"><a href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcca4f8b9a81c2d4289f26ccfa99a47de618">TransformShapeCommand::FREE</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00055">Commands.h:55</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a9118a4afb5014d3d9e0eff4adda89dcc"><div class="ttname"><a href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dcc">TransformShapeCommand::TransformShapeOption</a></div><div class="ttdeci">TransformShapeOption</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00053">Commands.h:53</a></div></div>
<div class="ttc" id="UidAllocator_8h_html_ac83b9ada9e7333675745ef795a057883"><div class="ttname"><a href="UidAllocator_8h.html#ac83b9ada9e7333675745ef795a057883">uid</a></div><div class="ttdeci">int uid</div><div class="ttdoc">The UidAllocator class. </div><div class="ttdef"><b>Definition:</b> <a href="UidAllocator_8h_source.html#l00033">UidAllocator.h:33</a></div></div>
<div class="ttc" id="Commands_8h_html_aaf8d2069e2c6bbecf4aa8f9819028e8aaf3d1a6f12d614a1c66cc67040efde106"><div class="ttname"><a href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aaf3d1a6f12d614a1c66cc67040efde106">CMD_KEY_TRANSLATE_SHAPE</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00032">Commands.h:32</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_ab11379f98f9dbc41566938e580d0bdf0"><div class="ttname"><a href="classDeleteMappingCommand.html#ab11379f98f9dbc41566938e580d0bdf0">DeleteMappingCommand::m_mappingId</a></div><div class="ttdeci">uid m_mappingId</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00122">Commands.h:122</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_a5e9de315926a8e16e5c7296fb2df08be"><div class="ttname"><a href="classAddShapesCommand.html#a5e9de315926a8e16e5c7296fb2df08be">AddShapesCommand::AddShapesCommand</a></div><div class="ttdeci">AddShapesCommand(MainWindow *mainWindow, uid mappingId, QUndoCommand *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00004">Commands.cpp:4</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_ac4f366e1e0706dfb53ec065732e256c8"><div class="ttname"><a href="classMoveVertexCommand.html#ac4f366e1e0706dfb53ec065732e256c8">MoveVertexCommand::_vertexPosition</a></div><div class="ttdeci">QPointF _vertexPosition</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00093">Commands.h:93</a></div></div>
<div class="ttc" id="Commands_8h_html_aaf8d2069e2c6bbecf4aa8f9819028e8aada9e0b21adec2cba1de4d783f4703c3b"><div class="ttname"><a href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aada9e0b21adec2cba1de4d783f4703c3b">CMD_MOUSE_TRANSLATE_SHAPE</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00033">Commands.h:33</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_ab8c89495a7cc8008a3570d91927b2b76"><div class="ttname"><a href="classTransformShapeCommand.html#ab8c89495a7cc8008a3570d91927b2b76">TransformShapeCommand::_doTransform</a></div><div class="ttdeci">virtual void _doTransform(MShape::ptr shape)=0</div></div>
<div class="ttc" id="Commands_8h_html_aaf8d2069e2c6bbecf4aa8f9819028e8aa1cf703848a1674affb60c2a05ac6fa2f"><div class="ttname"><a href="Commands_8h.html#aaf8d2069e2c6bbecf4aa8f9819028e8aa1cf703848a1674affb60c2a05ac6fa2f">CMD_KEY_MOVE_VERTEX</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00030">Commands.h:30</a></div></div>
<div class="ttc" id="classTranslateShapeCommand_html"><div class="ttname"><a href="classTranslateShapeCommand.html">TranslateShapeCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00096">Commands.h:96</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a9118a4afb5014d3d9e0eff4adda89dccaef667f7efdfd9d0e41f516995adfea87"><div class="ttname"><a href="classTransformShapeCommand.html#a9118a4afb5014d3d9e0eff4adda89dccaef667f7efdfd9d0e41f516995adfea87">TransformShapeCommand::RELEASE</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00056">Commands.h:56</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html"><div class="ttname"><a href="classTransformShapeCommand.html">TransformShapeCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00050">Commands.h:50</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_a0c544e2eccccecdfd6925e88739a7465"><div class="ttname"><a href="classDeleteMappingCommand.html#a0c544e2eccccecdfd6925e88739a7465">DeleteMappingCommand::DeleteMappingCommand</a></div><div class="ttdeci">DeleteMappingCommand(MainWindow *mainWindow, uid mappingId, QUndoCommand *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00138">Commands.cpp:138</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_adb880f2ee5914de57a6a1949c85775e7"><div class="ttname"><a href="classTransformShapeCommand.html#adb880f2ee5914de57a6a1949c85775e7">TransformShapeCommand::_originalShape</a></div><div class="ttdeci">MShape::ptr _originalShape</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00076">Commands.h:76</a></div></div>
<div class="ttc" id="classTranslateShapeCommand_html_a0299cb061df117f82f85fffb23444714"><div class="ttname"><a href="classTranslateShapeCommand.html#a0299cb061df117f82f85fffb23444714">TranslateShapeCommand::_translation</a></div><div class="ttdeci">QPointF _translation</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00109">Commands.h:109</a></div></div>
<div class="ttc" id="classMapperGLCanvas_html"><div class="ttname"><a href="classMapperGLCanvas.html">MapperGLCanvas</a></div><div class="ttdoc">Mother class for OpenGL canvases that allow the display and controls of shapes and vertices...</div><div class="ttdef"><b>Definition:</b> <a href="MapperGLCanvas_8h_source.html#l00047">MapperGLCanvas.h:47</a></div></div>
<div class="ttc" id="classTranslateShapeCommand_html_ae24ea59895ee9b3f4e71e4f3fbd95d26"><div class="ttname"><a href="classTranslateShapeCommand.html#ae24ea59895ee9b3f4e71e4f3fbd95d26">TranslateShapeCommand::mergeWith</a></div><div class="ttdeci">bool mergeWith(const QUndoCommand *other)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00118">Commands.cpp:118</a></div></div>
<div class="ttc" id="classMapping_html_ae79d6c9d0e86634b92c955962aaeabdc"><div class="ttname"><a href="classMapping.html#ae79d6c9d0e86634b92c955962aaeabdc">Mapping::ptr</a></div><div class="ttdeci">QSharedPointer< Mapping > ptr</div><div class="ttdef"><b>Definition:</b> <a href="Mapping_8h_source.html#l00070">Mapping.h:70</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_aa6eb2e94f1101cfb4a0ab954beebf1be"><div class="ttname"><a href="classMoveVertexCommand.html#aa6eb2e94f1101cfb4a0ab954beebf1be">MoveVertexCommand::_movedVertex</a></div><div class="ttdeci">int _movedVertex</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00092">Commands.h:92</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a5a54859a241c5b67a2ed4a04e437557a"><div class="ttname"><a href="classTransformShapeCommand.html#a5a54859a241c5b67a2ed4a04e437557a">TransformShapeCommand::_canvas</a></div><div class="ttdeci">MapperGLCanvas * _canvas</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00069">Commands.h:69</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_a419ad892aebc3caf6889a11f76c3ecb4"><div class="ttname"><a href="classMoveVertexCommand.html#a419ad892aebc3caf6889a11f76c3ecb4">MoveVertexCommand::_doTransform</a></div><div class="ttdeci">virtual void _doTransform(MShape::ptr shape)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00087">Commands.cpp:87</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_ad5b8989668fdee7466d4e9483c11c34b"><div class="ttname"><a href="classDeleteMappingCommand.html#ad5b8989668fdee7466d4e9483c11c34b">DeleteMappingCommand::undo</a></div><div class="ttdeci">void undo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00146">Commands.cpp:146</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a642e6e5411e0591724caa2e9b533cac7"><div class="ttname"><a href="classTransformShapeCommand.html#a642e6e5411e0591724caa2e9b533cac7">TransformShapeCommand::_option</a></div><div class="ttdeci">int _option</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00073">Commands.h:73</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a160b6c68b1b4a0d89e5492444ae60820"><div class="ttname"><a href="classTransformShapeCommand.html#a160b6c68b1b4a0d89e5492444ae60820">TransformShapeCommand::redo</a></div><div class="ttdeci">virtual void redo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00048">Commands.cpp:48</a></div></div>
<div class="ttc" id="classTranslateShapeCommand_html_a4152acd9d24de8a7df44472fb9f77619"><div class="ttname"><a href="classTranslateShapeCommand.html#a4152acd9d24de8a7df44472fb9f77619">TranslateShapeCommand::TranslateShapeCommand</a></div><div class="ttdeci">TranslateShapeCommand(MapperGLCanvas *canvas, TransformShapeOption option, const QPointF &translation, QUndoCommand *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00109">Commands.cpp:109</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_ad0ae3a89865911dd555e58188717e647"><div class="ttname"><a href="classMoveVertexCommand.html#ad0ae3a89865911dd555e58188717e647">MoveVertexCommand::mergeWith</a></div><div class="ttdeci">bool mergeWith(const QUndoCommand *other)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00092">Commands.cpp:92</a></div></div>
<div class="ttc" id="classDeleteMappingCommand_html_a5218bf1c97515d4ebba9cb376a49fb66"><div class="ttname"><a href="classDeleteMappingCommand.html#a5218bf1c97515d4ebba9cb376a49fb66">DeleteMappingCommand::m_mappingPtr</a></div><div class="ttdeci">Mapping::ptr m_mappingPtr</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00121">Commands.h:121</a></div></div>
<div class="ttc" id="classAddShapesCommand_html_acee7ba76607b5c87eed865844966a839"><div class="ttname"><a href="classAddShapesCommand.html#acee7ba76607b5c87eed865844966a839">AddShapesCommand::undo</a></div><div class="ttdeci">void undo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00012">Commands.cpp:12</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html_a4a48b70f363531e5a248c7800413b3af"><div class="ttname"><a href="classMoveVertexCommand.html#a4a48b70f363531e5a248c7800413b3af">MoveVertexCommand::id</a></div><div class="ttdeci">int id() const </div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00085">Commands.cpp:85</a></div></div>
<div class="ttc" id="classQUndoCommand_html"><div class="ttname"><a href="classQUndoCommand.html">QUndoCommand</a></div></div>
<div class="ttc" id="classMainWindow_html"><div class="ttname"><a href="classMainWindow.html">MainWindow</a></div><div class="ttdoc">This is the main window of MapMap. </div><div class="ttdef"><b>Definition:</b> <a href="MainWindow_8h_source.html#l00055">MainWindow.h:55</a></div></div>
<div class="ttc" id="classMoveVertexCommand_html"><div class="ttname"><a href="classMoveVertexCommand.html">MoveVertexCommand</a></div><div class="ttdef"><b>Definition:</b> <a href="Commands_8h_source.html#l00079">Commands.h:79</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_a38361c52c867d2abcbd47d1309bcef37"><div class="ttname"><a href="classTransformShapeCommand.html#a38361c52c867d2abcbd47d1309bcef37">TransformShapeCommand::TransformShapeCommand</a></div><div class="ttdeci">TransformShapeCommand(MapperGLCanvas *canvas, TransformShapeOption option, QUndoCommand *parent=0)</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00028">Commands.cpp:28</a></div></div>
<div class="ttc" id="classTransformShapeCommand_html_adefad09c09e0ab150439fed8c45262db"><div class="ttname"><a href="classTransformShapeCommand.html#adefad09c09e0ab150439fed8c45262db">TransformShapeCommand::undo</a></div><div class="ttdeci">virtual void undo()</div><div class="ttdef"><b>Definition:</b> <a href="Commands_8cpp_source.html#l00039">Commands.cpp:39</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Jan 8 2016 09:37:01 for MapMap by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>