Automated Release Preparation

This commit is contained in:
Jan Schuffenhauer
2020-01-16 12:21:09 +01:00
parent cd3ba27e8d
commit f5f4ca7a06
134 changed files with 5397 additions and 2198 deletions

View File

@@ -92,48 +92,53 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;QPoint&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_tool_line.html"> 10</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a> {</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;QPoint lineStartingPoint;</div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<a class="code" href="class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc">IntelliToolLine</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">~IntelliToolLine</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;};</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">//for unit testing</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">class </span><a class="code" href="class_unit_test.html">UnitTest</a>;</div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_tool_line.html"> 13</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a> {</div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160; <span class="keyword">friend</span> <a class="code" href="class_unit_test.html">UnitTest</a>;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;QPoint lineStartingPoint;</div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<a class="code" href="class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc">IntelliToolLine</a>(<a class="code" href="class_painting_area.html">PaintingArea</a>* <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a>* <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>, <a class="code" href="class_intelli_toolsettings.html">IntelliToolsettings</a>* <a class="code" href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">Toolsettings</a>);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">~IntelliToolLine</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;};</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00052">IntelliTool.h:52</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_ae2e0ac394611a361ab4ef2fe55c03fef"><div class="ttname"><a href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">IntelliTool::colorPicker</a></div><div class="ttdeci">IntelliColorPicker * colorPicker</div><div class="ttdoc">A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00056">IntelliTool.h:56</a></div></div>
<div class="ttc" id="a_intelli_tool_8h_html"><div class="ttname"><a href="_intelli_tool_8h.html">IntelliTool.h</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00054">IntelliTool.h:54</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_a55f6b45b416b7d790fa8bc09603bf67f"><div class="ttname"><a href="class_intelli_tool.html#a55f6b45b416b7d790fa8bc09603bf67f">IntelliTool::Toolsettings</a></div><div class="ttdeci">IntelliToolsettings * Toolsettings</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00058">IntelliTool.h:58</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_a111e83e0f0fec7d4ff773ba9f235e4dc"><div class="ttname"><a href="class_intelli_tool_line.html#a111e83e0f0fec7d4ff773ba9f235e4dc">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker, IntelliToolsettings *Toolsettings)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00006">IntelliToolLine.cpp:6</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_abc6324ef0778823fe7e35aef8ae37f9b"><div class="ttname"><a href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine::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 Line from the startpoint to the current mouse po...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00039">IntelliToolLine.cpp:39</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_aaf1d686e1ec43f41b5186ccfd806b125"><div class="ttname"><a href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the lineWidth relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00034">IntelliToolLine.cpp:34</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_a6214918cba5753f89d97de4559a2b9b2"><div class="ttname"><a href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine::onMouseRightReleased</a></div><div class="ttdeci">virtual void onMouseRightReleased(int x, int y) override</div><div class="ttdoc">A function managing the right click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00019">IntelliToolLine.cpp:19</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00045">IntelliTool.h:45</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#l00037">PaintingArea.h:37</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html_ab4c2698a0f9f25fb6639ec760d2d0289"><div class="ttname"><a href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">IntelliTool::Area</a></div><div class="ttdeci">PaintingArea * Area</div><div class="ttdoc">A pointer to the general PaintingArea to interact with.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00049">IntelliTool.h:49</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#l00053">PaintingArea.h:53</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_acb600b0f4e9225ebce2937c2b7abb4c2"><div class="ttname"><a href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">IntelliToolLine::~IntelliToolLine</a></div><div class="ttdeci">virtual ~IntelliToolLine() override</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00011">IntelliToolLine.cpp:11</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_ac93f76ff20a1c111a403b298bab02482"><div class="ttname"><a href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y) override</div><div class="ttdoc">A function managing the left click released of a mouse.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00030">IntelliToolLine.cpp:30</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_a6cce59f3017936214b10b47252a898a3"><div class="ttname"><a href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine::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. Clearing the canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00015">IntelliToolLine.cpp:15</a></div></div>
<div class="ttc" id="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00014">IntelliTool.h:14</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="aclass_intelli_tool_html"><div class="ttname"><a href="class_intelli_tool.html">IntelliTool</a></div><div class="ttdoc">An abstract class that manages the basic events, like mouse clicks or scrolls events.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00017">IntelliTool.h:17</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#l00014">IntelliColorPicker.h:14</a></div></div>
<div class="ttc" id="aclass_unit_test_html"><div class="ttname"><a href="class_unit_test.html">UnitTest</a></div><div class="ttdef"><b>Definition:</b> <a href="main_unit_test_8cpp_source.html#l00008">mainUnitTest.cpp:8</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html_a155d676a5f98311217eb095be4759846"><div class="ttname"><a href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine::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. Sets the starting point of the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00023">IntelliToolLine.cpp:23</a></div></div>
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00004">IntelliToolsettings.h:4</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html"><div class="ttname"><a href="class_intelli_tool_line.html">IntelliToolLine</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00010">IntelliToolLine.h:10</a></div></div>
<div class="ttc" id="aclass_intelli_toolsettings_html"><div class="ttname"><a href="class_intelli_toolsettings.html">IntelliToolsettings</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_toolsettings_8h_source.html#l00007">IntelliToolsettings.h:7</a></div></div>
<div class="ttc" id="aclass_intelli_tool_line_html"><div class="ttname"><a href="class_intelli_tool_line.html">IntelliToolLine</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00013">IntelliToolLine.h:13</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>