Updated doxygen docs to latest changes

This commit is contained in:
2019-12-19 19:39:08 +01:00
parent 5073312f7a
commit 9c95059b93
239 changed files with 2996 additions and 2508 deletions

View File

@@ -30,7 +30,7 @@
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">IntelliPhoto
&#160;<span id="projectnumber">0.4</span>
&#160;<span id="projectnumber">0.5</span>
</div>
</td>
</tr>
@@ -90,14 +90,14 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
<div class="title">IntelliToolRectangle.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="_intelli_tool_rectangle_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include&quot;<a class="code" href="_intelli_tool_rectangle_8h.html">IntelliToolRectangle.h</a>&quot;</span></div>
<a href="_intelli_tool_rectangle_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_intelli_tool_rectangle_8h.html">IntelliToolRectangle.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_painting_area_8h.html">Layer/PaintingArea.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="preprocessor">#include &quot;QInputDialog&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11"> 5</a></span>&#160;<a class="code" href="class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11">IntelliToolRectangle::IntelliToolRectangle</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* Area, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* colorPicker)</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; :<a class="code" href="class_intelli_tool.html">IntelliTool</a>(Area, colorPicker){</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; this-&gt;alphaInner = QInputDialog::getInt(<span class="keyword">nullptr</span>,<span class="stringliteral">&quot;Inner Alpha Value&quot;</span>, <span class="stringliteral">&quot;Value:&quot;</span>, 0,0,255,1);</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; this-&gt;edgeWidth = QInputDialog::getInt(<span class="keyword">nullptr</span>,<span class="stringliteral">&quot;Outer edge width&quot;</span>, <span class="stringliteral">&quot;Value:&quot;</span>, 0,1,255,1);</div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; : <a class="code" href="class_intelli_tool.html">IntelliTool</a>(Area, colorPicker){</div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160; this-&gt;alphaInner = QInputDialog::getInt(<span class="keyword">nullptr</span>,<span class="stringliteral">&quot;Inner Alpha Value&quot;</span>, <span class="stringliteral">&quot;Value:&quot;</span>, 0,0,255,1);</div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160; this-&gt;edgeWidth = QInputDialog::getInt(<span class="keyword">nullptr</span>,<span class="stringliteral">&quot;Outer edge width&quot;</span>, <span class="stringliteral">&quot;Value:&quot;</span>, 0,1,255,1);</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;}</div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160; </div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1"> 11</a></span>&#160;<a class="code" href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a>(){</div>
@@ -105,57 +105,57 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;}</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="keywordtype">void</span> IntelliToolRectangle::drawRectangle(QPoint otherCornor){</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keywordtype">int</span> xMin = std::min(originCornor.x(), otherCornor.x());</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keywordtype">int</span> xMax = std::max(originCornor.x(), otherCornor.x());</div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keywordtype">int</span> xMin = std::min(originCornor.x(), otherCornor.x());</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; <span class="keywordtype">int</span> xMax = std::max(originCornor.x(), otherCornor.x());</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keywordtype">int</span> yMin = std::min(originCornor.y(), otherCornor.y());</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keywordtype">int</span> yMax = std::max(originCornor.y(), otherCornor.y());</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <span class="keywordtype">int</span> yMin = std::min(originCornor.y(), otherCornor.y());</div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="keywordtype">int</span> yMax = std::max(originCornor.y(), otherCornor.y());</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; QColor clr = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415">getSecondColor</a>();</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; clr.setAlpha(alphaInner);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y=yMin; y&lt;=yMax; y++){</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin,y), QPoint(xMax, y), clr, 1);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; }</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin, yMin),QPoint(xMin, yMax), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin, yMin),QPoint(xMax, yMin), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMax, yMax),QPoint(xMin, yMax), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMax, yMax),QPoint(xMax, yMin), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; QColor clr = <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415">getSecondColor</a>();</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; clr.setAlpha(alphaInner);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y=yMin; y&lt;=yMax; y++) {</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin,y), QPoint(xMax, y), clr, 1);</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; }</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin, yMin),QPoint(xMin, yMax), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMin, yMin),QPoint(xMax, yMin), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMax, yMax),QPoint(xMin, yMax), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPoint(xMax, yMax),QPoint(xMax, yMin), this-&gt;<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-&gt;<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), edgeWidth);</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8"> 33</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;}</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f"> 37</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(x,y);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(x,y);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;}</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d"> 41</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; this-&gt;originCornor=QPoint(x,y);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; drawRectangle(originCornor);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; this-&gt;originCornor=QPoint(x,y);</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; drawRectangle(originCornor);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;}</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43"> 48</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;}</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b"> 52</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">if</span>(this-&gt;<a class="code" href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">drawing</a>){</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(Qt::transparent);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; QPoint next(x,y);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; drawRectangle(next);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(x,y);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keywordflow">if</span>(this-&gt;<a class="code" href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">drawing</a>) {</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; this-&gt;<a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-&gt;<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-&gt;<a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(Qt::transparent);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; QPoint next(x,y);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; drawRectangle(next);</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; }</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(x,y);</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;}</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c"> 61</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(value);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; this-&gt;edgeWidth+=value;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">if</span>(this-&gt;edgeWidth&lt;=0){</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; this-&gt;edgeWidth=1;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(value);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; this-&gt;edgeWidth+=value;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keywordflow">if</span>(this-&gt;edgeWidth&lt;=0) {</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; this-&gt;edgeWidth=1;</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; }</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
@@ -170,7 +170,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ae03c307ccf66cbe3fd59e3657712368d"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y) override</div><div class="ttdoc">A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00041">IntelliToolRectangle.cpp:41</a></div></div>
<div class="ttc" id="aclass_intelli_color_picker_html_a55568fbf5dc783f06284b7031ffe9415"><div class="ttname"><a href="class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415">IntelliColorPicker::getSecondColor</a></div><div class="ttdeci">QColor getSecondColor()</div><div class="ttdoc">A function to read the secondary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00020">IntelliColorPicker.cpp:20</a></div></div>
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a480c6804a4963c5a1c3f7ef84b63c1a8"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y) override</div><div class="ttdoc">A function managing the right click pressed of a mouse.Resetting the current draw.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00033">IntelliToolRectangle.cpp:33</a></div></div>
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00025">PaintingArea.h:25</a></div></div>
<div class="ttc" id="aclass_painting_area_html"><div class="ttname"><a href="class_painting_area.html">PaintingArea</a></div><div class="ttdoc">The PaintingArea class manages the methods and stores information about the current painting area,...</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00036">PaintingArea.h:36</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a16189b00307c6d7e89f28198f54404b0"><div class="ttname"><a href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y)</div><div class="ttdoc">A function managing the right click Released of a Mouse. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00021">IntelliTool.cpp:21</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a144d469cc03584f501194529a1b53c77"><div class="ttname"><a href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">IntelliTool::Canvas</a></div><div class="ttdeci">LayerObject * Canvas</div><div class="ttdoc">A pointer to the drawing canvas of the tool, work on this.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00048">IntelliTool.h:48</a></div></div>
<div class="ttc" id="a_intelli_tool_rectangle_8h_html"><div class="ttname"><a href="_intelli_tool_rectangle_8h.html">IntelliToolRectangle.h</a></div></div>
@@ -180,7 +180,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
<div class="ttc" id="aclass_intelli_color_picker_html_aae2eb27b928fe9388b9398b0556303b7"><div class="ttname"><a href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">IntelliColorPicker::getFirstColor</a></div><div class="ttdeci">QColor getFirstColor()</div><div class="ttdoc">A function to read the primary selected color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00016">IntelliColorPicker.cpp:16</a></div></div>
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a4b5931071e21eb6949ffe357315e408b"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y) override</div><div class="ttdoc">A function managing the mouse moved event.Drawing a rectangle to currrent mouse position.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00052">IntelliToolRectangle.cpp:52</a></div></div>
<div class="ttc" id="aclass_intelli_color_picker_html"><div class="ttname"><a href="class_intelli_color_picker.html">IntelliColorPicker</a></div><div class="ttdoc">The IntelliColorPicker manages the selected colors for one whole project.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_color_picker_8h_source.html#l00011">IntelliColorPicker.h:11</a></div></div>
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00017">PaintingArea.h:17</a></div></div>
<div class="ttc" id="astruct_layer_object_html_af01a139bc8edfdbb338393874e89bd83"><div class="ttname"><a href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">LayerObject::image</a></div><div class="ttdeci">IntelliImage * image</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00025">PaintingArea.h:25</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_ac10e20414cd8855a2f9b103fb6408639"><div class="ttname"><a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a></div><div class="ttdeci">virtual void onMouseMoved(int x, int y)</div><div class="ttdoc">A function managing the mouse moved event. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00041">IntelliTool.cpp:41</a></div></div>
<div class="ttc" id="aclass_intelli_tool_rectangle_html_aa9823939a8b8924520a2943cf6335c11"><div class="ttname"><a href="class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11">IntelliToolRectangle::IntelliToolRectangle</a></div><div class="ttdeci">IntelliToolRectangle(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the alphaInner and edg...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00005">IntelliToolRectangle.cpp:5</a></div></div>
<div class="ttc" id="aclass_intelli_image_html_aebbced93f4744fad81b7f141b21f4ab2"><div class="ttname"><a href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">IntelliImage::calculateVisiblity</a></div><div class="ttdeci">virtual void calculateVisiblity()=0</div><div class="ttdoc">An abstract function that calculates the visiblity of the Image data if needed.</div></div>