mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-12 19:40:28 +02:00
Remade Doxygen Docs
This commit is contained in:
@@ -25,35 +25,41 @@ digraph "intelliphoto/src/IntelliHelper/IntelliColorPicker.h"
|
||||
Node3 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_tool_2_intelli_color_picker_8cpp.html",tooltip=" "];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "];
|
||||
Node14 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "];
|
||||
Node15 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliColorPicker.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_tool_2_intelli_color_picker_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "];
|
||||
Node15 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "];
|
||||
Node16 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "];
|
||||
Node16 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "];
|
||||
Node17 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "];
|
||||
Node17 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "];
|
||||
Node18 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "];
|
||||
Node18 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "];
|
||||
Node19 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "];
|
||||
Node19 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "];
|
||||
Node20 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node21 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "];
|
||||
Node21 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node21 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node22 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node22 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "];
|
||||
Node22 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node22 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ $(document).ready(function(){initNavTree('_intelli_color_picker_8h_source.html',
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a7e2ddbbbfbed383f06b24e5bf6b27ae8"><div class="ttname"><a href="class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8">IntelliColorPicker::setFirstColor</a></div><div class="ttdeci">void setFirstColor(QColor Color)</div><div class="ttdoc">A function to set the primary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00024">IntelliColorPicker.cpp:24</a></div></div>
|
||||
<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_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_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker construktor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -129,7 +129,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_2_intelli_color_picker
|
||||
<div class="ttc" id="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a7e2ddbbbfbed383f06b24e5bf6b27ae8"><div class="ttname"><a href="class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8">IntelliColorPicker::setFirstColor</a></div><div class="ttdeci">void setFirstColor(QColor Color)</div><div class="ttdoc">A function to set the primary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00024">IntelliColorPicker.cpp:24</a></div></div>
|
||||
<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_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker construktor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617"> 7</a></span> std::vector<Triangle> <a class="code" href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a>(std::vector<QPoint> polyPoints){</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="comment">//helper for managing the triangle vertices and their state</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="comment">// helper for managing the triangle vertices and their state</span></div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <span class="keyword">struct </span>TriangleHelper{</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  QPoint vertex;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="keywordtype">float</span> interiorAngle;</div>
|
||||
@@ -105,7 +105,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordtype">bool</span> isTip;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  };</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="comment">//calculates the inner angle of 'point'</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="comment">// calculates the inner angle of 'point'</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">auto</span> calculateInner = [](QPoint& point, QPoint& prev, QPoint& post){</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  QPoint AP(point.x()-prev.x(), point.y()-prev.y());</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  QPoint BP(point.x()-post.x(), point.y()-post.y());</div>
|
||||
@@ -115,7 +115,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordflow">return</span> acos(topSclar/absolute);</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>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">//gets the first element of vec for which element.isTip == true holds</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// gets the first element of vec for which element.isTip == true holds</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">auto</span> getTip= [](<span class="keyword">const</span> std::vector<TriangleHelper>& vec){</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> element:vec){</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">if</span>(element.isTip){</div>
|
||||
@@ -125,17 +125,17 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">return</span> vec[0];</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"> 36</span>  <span class="comment">//get the vertex Index bevor index in relation to the container length</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">// get the vertex Index bevor index in relation to the container length</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">auto</span> getPrev = [](<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> length){</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordflow">return</span> (index-1)>0?(index-1):(length-1);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  };</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">//get the vertex Index after index in relation to the container lenght</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// get the vertex Index after index in relation to the container lenght</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">auto</span> getPost = [](<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> length){</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> (index+1)%length;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  };</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">//return if the vertex is a tip</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// return if the vertex is a tip</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">auto</span> isTip = [](<span class="keywordtype">float</span> angle){</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">return</span> angle<180.f;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  };</div>
|
||||
@@ -143,7 +143,7 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  std::vector<TriangleHelper> Vertices;</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::vector<Triangle> Triangles;</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">//set up all vertices and calculate intirior angle</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// set up all vertices and calculate intirior angle</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<static_cast<int>(polyPoints.size()); i++){</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  TriangleHelper helper;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">int</span> prev = getPrev(i, static_cast<int>(polyPoints.size()));</div>
|
||||
@@ -159,68 +159,67 @@ $(document).ready(function(){initNavTree('_intelli_helper_8cpp_source.html','');
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  Vertices.push_back(helper);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">//search triangles based on the intirior angles of each vertey</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// search triangles based on the intirior angles of each vertey</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">while</span>(Triangles.size() != polyPoints.size()-2){</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="struct_triangle.html">Triangle</a> tri;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  TriangleHelper smallest = getTip(Vertices);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">int</span> prev = getPrev(smallest.index, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">int</span> post = getPost(smallest.index, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">//set triangle and push it</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// set triangle and push it</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  tri.<a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a> = Vertices[static_cast<size_t>(prev)].vertex;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  tri.<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a> = Vertices[static_cast<size_t>(smallest.index)].vertex;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  tri.<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a> = Vertices[static_cast<size_t>(post)].vertex;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  Triangles.push_back(tri);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">//update Vertice array</span></div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// update Vertice array</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  Vertices.erase(Vertices.begin()+smallest.index);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i=static_cast<size_t>(smallest.index); i<Vertices.size(); i++){</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  Vertices[i].index-=1;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">//update post und prev index</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// update post und prev index</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  post = post-1;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  prev = prev<smallest.index?prev:(prev-1);</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">//calcultae neighboors of prev and post to calculate new interior angles</span></div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// calcultae neighboors of prev and post to calculate new interior angles</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> prevOfPrev = getPrev(prev, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">int</span> postOfPrev = getPost(prev, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> prevOfPost = getPrev(post, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">int</span> postOfPost = getPost(post, static_cast<int>(Vertices.size()));</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">//update vertices with interior angles</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">//updtae prev</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// update vertices with interior angles</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// updtae prev</span></div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  Vertices[static_cast<size_t>(prev)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(prev)].vertex,</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  Vertices[static_cast<size_t>(prevOfPrev)].vertex,</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  Vertices[static_cast<size_t>(postOfPrev)].vertex);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  Vertices[static_cast<size_t>(prev)].isTip = isTip(Vertices[static_cast<size_t>(prev)].interiorAngle);</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">//update post</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// update post</span></div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  Vertices[static_cast<size_t>(post)].interiorAngle = calculateInner(Vertices[static_cast<size_t>(post)].vertex,</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  Vertices[static_cast<size_t>(prevOfPost)].vertex,</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  Vertices[static_cast<size_t>(postOfPost)].vertex);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  Vertices[static_cast<size_t>(post)].isTip = isTip(Vertices[static_cast<size_t>(post)].interiorAngle);</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  }</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordflow">return</span> Triangles;</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> }</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  </div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901"> 116</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a>(std::vector<Triangle> &triangles, QPoint &point){</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> triangle : triangles){</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span>(<a class="code" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a>(triangle, point)){</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</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"> 112</span>  <span class="keywordflow">return</span> Triangles;</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>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901"> 115</a></span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a>(std::vector<Triangle> &triangles, QPoint &point){</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">for</span>(<span class="keyword">auto</span> triangle : triangles){</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span>(<a class="code" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a>(triangle, point)){</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  }</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a9fcfe72f00e870be4a8ab9f2e17483c9"><div class="ttname"><a href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a></div><div class="ttdeci">bool isInTriangle(Triangle &tri, QPoint &P)</div><div class="ttdoc">A function to check if a given point is in a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00034">IntelliHelper.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a9fcfe72f00e870be4a8ab9f2e17483c9"><div class="ttname"><a href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a></div><div class="ttdeci">bool isInTriangle(Triangle &tri, QPoint &P)</div><div class="ttdoc">A function to check if a given point is in a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00033">IntelliHelper.h:33</a></div></div>
|
||||
<div class="ttc" id="a_intelli_helper_8h_html"><div class="ttname"><a href="_intelli_helper_8h.html">IntelliHelper.h</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_a64fa6a90a6131f12a1a3054bf86647d7"><div class="ttname"><a href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">Triangle::B</a></div><div class="ttdeci">QPoint B</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_addb8aaab314d79f3617acca01e12872a"><div class="ttname"><a href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">Triangle::C</a></div><div class="ttdeci">QPoint C</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html"><div class="ttname"><a href="struct_triangle.html">Triangle</a></div><div class="ttdoc">The Triangle struct holds the 3 vertices of a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00010">IntelliHelper.h:10</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00116">IntelliHelper.cpp:116</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00115">IntelliHelper.cpp:115</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_a4fe8b39e0144ebff908b7718c2f2751b"><div class="ttname"><a href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">Triangle::A</a></div><div class="ttdeci">QPoint A</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a214dc3624ba4562a03dc922e3dd7b617"><div class="ttname"><a href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00007">IntelliHelper.cpp:7</a></div></div>
|
||||
<!-- start footer part -->
|
||||
|
||||
@@ -28,10 +28,16 @@ digraph "intelliphoto/src/IntelliHelper/IntelliHelper.h"
|
||||
Node4 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node4 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node4 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/main.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$main_8cpp.html",tooltip=" "];
|
||||
Node15 [label="intelliphoto/src/Intelli\lHelper/IntelliHelper.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="intelliphoto/src/main.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$main_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "];
|
||||
Node17 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
|
||||
@@ -100,45 +100,43 @@ $(document).ready(function(){initNavTree('_intelli_helper_8h_source.html','');})
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a"> 11</a></span>  QPoint <a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a>,<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a>,<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a>;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> };</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  </div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html"> 15</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_intelli_helper.html">IntelliHelper</a> {</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149"> 24</a></span>  <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">sign</a>(QPoint& p1, QPoint& p2, QPoint& p3){</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordflow">return</span> (p1.x()-p3.x())*(p2.y()-p3.y())-(p2.x()-p3.x())*(p1.y()-p3.y());</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  }</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9"> 34</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">isInTriangle</a>(<a class="code" href="struct_triangle.html">Triangle</a>& tri, QPoint& P){</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">float</span> val1, val2, val3;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">bool</span> neg, pos;</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>  val1 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a>,tri.<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a>);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  val2 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a>,tri.<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a>);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  val3 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a>,tri.<a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a>);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordflow">return</span> !(neg && pos);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  }</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  std::vector<Triangle> <a class="code" href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">calculateTriangles</a>(std::vector<QPoint> polyPoints);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">isInPolygon</a>(std::vector<Triangle> &triangles, QPoint &point);</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html"> 14</a></span> <span class="keyword">namespace </span><a class="code" href="namespace_intelli_helper.html">IntelliHelper</a> {</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149"> 23</a></span>  <span class="keyword">inline</span> <span class="keywordtype">float</span> <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">sign</a>(QPoint& p1, QPoint& p2, QPoint& p3){</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordflow">return</span> (p1.x()-p3.x())*(p2.y()-p3.y())-(p2.x()-p3.x())*(p1.y()-p3.y());</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  }</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9"> 33</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">isInTriangle</a>(<a class="code" href="struct_triangle.html">Triangle</a>& tri, QPoint& P){</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">float</span> val1, val2, val3;</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">bool</span> neg, pos;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  val1 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a>,tri.<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a>);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  val2 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">B</a>,tri.<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a>);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  val3 = <a class="code" href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a>(P,tri.<a class="code" href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">C</a>,tri.<a class="code" href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">A</a>);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  neg = (val1<0.f) || (val2<0.f) || (val3<0.f);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  pos = (val1>0.f) || (val2>0.f) || (val3>0.f);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">return</span> !(neg && pos);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  std::vector<Triangle> <a class="code" href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">calculateTriangles</a>(std::vector<QPoint> polyPoints);</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">bool</span> <a class="code" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">isInPolygon</a>(std::vector<Triangle> &triangles, QPoint &point);</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </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>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a9fcfe72f00e870be4a8ab9f2e17483c9"><div class="ttname"><a href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a></div><div class="ttdeci">bool isInTriangle(Triangle &tri, QPoint &P)</div><div class="ttdoc">A function to check if a given point is in a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00034">IntelliHelper.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a9fcfe72f00e870be4a8ab9f2e17483c9"><div class="ttname"><a href="namespace_intelli_helper.html#a9fcfe72f00e870be4a8ab9f2e17483c9">IntelliHelper::isInTriangle</a></div><div class="ttdeci">bool isInTriangle(Triangle &tri, QPoint &P)</div><div class="ttdoc">A function to check if a given point is in a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00033">IntelliHelper.h:33</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_a64fa6a90a6131f12a1a3054bf86647d7"><div class="ttname"><a href="struct_triangle.html#a64fa6a90a6131f12a1a3054bf86647d7">Triangle::B</a></div><div class="ttdeci">QPoint B</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_addb8aaab314d79f3617acca01e12872a"><div class="ttname"><a href="struct_triangle.html#addb8aaab314d79f3617acca01e12872a">Triangle::C</a></div><div class="ttdeci">QPoint C</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html"><div class="ttname"><a href="namespace_intelli_helper.html">IntelliHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00015">IntelliHelper.h:15</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html"><div class="ttname"><a href="namespace_intelli_helper.html">IntelliHelper</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00014">IntelliHelper.h:14</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html"><div class="ttname"><a href="struct_triangle.html">Triangle</a></div><div class="ttdoc">The Triangle struct holds the 3 vertices of a triangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00010">IntelliHelper.h:10</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00116">IntelliHelper.cpp:116</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00115">IntelliHelper.cpp:115</a></div></div>
|
||||
<div class="ttc" id="astruct_triangle_html_a4fe8b39e0144ebff908b7718c2f2751b"><div class="ttname"><a href="struct_triangle.html#a4fe8b39e0144ebff908b7718c2f2751b">Triangle::A</a></div><div class="ttdeci">QPoint A</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00011">IntelliHelper.h:11</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a214dc3624ba4562a03dc922e3dd7b617"><div class="ttname"><a href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00007">IntelliHelper.cpp:7</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_afdd9fe78cc5d21b59642910220768149"><div class="ttname"><a href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a></div><div class="ttdeci">float sign(QPoint &p1, QPoint &p2, QPoint &p3)</div><div class="ttdoc">A function to get the 2*area of a traingle, using its determinat.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00024">IntelliHelper.h:24</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_afdd9fe78cc5d21b59642910220768149"><div class="ttname"><a href="namespace_intelli_helper.html#afdd9fe78cc5d21b59642910220768149">IntelliHelper::sign</a></div><div class="ttdeci">float sign(QPoint &p1, QPoint &p2, QPoint &p3)</div><div class="ttdoc">A function to get the 2*area of a traingle, using its determinat.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8h_source.html#l00023">IntelliHelper.h:23</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -163,16 +163,15 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');}
|
||||
<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">// Draw a line from the last registered point to the current</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  painter.drawLine(p1, p2);</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> }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06"> 77</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a>(<span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(color);</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> }</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f"> 81</a></span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a>(QPoint& point){</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> }</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>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06"> 76</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a>(<span class="keyword">const</span> QColor& color){</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.fill(color);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> }</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f"> 80</a></span> QColor <a class="code" href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a>(QPoint& point){</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">return</span> <a class="code" href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">imageData</a>.pixelColor(point);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
@@ -183,9 +182,9 @@ $(document).ready(function(){initNavTree('_intelli_image_8cpp_source.html','');}
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00055">IntelliImage.cpp:55</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a47084f1cb668ea0242ab95162cf9e902"><div class="ttname"><a href="class_intelli_image.html#a47084f1cb668ea0242ab95162cf9e902">IntelliImage::IntelliImage</a></div><div class="ttdeci">IntelliImage(int weight, int height)</div><div class="ttdoc">The Construcor of the IntelliImage. Given the Image dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00005">IntelliImage.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00029">IntelliImage.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00081">IntelliImage.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00080">IntelliImage.cpp:80</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00032">IntelliImage.h:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -33,7 +33,9 @@ digraph "intelliphoto/src/Image/IntelliImage.h"
|
||||
Node7 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node7 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node7 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node5 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -160,12 +160,12 @@ $(document).ready(function(){initNavTree('_intelli_image_8h_source.html','');});
|
||||
<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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a177403ab9585d4ba31984a644c54d310"><div class="ttname"><a href="class_intelli_image.html#a177403ab9585d4ba31984a644c54d310">IntelliImage::resizeImage</a></div><div class="ttdeci">void resizeImage(QImage *image, const QSize &newSize)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00029">IntelliImage.cpp:29</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00081">IntelliImage.cpp:81</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00080">IntelliImage.cpp:80</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00032">IntelliImage.h:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00024">IntelliImage.h:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af6381067bdf565669f856bb589008ae9"><div class="ttname"><a href="class_intelli_image.html#af6381067bdf565669f856bb589008ae9">IntelliImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy()=0</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</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>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aa4b3f4631bd972456917275afb9fd309"><div class="ttname"><a href="class_intelli_image.html#aa4b3f4631bd972456917275afb9fd309">IntelliImage::setPolygon</a></div><div class="ttdeci">virtual void setPolygon(const std::vector< QPoint > &polygonData)=0</div><div class="ttdoc">An abstract function that sets the data of the visible Polygon, if needed.</div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -86,8 +86,6 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp.html','');});
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliPhotoGui.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
@@ -103,53 +101,6 @@ Include dependency graph for IntelliPhotoGui.cpp:</div>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_intelli_photo_gui_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a30169da42b55e0339af0d28dfc8ccd40"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_intelli_photo_gui_8cpp.html#a30169da42b55e0339af0d28dfc8ccd40">slotCreatePenTool</a> ()</td></tr>
|
||||
<tr class="separator:a30169da42b55e0339af0d28dfc8ccd40"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac2f8320173dfaf943bb39e39cb1a23e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_intelli_photo_gui_8cpp.html#ac2f8320173dfaf943bb39e39cb1a23e5">slotCreateFloodFillTool</a> ()</td></tr>
|
||||
<tr class="separator:ac2f8320173dfaf943bb39e39cb1a23e5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="ac2f8320173dfaf943bb39e39cb1a23e5"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac2f8320173dfaf943bb39e39cb1a23e5">◆ </a></span>slotCreateFloodFillTool()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void slotCreateFloodFillTool </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_photo_gui_8cpp_source.html#l00109">109</a> of file <a class="el" href="_intelli_photo_gui_8cpp_source.html">IntelliPhotoGui.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a30169da42b55e0339af0d28dfc8ccd40"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a30169da42b55e0339af0d28dfc8ccd40">◆ </a></span>slotCreatePenTool()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void slotCreatePenTool </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_photo_gui_8cpp_source.html#l00105">105</a> of file <a class="el" href="_intelli_photo_gui_8cpp_source.html">IntelliPhotoGui.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
|
||||
@@ -100,494 +100,486 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8cpp_source.html','
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// IntelliPhotoGui constructor</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0"> 10</a></span> <a class="code" href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui::IntelliPhotoGui</a>(){</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="comment">//create Gui elements and lay them out</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  createGui();</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="comment">// Create actions</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  createActions();</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="comment">//create Menus</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  createMenus();</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="comment">//set style of the gui</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  setIntelliStyle();</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="comment">// Size the app</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  showMaximized();</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> }</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="comment">// create Gui elements and lay them out</span></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  createGui();</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="comment">// Create actions</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  createActions();</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="comment">// create Menus</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  createMenus();</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="comment">// set style of the gui</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  setIntelliStyle();</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="comment">// Size the app</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  resize(600,600);</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  showMaximized();</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment">// User tried to close the app</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13"> 24</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a>(QCloseEvent *event){</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">// If they try to close maybeSave() returns true</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// if no changes have been made and the app closes</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordflow">if</span> (maybeSave()) {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">event</span>->accept();</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">// If there have been changes ignore the event</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">event</span>->ignore();</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  }</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> }</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> <span class="comment">// Check if the current image has been changed and then</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// open a dialog to open a file</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotOpen(){</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// Check if changes have been made since last save</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// maybeSave() returns true if no changes have been made</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordflow">if</span> (maybeSave()) {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// Get the file to open from a dialog</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">// tr sets the window title to Open File</span></div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// QDir opens the current dirctory</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  QString fileName = QFileDialog::getOpenFileName(<span class="keyword">this</span>,</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  tr(<span class="stringliteral">"Open File"</span>), QDir::currentPath(), <span class="keyword">nullptr</span>, <span class="keyword">nullptr</span>, QFileDialog::DontUseNativeDialog);</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>  <span class="comment">// If we have a file name load the image and place</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// it in the paintingArea</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">if</span> (!fileName.isEmpty())</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  paintingArea-><a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a>(fileName);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> }</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// Called when the user clicks Save As in the menu</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSave(){</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// A QAction represents the action of the user clicking</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  QAction *action = qobject_cast<QAction *>(sender());</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="comment">// Stores the array of bytes of the users data</span></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  QByteArray fileFormat = action->data().toByteArray();</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Pass it to be saved</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  saveFile(fileFormat);</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> }</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// Opens a dialog that allows the user to create a New Layer</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreateNewLayer(){</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">bool</span> ok1, ok2;</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">// tr("New Layer") is the title</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">int</span> width = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Layer"</span>),</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  tr(<span class="stringliteral">"Width:"</span>),</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  200,1, 500, 1, &ok1);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordtype">int</span> height = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Layer"</span>),</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  tr(<span class="stringliteral">"Height:"</span>),</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  200,1, 500, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Create New Layer</span></div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (ok1&&ok2)</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> layer = paintingArea-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(width,height,0,0);</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  paintingArea-><a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">slotActivateLayer</a>(layer);</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> }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">// Opens a dialog that allows the user to delete a Layer</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotDeleteLayer(){</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">bool</span> ok;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// tr("delete Layer") is the title</span></div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordtype">int</span> layerNumber = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"delete Layer"</span>),</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  tr(<span class="stringliteral">"Number:"</span>),</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  1,0, 500, 1, &ok);</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// Create New Layer</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">if</span> (ok)</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  paintingArea-><a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">deleteLayer</a>(layerNumber);</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>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="_intelli_photo_gui_8cpp.html#a30169da42b55e0339af0d28dfc8ccd40"> 105</a></span> <span class="keywordtype">void</span> <a class="code" href="_intelli_photo_gui_8cpp.html#a30169da42b55e0339af0d28dfc8ccd40">slotCreatePenTool</a>(){</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</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="comment">// User tried to close the app</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13"> 26</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a>(QCloseEvent*event){</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// If they try to close maybeSave() returns true</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// if no changes have been made and the app closes</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordflow">if</span> (maybeSave()) {</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">event</span>->accept();</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// If there have been changes ignore the event</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">event</span>->ignore();</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"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// Check if the current image has been changed and then</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// open a dialog to open a file</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotOpen(){</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// Check if changes have been made since last save</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// maybeSave() returns true if no changes have been made</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span> (maybeSave()) {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// Get the file to open from a dialog</span></div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// tr sets the window title to Open File</span></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// QDir opens the current dirctory</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  QString fileName = QFileDialog::getOpenFileName(<span class="keyword">this</span>,</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  tr(<span class="stringliteral">"Open File"</span>), QDir::currentPath(), <span class="keyword">nullptr</span>, <span class="keyword">nullptr</span>, QFileDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// If we have a file name load the image and place</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// it in the paintingArea</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordflow">if</span> (!fileName.isEmpty())</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  paintingArea-><a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a>(fileName);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  }</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// Called when the user clicks Save As in the menu</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSave(){</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// A QAction represents the action of the user clicking</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  QAction*action = qobject_cast<QAction*>(sender());</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Stores the array of bytes of the users data</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  QByteArray fileFormat = action->data().toByteArray();</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="comment">// Pass it to be saved</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  saveFile(fileFormat);</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>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">// Opens a dialog that allows the user to create a New Layer</span></div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreateNewLayer(){</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">bool</span> ok1, ok2;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// "New Layer" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">int</span> width = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Layer"</span>),</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  tr(<span class="stringliteral">"Width:"</span>),</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  200,1, 500, 1, &ok1);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">int</span> height = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Layer"</span>),</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  tr(<span class="stringliteral">"Height:"</span>),</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  200,1, 500, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Create New Layer</span></div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span> (ok1&&ok2)</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  {</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">int</span> layer = paintingArea-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(width,height,0,0);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  paintingArea-><a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">slotActivateLayer</a>(layer);</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</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">// Opens a dialog that allows the user to delete a Layer</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotDeleteLayer(){</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">bool</span> ok;</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// "delete Layer" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">int</span> layerNumber = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"delete Layer"</span>),</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  tr(<span class="stringliteral">"Number:"</span>),</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  1,0, 500, 1, &ok);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Create New Layer</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">if</span> (ok)</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  paintingArea-><a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">deleteLayer</a>(layerNumber);</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> }</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </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>  </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="_intelli_photo_gui_8cpp.html#ac2f8320173dfaf943bb39e39cb1a23e5"> 109</a></span> <span class="keywordtype">void</span> <a class="code" href="_intelli_photo_gui_8cpp.html#ac2f8320173dfaf943bb39e39cb1a23e5">slotCreateFloodFillTool</a>(){</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetActiveAlpha(){</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">bool</span> ok1, ok2;</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"> 112</span>  </div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetActiveAlpha(){</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">bool</span> ok1, ok2;</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// tr("Layer to set on") is the title</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">int</span> layer = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Layer to set on"</span>),</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  tr(<span class="stringliteral">"Layer:"</span>),</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  -1,-1,100,1, &ok1);</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// tr("New Alpha") is the title</span></div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">int</span> alpha = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Alpha"</span>),</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  tr(<span class="stringliteral">"Alpha:"</span>),</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  255,0, 255, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">if</span> (ok1&&ok2)</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  {</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  paintingArea-><a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">setAlphaOfLayer</a>(layer,alpha);</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> }</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveUp(){</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(0,-20);</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  update();</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveDown(){</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(0,20);</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  update();</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span> }</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveLeft(){</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(-20,0);</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  update();</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveRight(){</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(20,0);</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  update();</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotMoveLayerUp(){</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  paintingArea-><a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(1);</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  update();</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> }</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotMoveLayerDown(){</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  paintingArea-><a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(-1);</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  update();</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> }</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  </div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotClearActiveLayer(){</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordtype">bool</span> ok1, ok2, ok3, ok4;</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="comment">// tr("Red Input") is the title</span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">int</span> red = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Red Input"</span>),</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  tr(<span class="stringliteral">"Red:"</span>),</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  255,0, 255,1, &ok1);</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">// tr("Green Input") is the title</span></div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">int</span> green = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Green Input"</span>),</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  tr(<span class="stringliteral">"Green:"</span>),</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  255,0, 255, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="comment">// tr("Blue Input") is the title</span></div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">int</span> blue = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Blue Input"</span>),</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  tr(<span class="stringliteral">"Blue:"</span>),</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  255,0, 255, 1, &ok3);</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="comment">// tr("Alpha Input") is the title</span></div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keywordtype">int</span> alpha = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Alpha Input"</span>),</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  tr(<span class="stringliteral">"Alpha:"</span>),</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  255,0, 255, 1, &ok4);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  <span class="keywordflow">if</span> (ok1&&ok2&&ok3&&ok4)</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  {</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  paintingArea-><a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">floodFill</a>(red, green, blue, alpha);</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  }</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> }</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetActiveLayer(){</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordtype">bool</span> ok1;</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="comment">// tr("Layer to set on") is the title</span></div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> layer = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Layer to set on"</span>),</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  tr(<span class="stringliteral">"Layer:"</span>),</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  -1,0,255,1, &ok1);</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">if</span> (ok1)</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  {</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  paintingArea-><a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(layer);</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  }</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> };</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  </div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetFirstColor(){</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  paintingArea-><a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">colorPickerSetFirstColor</a>();</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> }</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  </div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetSecondColor(){</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  paintingArea-><a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">colorPickerSetSecondColor</a>();</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> }</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  </div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSwitchColor(){</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  paintingArea-><a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">colorPickerSwitchColor</a>();</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> }</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreatePenTool(){</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  paintingArea-><a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">createPenTool</a>();</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> }</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  </div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreatePlainTool(){</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  paintingArea-><a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">createPlainTool</a>();</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> }</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  </div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreateLineTool(){</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  paintingArea-><a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">createLineTool</a>();</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span> }</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> <span class="comment">// Open an about dialog</span></div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotAboutDialog(){</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="comment">// Window title and text to display</span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  QMessageBox::about(<span class="keyword">this</span>, tr(<span class="stringliteral">"About Painting"</span>),</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  tr(<span class="stringliteral">"<p><b>IntelliPhoto</b>Pretty basic editor.</p>"</span>));</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> }</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> <span class="comment">// Define menu actions that call functions</span></div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="keywordtype">void</span> IntelliPhotoGui::createActions(){</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">// Get a list of the supported file formats</span></div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="comment">// QImageWriter is used to write images to files</span></div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keywordflow">foreach</span> (QByteArray format, QImageWriter::supportedImageFormats()) {</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  QString text = tr(<span class="stringliteral">"%1..."</span>).arg(QString(format).toUpper());</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="comment">// "Layer to set on" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordtype">int</span> layer = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Layer to set on"</span>),</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  tr(<span class="stringliteral">"Layer:"</span>),</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  -1,-1,100,1, &ok1);</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// "New Alpha" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordtype">int</span> alpha = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"New Alpha"</span>),</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  tr(<span class="stringliteral">"Alpha:"</span>),</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  255,0, 255, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">if</span> (ok1&&ok2)</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  {</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  paintingArea-><a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">setAlphaOfLayer</a>(layer,alpha);</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> }</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveUp(){</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(0,-20);</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  update();</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveDown(){</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(0,20);</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  update();</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> }</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveLeft(){</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(-20,0);</div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  update();</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> }</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotPositionMoveRight(){</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  paintingArea-><a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(20,0);</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  update();</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span> }</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  </div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotMoveLayerUp(){</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  paintingArea-><a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(1);</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  update();</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotMoveLayerDown(){</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  paintingArea-><a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(-1);</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  update();</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> }</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  </div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotClearActiveLayer(){</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="keywordtype">bool</span> ok1, ok2, ok3, ok4;</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">// "Red Input" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">int</span> red = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Red Input"</span>),</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  tr(<span class="stringliteral">"Red:"</span>),</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  255,0, 255,1, &ok1);</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="comment">// "Green Input" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">int</span> green = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Green Input"</span>),</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  tr(<span class="stringliteral">"Green:"</span>),</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  255,0, 255, 1, &ok2);</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// "Blue Input" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordtype">int</span> blue = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Blue Input"</span>),</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  tr(<span class="stringliteral">"Blue:"</span>),</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  255,0, 255, 1, &ok3);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <span class="comment">// "Alpha Input" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">int</span> alpha = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Alpha Input"</span>),</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  tr(<span class="stringliteral">"Alpha:"</span>),</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  255,0, 255, 1, &ok4);</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">if</span> (ok1&&ok2&&ok3&&ok4)</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  {</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  paintingArea-><a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">floodFill</a>(red, green, blue, alpha);</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span> }</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetActiveLayer(){</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="comment">// Stores button value</span></div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordtype">bool</span> ok1;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  </div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="comment">// "Layer to set on" is the title of the window</span></div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <span class="comment">// the next tr is the text to display</span></div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <span class="comment">// Define the standard Value, min, max, step and ok button</span></div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordtype">int</span> layer = QInputDialog::getInt(<span class="keyword">this</span>, tr(<span class="stringliteral">"Layer to set on"</span>),</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  tr(<span class="stringliteral">"Layer:"</span>),</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  -1,0,255,1, &ok1);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">if</span> (ok1)</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  {</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  paintingArea-><a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(layer);</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetFirstColor(){</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  paintingArea-><a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">colorPickerSetFirstColor</a>();</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> }</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSetSecondColor(){</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  paintingArea-><a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">colorPickerSetSecondColor</a>();</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> }</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotSwitchColor(){</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  paintingArea-><a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">colorPickerSwitchColor</a>();</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span> }</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  </div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreatePenTool(){</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  paintingArea-><a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">createPenTool</a>();</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> }</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreatePlainTool(){</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  paintingArea-><a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">createPlainTool</a>();</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotCreateLineTool(){</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  paintingArea-><a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">createLineTool</a>();</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> }</div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  </div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span> <span class="comment">// Open an about dialog</span></div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="keywordtype">void</span> IntelliPhotoGui::slotAboutDialog(){</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="comment">// Window title and text to display</span></div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  QMessageBox::about(<span class="keyword">this</span>, tr(<span class="stringliteral">"About Painting"</span>),</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  tr(<span class="stringliteral">"<p><b>IntelliPhoto</b>Pretty basic editor.</p>"</span>));</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span> }</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span> <span class="comment">// Define menu actions that call functions</span></div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="keywordtype">void</span> IntelliPhotoGui::createActions(){</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="comment">// Get a list of the supported file formats</span></div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="comment">// QImageWriter is used to write images to files</span></div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">foreach</span> (QByteArray format, QImageWriter::supportedImageFormats()) {</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  QString text = tr(<span class="stringliteral">"%1..."</span>).arg(QString(format).toUpper());</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="comment">// Create an action for each file format</span></div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  QAction*action = <span class="keyword">new</span> QAction(text, <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  </div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="comment">// Set an action for each file format</span></div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  action->setData(format);</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  </div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// Create an action for each file format</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  QAction *action = <span class="keyword">new</span> QAction(text, <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <span class="comment">// When clicked call IntelliPhotoGui::save()</span></div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  connect(action, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSave()));</div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  </div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="comment">// Set an action for each file format</span></div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  action->setData(format);</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  </div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="comment">// When clicked call IntelliPhotoGui::save()</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  connect(action, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSave()));</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// Attach each file format option menu item to Save As</span></div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  actionSaveAs.append(action);</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">//set exporter to actions</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  QAction *pngSaveAction = <span class="keyword">new</span> QAction(<span class="stringliteral">"PNG-8"</span>, <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  pngSaveAction->setData(<span class="stringliteral">"PNG"</span>);</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="comment">// When clicked call IntelliPhotoGui::save()</span></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  connect(pngSaveAction, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSave()));</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="comment">// Attach each PNG in save Menu</span></div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  actionSaveAs.append(pngSaveAction);</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  </div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">// Create exit action and tie to IntelliPhotoGui::close()</span></div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  actionExit = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Exit"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  actionExit->setShortcuts(QKeySequence::Quit);</div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  connect(actionExit, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(close()));</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  </div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  actionOpen = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Open"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  connect(actionOpen, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotOpen()));</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  </div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">// Create New Layer action and tie to IntelliPhotoGui::newLayer()</span></div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  actionCreateNewLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&New Layer..."</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  actionCreateNewLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  connect(actionCreateNewLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreateNewLayer()));</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  </div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="comment">// Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()</span></div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  actionDeleteLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Delete Layer..."</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  connect(actionDeleteLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotDeleteLayer()));</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="comment">// Attach each file format option menu item to Save As</span></div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  actionSaveAs.append(action);</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  }</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="comment">//set exporter to actions</span></div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  QAction*pngSaveAction = <span class="keyword">new</span> QAction(<span class="stringliteral">"PNG-8"</span>, <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  pngSaveAction->setData(<span class="stringliteral">"PNG"</span>);</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// When clicked call IntelliPhotoGui::save()</span></div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  connect(pngSaveAction, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSave()));</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="comment">// Attach each PNG in save Menu</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  actionSaveAs.append(pngSaveAction);</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="comment">// Create exit action and tie to IntelliPhotoGui::close()</span></div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  actionExit = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Exit"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  actionExit->setShortcuts(QKeySequence::Quit);</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  connect(actionExit, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(close()));</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  actionOpen = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Open"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  actionOpen->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_O));</div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  connect(actionOpen, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotOpen()));</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// Create New Layer action and tie to IntelliPhotoGui::newLayer()</span></div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  actionCreateNewLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&New Layer..."</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  actionCreateNewLayer->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_N));</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  connect(actionCreateNewLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreateNewLayer()));</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  </div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="comment">// Delete New Layer action and tie to IntelliPhotoGui::deleteLayer()</span></div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  actionDeleteLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Delete Layer..."</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  connect(actionDeleteLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotDeleteLayer()));</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  actionSetActiveLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&set Active"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  connect(actionSetActiveLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetActiveLayer()));</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  </div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  actionSetActiveAlpha = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&set Alpha"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  connect(actionSetActiveAlpha, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetActiveAlpha()));</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  </div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  actionSetActiveLayer = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&set Active"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  connect(actionSetActiveLayer, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetActiveLayer()));</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  </div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  actionSetActiveAlpha = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&set Alpha"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  connect(actionSetActiveAlpha, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetActiveAlpha()));</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  actionMovePositionUp = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Up"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  connect(actionMovePositionUp, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveUp()));</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  </div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  actionMovePositionDown = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Down"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  connect(actionMovePositionDown, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveDown()));</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  </div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  actionMovePositionLeft = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Left"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  connect(actionMovePositionLeft, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveLeft()));</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  actionMovePositionRight = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Right"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  connect(actionMovePositionRight, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveRight()));</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  </div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  actionMoveLayerUp = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Layer Up"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  connect(actionMoveLayerUp, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotMoveLayerUp()));</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  </div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  actionMoveLayerDown= <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Layer Down"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  connect(actionMoveLayerDown, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotMoveLayerDown()));</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="comment">//Create Color Actions here</span></div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  actionColorPickerFirstColor = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Main"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  connect(actionColorPickerFirstColor, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetFirstColor()));</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  actionColorPickerSecondColor = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Secondary"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  connect(actionColorPickerSecondColor, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetSecondColor()));</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  </div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  actionColorSwitch = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Switch"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  actionColorSwitch->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  connect(actionColorSwitch, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSwitchColor()));</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  </div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="comment">//Create Tool actions down here</span></div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  actionCreatePlainTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Plain"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  connect(actionCreatePlainTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreatePlainTool()));</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  actionMovePositionUp = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Up"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  actionMovePositionUp->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Up));</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  connect(actionMovePositionUp, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveUp()));</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  </div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  actionMovePositionDown = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Down"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  actionMovePositionDown->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Down));</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  connect(actionMovePositionDown, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveDown()));</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  </div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  actionMovePositionLeft = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Left"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  actionMovePositionLeft->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Left));</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  connect(actionMovePositionLeft, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveLeft()));</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  actionMovePositionRight = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Right"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  actionMovePositionRight->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Right));</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  connect(actionMovePositionRight, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotPositionMoveRight()));</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  </div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  actionMoveLayerUp = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Layer Up"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  actionMoveLayerUp->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Up));</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  connect(actionMoveLayerUp, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotMoveLayerUp()));</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  </div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  actionMoveLayerDown= <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&move Layer Down"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  actionMoveLayerDown->setShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Down));</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  connect(actionMoveLayerDown, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotMoveLayerDown()));</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  </div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">//Create Color Actions here</span></div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  actionColorPickerFirstColor = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Main"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  connect(actionColorPickerFirstColor, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetFirstColor()));</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  </div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  actionColorPickerSecondColor = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Secondary"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  connect(actionColorPickerSecondColor, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSetSecondColor()));</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  </div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  actionColorSwitch = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Switch"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  actionColorSwitch->setShortcut(QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_S));</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  connect(actionColorSwitch, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotSwitchColor()));</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  </div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="comment">//Create Tool actions down here</span></div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  actionCreatePlainTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Plain"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  connect(actionCreatePlainTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreatePlainTool()));</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  </div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  actionCreatePenTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Pen"</span>),<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  connect(actionCreatePenTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreatePenTool()));</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  </div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  actionCreateLineTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Line"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  connect(actionCreateLineTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreateLineTool()));</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  actionCreatePenTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Pen"</span>),<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  connect(actionCreatePenTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreatePenTool()));</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  </div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  actionCreateLineTool = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&Line"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  connect(actionCreateLineTool, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotCreateLineTool()));</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="comment">// Create about action and tie to IntelliPhotoGui::about()</span></div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  actionAboutDialog = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&About"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  connect(actionAboutDialog, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotAboutDialog()));</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  </div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="comment">// Create about Qt action and tie to IntelliPhotoGui::aboutQt()</span></div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  actionAboutQtDialog = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"About &Qt"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));</div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span> }</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="comment">// Create the menubar</span></div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="keywordtype">void</span> IntelliPhotoGui::createMenus(){</div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="comment">// Create Save As option and the list of file types</span></div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  saveAsMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Save As"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">foreach</span> (QAction *action, actionSaveAs)</div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  saveAsMenu->addAction(action);</div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  </div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  </div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="comment">// Attach all actions to File</span></div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  fileMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&File"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  fileMenu->addAction(actionOpen);</div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  fileMenu->addMenu(saveAsMenu);</div>
|
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  fileMenu->addSeparator();</div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  fileMenu->addAction(actionExit);</div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  </div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="comment">// Attach all actions to Options</span></div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  optionMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Options"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  optionMenu->addAction(actionSetActiveLayer);</div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  optionMenu->addAction(actionSetActiveAlpha);</div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  optionMenu->addAction(actionMovePositionUp);</div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  optionMenu->addAction(actionMovePositionDown);</div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  optionMenu->addAction(actionMovePositionLeft);</div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  optionMenu->addAction(actionMovePositionRight);</div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  optionMenu->addAction(actionMoveLayerUp);</div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  optionMenu->addAction(actionMoveLayerDown);</div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  </div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="comment">// Attach all actions to Layer</span></div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  layerMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Layer"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  layerMenu->addAction(actionCreateNewLayer);</div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  layerMenu->addAction(actionDeleteLayer);</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="comment">// Create about action and tie to IntelliPhotoGui::about()</span></div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  actionAboutDialog = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"&About"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  connect(actionAboutDialog, SIGNAL(triggered()), <span class="keyword">this</span>, SLOT(slotAboutDialog()));</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  </div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="comment">// Create about Qt action and tie to IntelliPhotoGui::aboutQt()</span></div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  actionAboutQtDialog = <span class="keyword">new</span> QAction(tr(<span class="stringliteral">"About &Qt"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  connect(actionAboutQtDialog, SIGNAL(triggered()), qApp, SLOT(aboutQt()));</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span> }</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  </div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">// Create the menubar</span></div>
|
||||
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="keywordtype">void</span> IntelliPhotoGui::createMenus(){</div>
|
||||
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <span class="comment">// Create Save As option and the list of file types</span></div>
|
||||
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  saveAsMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Save As"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">foreach</span> (QAction *action, actionSaveAs)</div>
|
||||
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  saveAsMenu->addAction(action);</div>
|
||||
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  </div>
|
||||
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  </div>
|
||||
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="comment">// Attach all actions to File</span></div>
|
||||
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  fileMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&File"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  fileMenu->addAction(actionOpen);</div>
|
||||
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  fileMenu->addMenu(saveAsMenu);</div>
|
||||
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  fileMenu->addSeparator();</div>
|
||||
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  fileMenu->addAction(actionExit);</div>
|
||||
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  </div>
|
||||
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="comment">// Attach all actions to Options</span></div>
|
||||
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  optionMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Options"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  optionMenu->addAction(actionSetActiveLayer);</div>
|
||||
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  optionMenu->addAction(actionSetActiveAlpha);</div>
|
||||
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  optionMenu->addAction(actionMovePositionUp);</div>
|
||||
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  optionMenu->addAction(actionMovePositionDown);</div>
|
||||
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  optionMenu->addAction(actionMovePositionLeft);</div>
|
||||
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  optionMenu->addAction(actionMovePositionRight);</div>
|
||||
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  optionMenu->addAction(actionMoveLayerUp);</div>
|
||||
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  optionMenu->addAction(actionMoveLayerDown);</div>
|
||||
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  </div>
|
||||
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="comment">// Attach all actions to Layer</span></div>
|
||||
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  layerMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Layer"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  layerMenu->addAction(actionCreateNewLayer);</div>
|
||||
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  layerMenu->addAction(actionDeleteLayer);</div>
|
||||
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
|
||||
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="comment">//Attach all Color Options</span></div>
|
||||
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  colorMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Color"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  colorMenu->addAction(actionColorPickerFirstColor);</div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  colorMenu->addAction(actionColorPickerSecondColor);</div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  colorMenu->addAction(actionColorSwitch);</div>
|
||||
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  </div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="comment">//Attach all Color Options</span></div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  colorMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Color"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  colorMenu->addAction(actionColorPickerFirstColor);</div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  colorMenu->addAction(actionColorPickerSecondColor);</div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  colorMenu->addAction(actionColorSwitch);</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  </div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="comment">//Attach all Tool Options</span></div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  toolMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Tools"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  toolMenu->addAction(actionCreatePenTool);</div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  toolMenu->addAction(actionCreatePlainTool);</div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  toolMenu->addAction(actionCreateLineTool);</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  toolMenu->addSeparator();</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  toolMenu->addMenu(colorMenu);</div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  </div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="comment">// Attach all actions to Help</span></div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  helpMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Help"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  helpMenu->addAction(actionAboutDialog);</div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  helpMenu->addAction(actionAboutQtDialog);</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  </div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="comment">// Add menu items to the menubar</span></div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  menuBar()->addMenu(fileMenu);</div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  menuBar()->addMenu(optionMenu);</div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  menuBar()->addMenu(layerMenu);</div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  menuBar()->addMenu(toolMenu);</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  menuBar()->addMenu(helpMenu);</div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span> }</div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  </div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span> <span class="keywordtype">void</span> IntelliPhotoGui::createGui(){</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="comment">//create a central widget to work on</span></div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  centralGuiWidget = <span class="keyword">new</span> QWidget(<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  setCentralWidget(centralGuiWidget);</div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  </div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="comment">//create the grid for the layout</span></div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  mainLayout = <span class="keyword">new</span> QGridLayout(centralGuiWidget);</div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  centralGuiWidget->setLayout(mainLayout);</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="comment">//create Gui elements</span></div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  paintingArea = <span class="keyword">new</span> <a class="code" href="class_painting_area.html">PaintingArea</a>();</div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="comment">//set gui elements</span></div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  mainLayout->addWidget(paintingArea);</div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span> }</div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  </div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span> <span class="keywordtype">void</span> IntelliPhotoGui::setIntelliStyle(){</div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="comment">// Set the title</span></div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  setWindowTitle(<span class="stringliteral">"IntelliPhoto Prototype"</span>);</div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="comment">//set style sheet</span></div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  this->setStyleSheet(<span class="stringliteral">"background-color:rgb(64,64,64)"</span>);</div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  this->centralGuiWidget->setStyleSheet(<span class="stringliteral">"color:rgb(255,255,255)"</span>);</div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  this->menuBar()->setStyleSheet(<span class="stringliteral">"color:rgb(255,255,255)"</span>);</div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span> }</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  </div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span> <span class="keywordtype">bool</span> IntelliPhotoGui::maybeSave(){</div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="comment">// Check for changes since last save</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  </div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="comment">//TODO insert variable for modified status here to make an save exit message</span></div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordflow">if</span> (<span class="keyword">false</span>) {</div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  QMessageBox::StandardButton ret;</div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  </div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="comment">// Painting is the title</span></div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="comment">// Add text and the buttons</span></div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  ret = QMessageBox::warning(<span class="keyword">this</span>, tr(<span class="stringliteral">"Painting"</span>),</div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  tr(<span class="stringliteral">"The image has been modified.\n"</span></div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="stringliteral">"Do you want to save your changes?"</span>),</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  QMessageBox::Save | QMessageBox::Discard</div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  | QMessageBox::Cancel);</div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  </div>
|
||||
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="comment">// If save button clicked call for file to be saved</span></div>
|
||||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keywordflow">if</span> (ret == QMessageBox::Save) {</div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keywordflow">return</span> saveFile(<span class="stringliteral">"png"</span>);</div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  </div>
|
||||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="comment">// If cancel do nothing</span></div>
|
||||
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (ret == QMessageBox::Cancel) {</div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  }</div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  }</div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span> }</div>
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span> <span class="keywordtype">bool</span> IntelliPhotoGui::saveFile(<span class="keyword">const</span> QByteArray &fileFormat){</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="comment">// Define path, name and default file type</span></div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  QString initialPath = QDir::currentPath() + <span class="stringliteral">"/untitled."</span> + fileFormat;</div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  </div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="comment">// Get selected file from dialog</span></div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="comment">// Add the proper file formats and extensions</span></div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  QString fileName = QFileDialog::getSaveFileName(<span class="keyword">this</span>, tr(<span class="stringliteral">"Save As"</span>),</div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  initialPath,</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  tr(<span class="stringliteral">"%1 Files (*.%2);;All Files (*)"</span>)</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  .arg(QString::fromLatin1(fileFormat.toUpper()))</div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  .arg(QString::fromLatin1(fileFormat)), <span class="keyword">nullptr</span>, QFileDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  </div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  <span class="comment">// If no file do nothing</span></div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <span class="keywordflow">if</span> (fileName.isEmpty()) {</div>
|
||||
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <span class="comment">// Call for the file to be saved</span></div>
|
||||
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordflow">return</span> paintingArea-><a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">save</a>(fileName, fileFormat.constData());</div>
|
||||
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  }</div>
|
||||
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span> }</div>
|
||||
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <span class="comment">//Attach all Tool Options</span></div>
|
||||
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  toolMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Tools"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  toolMenu->addAction(actionCreatePenTool);</div>
|
||||
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  toolMenu->addAction(actionCreatePlainTool);</div>
|
||||
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  toolMenu->addAction(actionCreateLineTool);</div>
|
||||
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  toolMenu->addSeparator();</div>
|
||||
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  toolMenu->addMenu(colorMenu);</div>
|
||||
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  </div>
|
||||
<div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="comment">// Attach all actions to Help</span></div>
|
||||
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  helpMenu = <span class="keyword">new</span> QMenu(tr(<span class="stringliteral">"&Help"</span>), <span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  helpMenu->addAction(actionAboutDialog);</div>
|
||||
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  helpMenu->addAction(actionAboutQtDialog);</div>
|
||||
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  </div>
|
||||
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="comment">// Add menu items to the menubar</span></div>
|
||||
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  menuBar()->addMenu(fileMenu);</div>
|
||||
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  menuBar()->addMenu(optionMenu);</div>
|
||||
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  menuBar()->addMenu(layerMenu);</div>
|
||||
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  menuBar()->addMenu(toolMenu);</div>
|
||||
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  menuBar()->addMenu(helpMenu);</div>
|
||||
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span> }</div>
|
||||
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  </div>
|
||||
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span> <span class="keywordtype">void</span> IntelliPhotoGui::createGui(){</div>
|
||||
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="comment">// create a central widget to work on</span></div>
|
||||
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  centralGuiWidget = <span class="keyword">new</span> QWidget(<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  setCentralWidget(centralGuiWidget);</div>
|
||||
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  </div>
|
||||
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="comment">// create the grid for the layout</span></div>
|
||||
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  mainLayout = <span class="keyword">new</span> QGridLayout(centralGuiWidget);</div>
|
||||
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  centralGuiWidget->setLayout(mainLayout);</div>
|
||||
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  </div>
|
||||
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <span class="comment">// create Gui elements</span></div>
|
||||
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  paintingArea = <span class="keyword">new</span> <a class="code" href="class_painting_area.html">PaintingArea</a>();</div>
|
||||
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  </div>
|
||||
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="comment">// set gui elements</span></div>
|
||||
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  mainLayout->addWidget(paintingArea);</div>
|
||||
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span> }</div>
|
||||
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  </div>
|
||||
<div class="line"><a name="l00412"></a><span class="lineno"> 412</span> <span class="keywordtype">void</span> IntelliPhotoGui::setIntelliStyle(){</div>
|
||||
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="comment">// Set the title</span></div>
|
||||
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  setWindowTitle(<span class="stringliteral">"IntelliPhoto Prototype"</span>);</div>
|
||||
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="comment">// Set style sheet</span></div>
|
||||
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  this->setStyleSheet(<span class="stringliteral">"background-color:rgb(64,64,64)"</span>);</div>
|
||||
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  this->centralGuiWidget->setStyleSheet(<span class="stringliteral">"color:rgb(255,255,255)"</span>);</div>
|
||||
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  this->menuBar()->setStyleSheet(<span class="stringliteral">"color:rgb(255,255,255)"</span>);</div>
|
||||
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> }</div>
|
||||
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  </div>
|
||||
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span> <span class="keywordtype">bool</span> IntelliPhotoGui::maybeSave(){</div>
|
||||
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="comment">// Check for changes since last save</span></div>
|
||||
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  </div>
|
||||
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <span class="comment">// TODO insert variable for modified status here to make an save exit message</span></div>
|
||||
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keywordflow">if</span> (<span class="keyword">false</span>) {</div>
|
||||
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  QMessageBox::StandardButton ret;</div>
|
||||
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  </div>
|
||||
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="comment">// Painting is the title of the window</span></div>
|
||||
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <span class="comment">// Add text and the buttons</span></div>
|
||||
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  ret = QMessageBox::warning(<span class="keyword">this</span>, tr(<span class="stringliteral">"Painting"</span>),</div>
|
||||
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  tr(<span class="stringliteral">"The image has been modified.\n"</span></div>
|
||||
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="stringliteral">"Do you want to save your changes?"</span>),</div>
|
||||
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  QMessageBox::Save | QMessageBox::Discard</div>
|
||||
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  | QMessageBox::Cancel);</div>
|
||||
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  </div>
|
||||
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="comment">// If save button clicked call for file to be saved</span></div>
|
||||
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keywordflow">if</span> (ret == QMessageBox::Save) {</div>
|
||||
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <span class="keywordflow">return</span> saveFile(<span class="stringliteral">"png"</span>);</div>
|
||||
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  </div>
|
||||
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="comment">// If cancel do nothing</span></div>
|
||||
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (ret == QMessageBox::Cancel) {</div>
|
||||
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  }</div>
|
||||
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  }</div>
|
||||
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span> }</div>
|
||||
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div>
|
||||
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span> <span class="keywordtype">bool</span> IntelliPhotoGui::saveFile(<span class="keyword">const</span> QByteArray &fileFormat){</div>
|
||||
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="comment">// Define path, name and default file type</span></div>
|
||||
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  QString initialPath = QDir::currentPath() + <span class="stringliteral">"/untitled."</span> + fileFormat;</div>
|
||||
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  </div>
|
||||
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="comment">// Get selected file from dialog</span></div>
|
||||
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="comment">// Add the proper file formats and extensions</span></div>
|
||||
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  QString fileName = QFileDialog::getSaveFileName(<span class="keyword">this</span>, tr(<span class="stringliteral">"Save As"</span>),</div>
|
||||
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  initialPath,</div>
|
||||
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  tr(<span class="stringliteral">"%1 Files (*.%2);;All Files (*)"</span>)</div>
|
||||
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  .arg(QString::fromLatin1(fileFormat.toUpper()))</div>
|
||||
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  .arg(QString::fromLatin1(fileFormat)), <span class="keyword">nullptr</span>, QFileDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  </div>
|
||||
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="comment">// If no file do nothing</span></div>
|
||||
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordflow">if</span> (fileName.isEmpty()) {</div>
|
||||
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="comment">// Call for the file to be saved</span></div>
|
||||
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordflow">return</span> paintingArea-><a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">save</a>(fileName, fileFormat.constData());</div>
|
||||
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  }</div>
|
||||
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00057">PaintingArea.cpp:57</a></div></div>
|
||||
<div class="ttc" id="a_intelli_photo_gui_8cpp_html_ac2f8320173dfaf943bb39e39cb1a23e5"><div class="ttname"><a href="_intelli_photo_gui_8cpp.html#ac2f8320173dfaf943bb39e39cb1a23e5">slotCreateFloodFillTool</a></div><div class="ttdeci">void slotCreateFloodFillTool()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00109">IntelliPhotoGui.cpp:109</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00103">PaintingArea.cpp:103</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00090">PaintingArea.cpp:90</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00139">PaintingArea.cpp:139</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00115">PaintingArea.cpp:115</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00186">PaintingArea.cpp:186</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00058">PaintingArea.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00104">PaintingArea.cpp:104</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00091">PaintingArea.cpp:91</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00140">PaintingArea.cpp:140</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00116">PaintingArea.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00187">PaintingArea.cpp:187</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_ad2aaec3c1517a9aaa461b54e341b97e0"><div class="ttname"><a href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui::IntelliPhotoGui</a></div><div class="ttdeci">IntelliPhotoGui()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00010">IntelliPhotoGui.cpp:10</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="a_intelli_photo_gui_8cpp_html_a30169da42b55e0339af0d28dfc8ccd40"><div class="ttname"><a href="_intelli_photo_gui_8cpp.html#a30169da42b55e0339af0d28dfc8ccd40">slotCreatePenTool</a></div><div class="ttdeci">void slotCreatePenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00105">IntelliPhotoGui.cpp:105</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00074">PaintingArea.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00191">PaintingArea.cpp:191</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00172">PaintingArea.cpp:172</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00167">PaintingArea.cpp:167</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00177">PaintingArea.cpp:177</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_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00075">PaintingArea.cpp:75</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00182">PaintingArea.cpp:182</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00192">PaintingArea.cpp:192</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00168">PaintingArea.cpp:168</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00178">PaintingArea.cpp:178</a></div></div>
|
||||
<div class="ttc" id="a_intelli_photo_gui_8h_html"><div class="ttname"><a href="_intelli_photo_gui_8h.html">IntelliPhotoGui.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00024">IntelliPhotoGui.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00153">PaintingArea.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00026">IntelliPhotoGui.cpp:26</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00154">PaintingArea.cpp:154</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00161">PaintingArea.cpp:161</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00096">PaintingArea.cpp:96</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00148">PaintingArea.cpp:148</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00162">PaintingArea.cpp:162</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00097">PaintingArea.cpp:97</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00149">PaintingArea.cpp:149</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -121,11 +121,11 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','')
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">void</span> <a class="code" href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">closeEvent</a>(QCloseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">private</span> slots:</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">//meta slots here (need further )</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// meta slots here (need further )</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">void</span> slotOpen();</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">void</span> slotSave();</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">//layer slots here</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">// layer slots here</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span> slotCreateNewLayer();</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">void</span> slotDeleteLayer();</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">void</span> slotClearActiveLayer();</div>
|
||||
@@ -138,95 +138,92 @@ $(document).ready(function(){initNavTree('_intelli_photo_gui_8h_source.html','')
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">void</span> slotMoveLayerUp();</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">void</span> slotMoveLayerDown();</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>  <span class="comment">//color Picker slots here</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// color Picker slots here</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">void</span> slotSetFirstColor();</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> slotSetSecondColor();</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">void</span> slotSwitchColor();</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">//tool slots here</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// tool slots here</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">void</span> slotCreatePenTool();</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span> slotCreatePlainTool();</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> slotCreateLineTool();</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">//slots for dialogs</span></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// slots for dialogs</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">void</span> slotAboutDialog();</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Will tie user actions to functions</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> createActions();</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> createMenus();</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">//setup GUI elements</span></div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// setup GUI elements</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">void</span> createGui();</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">//set style of the GUI</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// set style of the GUI</span></div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> setIntelliStyle();</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </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">// Will check if changes have occurred since last save</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">bool</span> maybeSave();</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// Opens the Save dialog and saves</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">bool</span> saveFile(<span class="keyword">const</span> QByteArray &fileFormat);</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// What we'll draw on</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="class_painting_area.html">PaintingArea</a>* paintingArea;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// The menu widgets</span></div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  QMenu *saveAsMenu;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  QMenu *fileMenu;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  QMenu *optionMenu;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  QMenu *layerMenu;</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  QMenu *colorMenu;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  QMenu *toolMenu;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  QMenu *helpMenu;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// All the actions that can occur</span></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">//meta image actions (need further modularisation)</span></div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  QAction *actionOpen;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  QAction *actionExit;</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>  <span class="comment">//color Picker actions</span></div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  QAction *actionColorPickerFirstColor;</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  QAction *actionColorPickerSecondColor;</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  QAction *actionColorSwitch;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">//tool actions</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  QAction *actionCreatePenTool;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  QAction *actionCreatePlainTool;</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  QAction *actionCreateLineTool;</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  </div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">//dialog actions</span></div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  QAction *actionAboutDialog;</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  QAction *actionAboutQtDialog;</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">//layer change actions</span></div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  QAction *actionCreateNewLayer;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  QAction *actionDeleteLayer;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  QAction* actionSetActiveLayer;</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  QAction* actionSetActiveAlpha;</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  QAction* actionMovePositionUp;</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  QAction* actionMovePositionDown;</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  QAction* actionMovePositionLeft;</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  QAction* actionMovePositionRight;</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  QAction* actionMoveLayerUp;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  QAction* actionMoveLayerDown;</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="comment">// Actions tied to specific file formats</span></div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  QList<QAction *> actionSaveAs;</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>  <span class="comment">//main GUI elements</span></div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  QWidget* centralGuiWidget;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  QGridLayout *mainLayout;</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> };</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// Will check if changes have occurred since last save</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordtype">bool</span> maybeSave();</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Opens the Save dialog and saves</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">bool</span> saveFile(<span class="keyword">const</span> QByteArray &fileFormat);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// What we'll draw on</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_painting_area.html">PaintingArea</a>* paintingArea;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">// The menu widgets</span></div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  QMenu *saveAsMenu;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  QMenu *fileMenu;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  QMenu *optionMenu;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  QMenu *layerMenu;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  QMenu *colorMenu;</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  QMenu *toolMenu;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  QMenu *helpMenu;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="comment">// All the actions that can occur</span></div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">// meta image actions (need further modularisation)</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  QAction *actionOpen;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  QAction *actionExit;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// color Picker actions</span></div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  QAction *actionColorPickerFirstColor;</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  QAction *actionColorPickerSecondColor;</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  QAction *actionColorSwitch;</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="comment">// tool actions</span></div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  QAction *actionCreatePenTool;</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  QAction *actionCreatePlainTool;</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  QAction *actionCreateLineTool;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// dialog actions</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  QAction *actionAboutDialog;</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  QAction *actionAboutQtDialog;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// layer change actions</span></div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  QAction *actionCreateNewLayer;</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  QAction *actionDeleteLayer;</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  QAction* actionSetActiveLayer;</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  QAction* actionSetActiveAlpha;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  QAction* actionMovePositionUp;</div>
|
||||
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  QAction* actionMovePositionDown;</div>
|
||||
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  QAction* actionMovePositionLeft;</div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  QAction* actionMovePositionRight;</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  QAction* actionMoveLayerUp;</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  QAction* actionMoveLayerDown;</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="comment">// Actions tied to specific file formats</span></div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  QList<QAction *> actionSaveAs;</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="comment">// main GUI elements</span></div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  QWidget* centralGuiWidget;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  QGridLayout *mainLayout;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span> };</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html"><div class="ttname"><a href="class_intelli_photo_gui.html">IntelliPhotoGui</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8h_source.html#l00019">IntelliPhotoGui.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_ad2aaec3c1517a9aaa461b54e341b97e0"><div class="ttname"><a href="class_intelli_photo_gui.html#ad2aaec3c1517a9aaa461b54e341b97e0">IntelliPhotoGui::IntelliPhotoGui</a></div><div class="ttdeci">IntelliPhotoGui()</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00010">IntelliPhotoGui.cpp:10</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#l00026">PaintingArea.h:26</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_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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00024">IntelliPhotoGui.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_photo_gui_html_a2cf48070236ae8b35245e7f30482ef13"><div class="ttname"><a href="class_intelli_photo_gui.html#a2cf48070236ae8b35245e7f30482ef13">IntelliPhotoGui::closeEvent</a></div><div class="ttdeci">void closeEvent(QCloseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_photo_gui_8cpp_source.html#l00026">IntelliPhotoGui.cpp:26</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>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -111,7 +111,7 @@ $(document).ready(function(){initNavTree('_intelli_raster_image_8cpp_source.html
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> }</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60"> 21</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_raster_image.html#a87cf2d360c129d64a5db0db85818eb60">IntelliRasterImage::calculateVisiblity</a>(){</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">//not used in raster image</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">// not used in raster image</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</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"><a class="line" href="class_intelli_raster_image.html#a612d79124f0e2c158a4f0abbe4b5f97f"> 25</a></span> QImage <a class="code" href="class_intelli_raster_image.html#ae43393397b0141a8033fe34d3a1b1884">IntelliRasterImage::getDisplayable</a>(<span class="keywordtype">int</span> alpha){</div>
|
||||
|
||||
@@ -29,7 +29,9 @@ digraph "intelliphoto/src/Image/IntelliRasterImage.h"
|
||||
Node5 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node5 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node5 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -175,7 +175,7 @@ $(document).ready(function(){initNavTree('_intelli_shaped_image_8cpp_source.html
|
||||
<div class="ttc" id="a_intelli_helper_8h_html"><div class="ttname"><a href="_intelli_helper_8h.html">IntelliHelper.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html"><div class="ttname"><a href="class_intelli_shaped_image.html">IntelliShapedImage</a></div><div class="ttdoc">The IntelliShapedImage manages a Shapedimage.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00011">IntelliShapedImage.h:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html_aed0b31e0fa771104399d1f5ff39a0337"><div class="ttname"><a href="class_intelli_shaped_image.html#aed0b31e0fa771104399d1f5ff39a0337">IntelliShapedImage::getDeepCopy</a></div><div class="ttdeci">virtual IntelliImage * getDeepCopy() override</div><div class="ttdoc">A function that copys all that returns a [allocated] Image.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8cpp_source.html#l00019">IntelliShapedImage.cpp:19</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00116">IntelliHelper.cpp:116</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00115">IntelliHelper.cpp:115</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a214dc3624ba4562a03dc922e3dd7b617"><div class="ttname"><a href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00007">IntelliHelper.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00032">IntelliImage.h:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00024">IntelliImage.h:24</a></div></div>
|
||||
|
||||
@@ -25,6 +25,8 @@ digraph "intelliphoto/src/Image/IntelliShapedImage.h"
|
||||
Node3 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node3 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
|
||||
@@ -181,21 +181,21 @@ $(document).ready(function(){initNavTree('_intelli_tool_8cpp_source.html','');})
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a346dd55d489fced38e7bb46f9168af91"><div class="ttname"><a href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00004">IntelliTool.cpp:4</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#l00033">IntelliTool.h: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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00074">PaintingArea.cpp:74</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_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00075">PaintingArea.cpp:75</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="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af256de16e9825922d20a23d11617b51b"><div class="ttname"><a href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">IntelliTool::drawing</a></div><div class="ttdeci">bool drawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00053">IntelliTool.h:53</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</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_image_html_a2431be82e9e85dd34b62a7f7cba053c2"><div class="ttname"><a href="class_intelli_image.html#a2431be82e9e85dd34b62a7f7cba053c2">IntelliImage::imageData</a></div><div class="ttdeci">QImage imageData</div><div class="ttdoc">The underlying image data.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00032">IntelliImage.h:32</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#l00018">PaintingArea.h:18</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="aclass_intelli_tool_html_a13512e95d21a9934ecb36d73b118c25f"><div class="ttname"><a href="class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f">IntelliTool::Active</a></div><div class="ttdeci">LayerObject * Active</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00043">IntelliTool.h:43</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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00010">IntelliTool.cpp:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -23,30 +23,36 @@ digraph "intelliphoto/src/Tool/IntelliTool.h"
|
||||
Node2 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node2 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node11 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node2 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "];
|
||||
Node12 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "];
|
||||
Node13 [label="intelliphoto/src/Tool\l/IntelliToolCircle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_circle_8h.html",tooltip=" "];
|
||||
Node13 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "];
|
||||
Node14 [label="intelliphoto/src/Tool\l/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "];
|
||||
Node14 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "];
|
||||
Node15 [label="intelliphoto/src/Tool\l/IntelliToolLine.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_line_8h.html",tooltip=" "];
|
||||
Node15 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "];
|
||||
Node16 [label="intelliphoto/src/Tool\l/IntelliToolPen.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_pen_8h.html",tooltip=" "];
|
||||
Node16 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "];
|
||||
Node17 [label="intelliphoto/src/Tool\l/IntelliToolPlain.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8h.html",tooltip=" "];
|
||||
Node17 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "];
|
||||
Node18 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8h.html",tooltip=" "];
|
||||
Node19 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
|
||||
@@ -145,8 +145,8 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html','');});
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a346dd55d489fced38e7bb46f9168af91"><div class="ttname"><a href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool::IntelliTool</a></div><div class="ttdeci">IntelliTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general Painting Area and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00004">IntelliTool.cpp:4</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#l00033">IntelliTool.h: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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></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="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="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00016">PaintingArea.h:16</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="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</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>
|
||||
@@ -155,7 +155,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_8h_source.html','');});
|
||||
<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_a13512e95d21a9934ecb36d73b118c25f"><div class="ttname"><a href="class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f">IntelliTool::Active</a></div><div class="ttdeci">LayerObject * Active</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00043">IntelliTool.h:43</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_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a57fb1b27d364c9e3696eb928b75fa9f2"><div class="ttname"><a href="class_intelli_tool.html#a57fb1b27d364c9e3696eb928b75fa9f2">IntelliTool::~IntelliTool</a></div><div class="ttdeci">virtual ~IntelliTool()=0</div><div class="ttdoc">An abstract Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00010">IntelliTool.cpp:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
|
||||
@@ -179,35 +179,35 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8cpp_source.html'
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00051">IntelliToolCircle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::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 layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00051">IntelliToolCircle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00055">IntelliToolCircle.cpp:55</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::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_circle_8cpp_source.html#l00055">IntelliToolCircle.cpp:55</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the edge Width relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</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_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#l00026">PaintingArea.h:26</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_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00055">IntelliImage.cpp:55</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="aclass_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00012">IntelliToolCircle.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00012">IntelliToolCircle.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af256de16e9825922d20a23d11617b51b"><div class="ttname"><a href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">IntelliTool::drawing</a></div><div class="ttdeci">bool drawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00053">IntelliTool.h:53</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_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_circle_html_a90ee58c5390a86afc75c14ca79b91d7b"><div class="ttname"><a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00079">IntelliToolCircle.cpp:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a9b185b9d327f8602d0b7f667b8d1d32a"><div class="ttname"><a href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</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#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a90ee58c5390a86afc75c14ca79b91d7b"><div class="ttname"><a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle::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. Draws a circle with radius of eulerian norm of mouse posit...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00079">IntelliToolCircle.cpp:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a9b185b9d327f8602d0b7f667b8d1d32a"><div class="ttname"><a href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</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="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::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_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_circle_8h_html"><div class="ttname"><a href="_intelli_tool_circle_8h.html">IntelliToolCircle.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00059">IntelliToolCircle.cpp:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::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 middle point of the cricle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00059">IntelliToolCircle.cpp:59</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -111,6 +111,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html">IntelliToolCircle</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_circle.html" title="The IntelliToolCircle class represents a tool to draw a circle.">IntelliToolCircle</a> class represents a tool to draw a circle. <a href="class_intelli_tool_circle.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -96,45 +96,50 @@ $(document).ready(function(){initNavTree('_intelli_tool_circle_8h_source.html','
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "QColor"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "QPoint"</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_intelli_tool_circle.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_circle.html">IntelliToolCircle</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <span class="keywordtype">void</span> drawCyrcle(<span class="keywordtype">int</span> radius);</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  QPoint Middle;</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keywordtype">int</span> alphaInner;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordtype">int</span> edgeWidth;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle</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>);</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">~IntelliToolCircle</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">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="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">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="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">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="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">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="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</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="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">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="l00026"></a><span class="lineno"> 26</span> };</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif // INTELLITOOLCIRCLE_H</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_tool_circle.html"> 10</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_circle.html">IntelliToolCircle</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keywordtype">void</span> drawCyrcle(<span class="keywordtype">int</span> radius);</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  QPoint Middle;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">int</span> alphaInner;</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keywordtype">int</span> edgeWidth;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle</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>);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">~IntelliToolCircle</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">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="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">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="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">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="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">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="l00071"></a><span class="lineno"> 71</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">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="l00084"></a><span class="lineno"> 84</span> };</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor">#endif // INTELLITOOLCIRCLE_H</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00051">IntelliToolCircle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00055">IntelliToolCircle.cpp:55</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a29d7b9ed4960e6fe1f31ff620363e429"><div class="ttname"><a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle::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 layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00051">IntelliToolCircle.cpp:51</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_aca07540f2f7ccb3d2c0b84890c1afc4c"><div class="ttname"><a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle::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_circle_8cpp_source.html#l00055">IntelliToolCircle.cpp:55</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#l00038">IntelliTool.h:38</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_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae2d9b0fb6695c184c4cb507a5fb75506"><div class="ttname"><a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing the edge Width relative to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00071">IntelliToolCircle.cpp:71</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#l00033">IntelliTool.h: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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00012">IntelliToolCircle.cpp:12</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_intelli_tool_circle_html_a7a03b65b95d7b5d72e6a92c95f068954"><div class="ttname"><a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">IntelliToolCircle::~IntelliToolCircle</a></div><div class="ttdeci">virtual ~IntelliToolCircle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00012">IntelliToolCircle.cpp:12</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#l00013">IntelliTool.h:13</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_circle_html_a90ee58c5390a86afc75c14ca79b91d7b"><div class="ttname"><a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00079">IntelliToolCircle.cpp:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a9b185b9d327f8602d0b7f667b8d1d32a"><div class="ttname"><a href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html"><div class="ttname"><a href="class_intelli_tool_circle.html">IntelliToolCircle</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8h_source.html#l00008">IntelliToolCircle.h:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00059">IntelliToolCircle.cpp:59</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a90ee58c5390a86afc75c14ca79b91d7b"><div class="ttname"><a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle::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. Draws a circle with radius of eulerian norm of mouse posit...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00079">IntelliToolCircle.cpp:79</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_a9b185b9d327f8602d0b7f667b8d1d32a"><div class="ttname"><a href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle::IntelliToolCircle</a></div><div class="ttdeci">IntelliToolCircle(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and ed...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00006">IntelliToolCircle.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ad8e438ec997c57262b5efc2db4cee1a3"><div class="ttname"><a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle::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_circle_8cpp_source.html#l00067">IntelliToolCircle.cpp:67</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html"><div class="ttname"><a href="class_intelli_tool_circle.html">IntelliToolCircle</a></div><div class="ttdoc">The IntelliToolCircle class represents a tool to draw a circle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8h_source.html#l00010">IntelliToolCircle.h:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_circle_html_ae883b8ae833c78a8867e626c600f9639"><div class="ttname"><a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle::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 middle point of the cricle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_circle_8cpp_source.html#l00059">IntelliToolCircle.cpp:59</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -172,32 +172,32 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8cpp_source.h
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00044">IntelliImage.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00066">IntelliToolFloodFill.cpp:66</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00070">IntelliToolFloodFill.cpp:70</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00066">IntelliToolFloodFill.cpp:66</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00070">IntelliToolFloodFill.cpp:70</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_flood_fill_8h_html"><div class="ttname"><a href="_intelli_tool_flood_fill_8h.html">IntelliToolFloodFill.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp: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="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00012">IntelliToolFloodFill.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b51838da304e274bf866cf2fd5407a"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::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 point to flood fill around and does t...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp: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="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_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00012">IntelliToolFloodFill.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b51838da304e274bf866cf2fd5407a"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</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="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00075">IntelliToolFloodFill.cpp:75</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::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.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00075">IntelliToolFloodFill.cpp:75</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00081">IntelliImage.cpp:81</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a4576ebb6d863321c816293d7b7f9fd3f"><div class="ttname"><a href="class_intelli_image.html#a4576ebb6d863321c816293d7b7f9fd3f">IntelliImage::getPixelColor</a></div><div class="ttdeci">virtual QColor getPixelColor(QPoint &point)</div><div class="ttdoc">A function that returns the pixelcolor at a certain point.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00080">IntelliImage.cpp:80</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</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_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp: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#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp: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#l00017">PaintingArea.h:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a13512e95d21a9934ecb36d73b118c25f"><div class="ttname"><a href="class_intelli_tool.html#a13512e95d21a9934ecb36d73b118c25f">IntelliTool::Active</a></div><div class="ttdeci">LayerObject * Active</div><div class="ttdoc">A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or prev...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00043">IntelliTool.h:43</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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -110,6 +110,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to flood FIll a certian area. <a href="class_intelli_tool_flood_fill.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -96,40 +96,44 @@ $(document).ready(function(){initNavTree('_intelli_tool_flood_fill_8h_source.htm
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "QColor"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_intelli_tool_flood_fill.html"> 7</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <a class="code" href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill</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>);</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">~IntelliToolFloodFill</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">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="l00014"></a><span class="lineno"> 14</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">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="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">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="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">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="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">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="l00021"></a><span class="lineno"> 21</span> };</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif // INTELLITOOLFLOODFILL_H</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_tool_flood_fill.html"> 10</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill</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>);</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">~IntelliToolFloodFill</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">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="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">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="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">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="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">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="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">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="l00065"></a><span class="lineno"> 65</span> };</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor">#endif // INTELLITOOLFLOODFILL_H</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a39cf49c0ce46f96be3510f0b70c9d892"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00021">IntelliToolFloodFill.cpp:21</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_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00066">IntelliToolFloodFill.cpp:66</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00070">IntelliToolFloodFill.cpp:70</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a7438ef96c6c36068bce76e2364e8594c"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00066">IntelliToolFloodFill.cpp:66</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ad58cc7c065123beb6b0270f99e99b991"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00070">IntelliToolFloodFill.cpp:70</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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp: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="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00012">IntelliToolFloodFill.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b51838da304e274bf866cf2fd5407a"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00075">IntelliToolFloodFill.cpp:75</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ac85e3cb6233508ff9612833a8d9e3961"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill::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 point to flood fill around and does t...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00025">IntelliToolFloodFill.cpp: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="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_flood_fill_html_a83b1bd8be0cbb32cdf61a9597ec849ba"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">IntelliToolFloodFill::~IntelliToolFloodFill</a></div><div class="ttdeci">virtual ~IntelliToolFloodFill() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00012">IntelliToolFloodFill.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a83b51838da304e274bf866cf2fd5407a"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill::IntelliToolFloodFill</a></div><div class="ttdeci">IntelliToolFloodFill(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00008">IntelliToolFloodFill.cpp:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_a3cd42cea99bc7583875abcc0c274c668"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill::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.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00075">IntelliToolFloodFill.cpp:75</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#l00013">IntelliTool.h:13</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_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html"><div class="ttname"><a href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8h_source.html#l00007">IntelliToolFloodFill.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html_ada0f7154d119102410a55038763a17e4"><div class="ttname"><a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill::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_flood_fill_8cpp_source.html#l00017">IntelliToolFloodFill.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html"><div class="ttname"><a href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to flood FIll a certian area.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8h_source.html#l00010">IntelliToolFloodFill.h:10</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846"> 26</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  this->start=QPoint(x,y);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(start, start, <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(),lineWidth);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">drawPoint</a>(start, <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(),lineWidth);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> }</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
@@ -161,16 +161,17 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199">LineStyle::SOLID_LINE</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00045">IntelliToolLine.cpp:45</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. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00037">IntelliToolLine.cpp:37</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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00022">IntelliToolLine.cpp:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a9b2d4bcd69409a21f6080edfea4ae2a2"><div class="ttname"><a href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *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#l00045">IntelliToolLine.cpp:45</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#l00037">IntelliToolLine.cpp:37</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#l00022">IntelliToolLine.cpp:22</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a9b2d4bcd69409a21f6080edfea4ae2a2"><div class="ttname"><a href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and line...</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="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e">LineStyle::DOTTED_LINE</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#l00026">PaintingArea.h:26</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="a_intelli_tool_line_8h_html"><div class="ttname"><a href="_intelli_tool_line_8h.html">IntelliToolLine.h</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="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00013">IntelliToolLine.cpp:13</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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00033">IntelliToolLine.cpp:33</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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00018">IntelliToolLine.cpp:18</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#l00013">IntelliToolLine.cpp:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00055">IntelliImage.cpp:55</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#l00033">IntelliToolLine.cpp:33</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#l00018">IntelliToolLine.cpp:18</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="aclass_intelli_tool_html_af256de16e9825922d20a23d11617b51b"><div class="ttname"><a href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">IntelliTool::drawing</a></div><div class="ttdeci">bool drawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00053">IntelliTool.h:53</a></div></div>
|
||||
@@ -178,12 +179,12 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8cpp_source.html','
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_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#l00018">PaintingArea.h:18</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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00026">IntelliToolLine.cpp:26</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="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#l00026">IntelliToolLine.cpp:26</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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -111,6 +111,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html">IntelliToolLine</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to draw a line. <a href="class_intelli_tool_line.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
|
||||
@@ -118,6 +119,7 @@ Enumerations</h2></td></tr>
|
||||
<tr class="memitem:a86e0f5648542856159bb40775c854aa7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a> { <a class="el" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199">LineStyle::SOLID_LINE</a>,
|
||||
<a class="el" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e">LineStyle::DOTTED_LINE</a>
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a86e0f5648542856159bb40775c854aa7"><td class="mdescLeft"> </td><td class="mdescRight">The LineStyle enum classifing all ways of drawing a line. <a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">More...</a><br /></td></tr>
|
||||
<tr class="separator:a86e0f5648542856159bb40775c854aa7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
@@ -140,12 +142,14 @@ Enumerations</h2></td></tr>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The LineStyle enum classifing all ways of drawing a line. </p>
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199"></a>SOLID_LINE </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e"></a>DOTTED_LINE </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8h_source.html#l00007">7</a> of file <a class="el" href="_intelli_tool_line_8h_source.html">IntelliToolLine.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8h_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_line_8h_source.html">IntelliToolLine.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -96,51 +96,57 @@ $(document).ready(function(){initNavTree('_intelli_tool_line_8h_source.html','')
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "QPoint"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7"> 7</a></span> <span class="keyword">enum class</span> <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a>{</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199">SOLID_LINE</a>,</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e">DOTTED_LINE</a></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> };</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="class_intelli_tool_line.html"> 12</a></span> <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="l00013"></a><span class="lineno"> 13</span>  QPoint start;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keywordtype">int</span> lineWidth;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a> lineStyle;</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">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>);</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <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="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <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="l00022"></a><span class="lineno"> 22</span>  <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="l00023"></a><span class="lineno"> 23</span>  <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="l00024"></a><span class="lineno"> 24</span>  <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="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <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="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <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="l00029"></a><span class="lineno"> 29</span> };</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#endif // INTELLITOOLLINE_H</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7"> 10</a></span> <span class="keyword">enum class</span> <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a>{</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199">SOLID_LINE</a>,</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e">DOTTED_LINE</a></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> };</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_intelli_tool_line.html"> 18</a></span> <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="l00022"></a><span class="lineno"> 22</span>  QPoint start;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">int</span> lineWidth;</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a> lineStyle;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">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>);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <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="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <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="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <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="l00060"></a><span class="lineno"> 60</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="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="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <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="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <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="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <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="l00087"></a><span class="lineno"> 87</span> };</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#endif // INTELLITOOLLINE_H</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7ae45e1e6b2e6dde14829d057a4ef44199">LineStyle::SOLID_LINE</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="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a></div><div class="ttdeci">LineStyle</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00007">IntelliToolLine.h:7</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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00045">IntelliToolLine.cpp:45</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. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00037">IntelliToolLine.cpp:37</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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00022">IntelliToolLine.cpp:22</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7">LineStyle</a></div><div class="ttdeci">LineStyle</div><div class="ttdoc">The LineStyle enum classifing all ways of drawing 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_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#l00045">IntelliToolLine.cpp:45</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#l00037">IntelliToolLine.cpp:37</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#l00022">IntelliToolLine.cpp:22</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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_line_html_a9b2d4bcd69409a21f6080edfea4ae2a2"><div class="ttname"><a href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *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_a9b2d4bcd69409a21f6080edfea4ae2a2"><div class="ttname"><a href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">IntelliToolLine::IntelliToolLine</a></div><div class="ttdeci">IntelliToolLine(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and line...</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="a_intelli_tool_line_8h_html_a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e"><div class="ttname"><a href="_intelli_tool_line_8h.html#a86e0f5648542856159bb40775c854aa7a7660f396543c877e45d443f99d02bd0e">LineStyle::DOTTED_LINE</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#l00026">PaintingArea.h:26</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="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00013">IntelliToolLine.cpp:13</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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00033">IntelliToolLine.cpp:33</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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00018">IntelliToolLine.cpp:18</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_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#l00013">IntelliToolLine.cpp:13</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#l00033">IntelliToolLine.cpp:33</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#l00018">IntelliToolLine.cpp:18</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#l00013">IntelliTool.h:13</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_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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8cpp_source.html#l00026">IntelliToolLine.cpp:26</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="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00012">IntelliToolLine.h:12</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#l00026">IntelliToolLine.cpp:26</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#l00018">IntelliToolLine.h:18</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -147,28 +147,28 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8cpp_source.html',''
|
||||
<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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00044">IntelliImage.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::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. To draw the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::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_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::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_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</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_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="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing penWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_af256de16e9825922d20a23d11617b51b"><div class="ttname"><a href="class_intelli_tool.html#af256de16e9825922d20a23d11617b51b">IntelliTool::drawing</a></div><div class="ttdeci">bool drawing</div><div class="ttdoc">A flag checking if the user is currently drawing or not.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8h_source.html#l00053">IntelliTool.h:53</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abda7a22b9766fa4ad254324a53cab94d"><div class="ttname"><a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00031">IntelliToolPen.cpp:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abda7a22b9766fa4ad254324a53cab94d"><div class="ttname"><a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen::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. Merging the drawing to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00031">IntelliToolPen.cpp:31</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_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#l00018">PaintingArea.h:18</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="a_intelli_tool_pen_8h_html"><div class="ttname"><a href="_intelli_tool_pen_8h.html">IntelliToolPen.h</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_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::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. Starting the drawing procedure.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a889891b3ae7cdefb881aed2e7fff9b47"><div class="ttname"><a href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen::IntelliToolPen</a></div><div class="ttdeci">IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00007">IntelliToolPen.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a889891b3ae7cdefb881aed2e7fff9b47"><div class="ttname"><a href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen::IntelliToolPen</a></div><div class="ttdeci">IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. Reading the penWidth.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00007">IntelliToolPen.cpp:7</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -111,6 +111,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html">IntelliToolPen</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_pen.html" title="The IntelliToolPen class represents a tool to draw a line.">IntelliToolPen</a> class represents a tool to draw a line. <a href="class_intelli_tool_pen.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -96,42 +96,44 @@ $(document).ready(function(){initNavTree('_intelli_tool_pen_8h_source.html','');
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include"<a class="code" href="_intelli_tool_8h.html">IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include"QColor"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include"QPoint"</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_intelli_tool_pen.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <span class="keywordtype">int</span> penWidth;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  QPoint point;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <a class="code" href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen</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>);</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">~IntelliToolPen</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">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="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">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="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">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="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">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="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</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="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">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="l00023"></a><span class="lineno"> 23</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">#endif // INTELLITOOLPEN_H</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_intelli_tool_pen.html"> 10</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</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>  <span class="keywordtype">int</span> penWidth;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  QPoint point;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen</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>);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">~IntelliToolPen</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">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="l00037"></a><span class="lineno"> 37</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">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="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">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="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">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="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">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="l00071"></a><span class="lineno"> 71</span> };</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif // INTELLITOOLPEN_H</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#l00038">IntelliTool.h:38</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_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_ac77a025515d0fed6954556fe2b444818"><div class="ttname"><a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">IntelliToolPen::~IntelliToolPen</a></div><div class="ttdeci">virtual ~IntelliToolPen() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00012">IntelliToolPen.cpp:12</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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html"><div class="ttname"><a href="class_intelli_tool_pen.html">IntelliToolPen</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8h_source.html#l00008">IntelliToolPen.h:8</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a58d1d636497b630647ce0c4d652737c2"><div class="ttname"><a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen::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. To draw the line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00035">IntelliToolPen.cpp:35</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a1751e3864a0d36ef42ca55021cae73ce"><div class="ttname"><a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen::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_pen_8cpp_source.html#l00016">IntelliToolPen.cpp:16</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abf8562e8cd2da586afdf4d47b3a4ff13"><div class="ttname"><a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen::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_pen_8cpp_source.html#l00020">IntelliToolPen.cpp:20</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_intelli_tool_pen_html"><div class="ttname"><a href="class_intelli_tool_pen.html">IntelliToolPen</a></div><div class="ttdoc">The IntelliToolPen class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8h_source.html#l00010">IntelliToolPen.h:10</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_afe3626ddff440ab125f4a2465c45427a"><div class="ttname"><a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. Changing penWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00044">IntelliToolPen.cpp:44</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abda7a22b9766fa4ad254324a53cab94d"><div class="ttname"><a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00031">IntelliToolPen.cpp:31</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_abda7a22b9766fa4ad254324a53cab94d"><div class="ttname"><a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen::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. Merging the drawing to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00031">IntelliToolPen.cpp:31</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_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a889891b3ae7cdefb881aed2e7fff9b47"><div class="ttname"><a href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen::IntelliToolPen</a></div><div class="ttdeci">IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00007">IntelliToolPen.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a8ff40aef6d38eb55af31a19322429205"><div class="ttname"><a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen::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. Starting the drawing procedure.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00024">IntelliToolPen.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html_a889891b3ae7cdefb881aed2e7fff9b47"><div class="ttname"><a href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen::IntelliToolPen</a></div><div class="ttdeci">IntelliToolPen(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker. Reading the penWidth.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8cpp_source.html#l00007">IntelliToolPen.cpp:7</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -98,58 +98,63 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8cpp_source.html',
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  :<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> }</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9"> 9</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>());</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> }</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400"> 15</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658"> 9</a></span> <a class="code" href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">IntelliToolPlainTool::~IntelliToolPlainTool</a>(){</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> }</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  </div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9"> 13</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(<a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>());</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> }</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1"> 19</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400"> 19</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</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>  </div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8"> 23</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1"> 23</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> }</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c"> 28</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(x,y);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> }</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8"> 27</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">IntelliTool::onMouseRightReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> }</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d"> 32</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(value);</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c"> 32</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">IntelliTool::onMouseMoved</a>(x,y);</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="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d"> 36</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a>(value);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00015">IntelliToolPlain.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00023">IntelliToolPlain.cpp:23</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::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. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00019">IntelliToolPlain.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00036">IntelliToolPlain.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::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_plain_8cpp_source.html#l00027">IntelliToolPlain.cpp:27</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="a_intelli_tool_plain_8h_html"><div class="ttname"><a href="_intelli_tool_plain_8h.html">IntelliToolPlain.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a0ff0b9f7b78b763683076e4417236859"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a0ff0b9f7b78b763683076e4417236859"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</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_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00009">IntelliToolPlain.cpp:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::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. Filling the whole canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00013">IntelliToolPlain.cpp:13</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="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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_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_plain_tool_html_acb0c46e16d2c09370a2244a936de38b1"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00019">IntelliToolPlain.cpp:19</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#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00028">IntelliToolPlain.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_acb0c46e16d2c09370a2244a936de38b1"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::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 fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00023">IntelliToolPlain.cpp:23</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="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::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.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a91fe568be05c075814d67440472bb658"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">IntelliToolPlainTool::~IntelliToolPlainTool</a></div><div class="ttdeci">virtual ~IntelliToolPlainTool() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00009">IntelliToolPlain.cpp:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -110,6 +110,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_plain_tool.html" title="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.">IntelliToolPlainTool</a> class represents a tool to fill the whole canvas with one color. <a href="class_intelli_tool_plain_tool.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -95,39 +95,43 @@ $(document).ready(function(){initNavTree('_intelli_tool_plain_8h_source.html',''
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_8h.html">IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "QColor"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html"> 7</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <a class="code" href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool</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>);</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">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="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">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="l00013"></a><span class="lineno"> 13</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">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="l00014"></a><span class="lineno"> 14</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">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="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">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="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> };</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_intelli_tool_plain_tool.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <a class="code" href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool</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>);</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">~IntelliToolPlainTool</a>() <span class="keyword">override</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">#endif // INTELLITOOLFLOODFILLTOOL_H</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">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="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">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="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">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="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">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="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </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="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">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="l00062"></a><span class="lineno"> 62</span>  </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>  </div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="preprocessor">#endif // INTELLITOOLFLOODFILLTOOL_H</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#l00038">IntelliTool.h:38</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_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00015">IntelliToolPlain.cpp:15</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ac23f5d0f07e42fd7c2ea3fc1347da400"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool::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. Merging the fill to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00019">IntelliToolPlain.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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00007">IntelliToolPlain.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00023">IntelliToolPlain.cpp:23</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a0ff0b9f7b78b763683076e4417236859"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00009">IntelliToolPlain.cpp:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdoc">The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00009">IntelliToolPlain.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_adc004ea421e2cc0ac39cc7a6b6d43d0d"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00036">IntelliToolPlain.cpp:36</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a2ae458f1b04eb77a47f6dca5e91e33b8"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool::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_plain_8cpp_source.html#l00027">IntelliToolPlain.cpp:27</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_intelli_tool_plain_tool_html_a0ff0b9f7b78b763683076e4417236859"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a0ff0b9f7b78b763683076e4417236859">IntelliToolPlainTool::IntelliToolPlainTool</a></div><div class="ttdeci">IntelliToolPlainTool(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">A constructor setting the general paintingArea and colorPicker.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00005">IntelliToolPlain.cpp:5</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ab786dd5fa80af863246013d43c4b7ac9"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool::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. Filling the whole canvas.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00013">IntelliToolPlain.cpp:13</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#l00013">IntelliTool.h:13</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_plain_tool_html_acb0c46e16d2c09370a2244a936de38b1"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00019">IntelliToolPlain.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00028">IntelliToolPlain.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_acb0c46e16d2c09370a2244a936de38b1"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool::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 fill.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00023">IntelliToolPlain.cpp:23</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_ad7546a6335bb3bb4cbf0e1883788d41c"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool::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.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00032">IntelliToolPlain.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html_a91fe568be05c075814d67440472bb658"><div class="ttname"><a href="class_intelli_tool_plain_tool.html#a91fe568be05c075814d67440472bb658">IntelliToolPlainTool::~IntelliToolPlainTool</a></div><div class="ttdeci">virtual ~IntelliToolPlainTool() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8cpp_source.html#l00009">IntelliToolPlain.cpp:9</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
116
docs/html/_intelli_tool_polygon_8cpp.html
Normal file
116
docs/html/_intelli_tool_polygon_8cpp.html
Normal file
@@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: intelliphoto/src/Tool/IntelliToolPolygon.cpp File Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(initResizable);
|
||||
/* @license-end */</script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.4</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.16 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp.html','');});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolPolygon.cpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_tool_polygon_8h_source.html">IntelliToolPolygon.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_painting_area_8h_source.html">Layer/PaintingArea.h</a>"</code><br />
|
||||
<code>#include <QDebug></code><br />
|
||||
<code>#include <QCursor></code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for IntelliToolPolygon.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_intelli_tool_polygon_8cpp__incl.png" border="0" usemap="#intelliphoto_2src_2_tool_2_intelli_tool_polygon_8cpp" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_intelli_tool_polygon_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_8db5f55022e7670536cbc9a6a1d6f01c.html">intelliphoto</a></li><li class="navelem"><a class="el" href="dir_83a4347d11f2ba6343d546ab133722d2.html">src</a></li><li class="navelem"><a class="el" href="dir_941490de56ac122cf77df9922cbcc750.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_polygon_8cpp.html">IntelliToolPolygon.cpp</a></li>
|
||||
<li class="footer">Generated by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
60
docs/html/_intelli_tool_polygon_8cpp__incl.dot
Normal file
60
docs/html/_intelli_tool_polygon_8cpp__incl.dot
Normal file
@@ -0,0 +1,60 @@
|
||||
digraph "intelliphoto/src/Tool/IntelliToolPolygon.cpp"
|
||||
{
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "];
|
||||
Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "];
|
||||
Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node4 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node4 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node3 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliHelper/IntelliHelper.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8h.html",tooltip=" "];
|
||||
Node9 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="Layer/PaintingArea.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8h.html",tooltip=" "];
|
||||
Node10 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="QImage",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node10 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="QWidget",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node10 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="QList",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node10 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="Image/IntelliImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_image_8h.html",tooltip=" "];
|
||||
Node14 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="QSize",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node14 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="Image/IntelliRasterImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_raster_image_8h.html",tooltip=" "];
|
||||
Node16 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="Image/IntelliShapedImage.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_shaped_image_8h.html",tooltip=" "];
|
||||
Node17 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="QDebug",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node1 -> Node19 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="QCursor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
}
|
||||
240
docs/html/_intelli_tool_polygon_8cpp_source.html
Normal file
240
docs/html/_intelli_tool_polygon_8cpp_source.html
Normal file
@@ -0,0 +1,240 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: intelliphoto/src/Tool/IntelliToolPolygon.cpp 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(initResizable);
|
||||
/* @license-end */</script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.4</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.16 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_polygon_8cpp_source.html','');});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolPolygon.cpp</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_tool_polygon_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> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a>"</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "<a class="code" href="_painting_area_8h.html">Layer/PaintingArea.h</a>"</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <QDebug></span></div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <QCursor></span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d"> 6</a></span> <a class="code" href="class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d">IntelliToolPolygon::IntelliToolPolygon</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="l00007"></a><span class="lineno"> 7</span>  :<a class="code" href="class_intelli_tool.html">IntelliTool</a>(Area, colorPicker){</div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  lineWidth = 5;</div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  isDrawing = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  PointIsNearStart = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  drawingPoint.setX(0);</div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  drawingPoint.setY(0);</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  Point.setX(0);</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  Point.setY(0);</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> }</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d"> 17</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon::onMouseLeftPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordflow">if</span>(!isDrawing){</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  width = <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">getWidthActiveLayer</a>();</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  height = <a class="code" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>-><a class="code" href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">getHeightActiveLayer</a>();</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="keywordflow">if</span>(!isDrawing && x > 0 && y > 0 && x < width && y < height){</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  isDrawing = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  drawingPoint.setX(x);</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  drawingPoint.setY(y);</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  QPointList.push_back(drawingPoint);</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a>(x,y);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(Qt::transparent);</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">drawPoint</a>(QPointList.back(), <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), lineWidth);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  }</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(isDrawing && isNearStart(x,y,QPointList.front())){</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  PointIsNearStart = isNearStart(x,y,QPointList.front());</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPointList.back(), QPointList.front(), <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), lineWidth);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordflow">else</span> <span class="keywordflow">if</span>(isDrawing){</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  drawingPoint.setX(x);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  drawingPoint.setY(y);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  QPointList.push_back(drawingPoint);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">drawLine</a>(QPointList.operator[](QPointList.size() - 2), QPointList.back(), <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), lineWidth);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427"> 46</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::onMouseRightPressed</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  isDrawing = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  PointIsNearStart = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  QPointList.clear();</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a>(x,y);</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>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21"> 53</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon::onMouseLeftReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">if</span>(PointIsNearStart && QPointList.size() > 1){</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  PointIsNearStart = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  isDrawing = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  Triangles = <a class="code" href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a>(QPointList);</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i = 0; i < width; i++){</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j = 0; j < height; j++){</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  Point.setX(i);</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  Point.setY(j);</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">if</span>(<a class="code" href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a>(Triangles,Point)){</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  this-><a class="code" href="class_intelli_tool.html#a144d469cc03584f501194529a1b53c77">Canvas</a>-><a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">drawPixel</a>(QPoint(i,j), <a class="code" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>-><a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>());</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }</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>  QPointList.clear();</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a>(x,y);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</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>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b"> 73</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">IntelliToolPolygon::onMouseRightReleased</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</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> }</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17"> 77</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon::onWheelScrolled</a>(<span class="keywordtype">int</span> value){</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span>(!isDrawing){</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordflow">if</span>(lineWidth + value < 10){</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  lineWidth += value;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span>(lineWidth < 1){</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  lineWidth = 1;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</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>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922"> 88</a></span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon::onMouseMoved</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </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>  </div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">bool</span> IntelliToolPolygon::isNearStart(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QPoint Startpoint){</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordtype">bool</span> isNear = <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> StartX = Startpoint.x();</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">int</span> StartY = Startpoint.y();</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">int</span> valueToNear = 10;</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="keywordflow">for</span>(<span class="keywordtype">int</span> i = StartX - valueToNear; i < StartX + valueToNear; i++){</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j = StartY - valueToNear; j < StartY + valueToNear; j++){</div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">if</span>((i == x) && (j == y)){</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  isNear = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  }</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  }</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> isNear;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a427c5fc26480c7ae80b3480e85510bda"><div class="ttname"><a href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">PaintingArea::getWidthActiveLayer</a></div><div class="ttdeci">int getWidthActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00197">PaintingArea.cpp:197</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_polygon_8h_html"><div class="ttname"><a href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af3c859f5c409e37051edfd9e9fbca056"><div class="ttname"><a href="class_intelli_image.html#af3c859f5c409e37051edfd9e9fbca056">IntelliImage::drawPixel</a></div><div class="ttdeci">virtual void drawPixel(const QPoint &p1, const QColor &color)</div><div class="ttdoc">A funtcion used to draw a pixel on the Image with the given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00044">IntelliImage.cpp:44</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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1511a534e206089fff1d325e7ec7a8eb"><div class="ttname"><a href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">PaintingArea::getHeightActiveLayer</a></div><div class="ttdeci">int getHeightActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00201">PaintingArea.cpp:201</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a0e3a1135f04c73c159137ae219a38922"><div class="ttname"><a href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00088">IntelliToolPolygon.cpp:88</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_intelli_image_html_a2e787f1b333b59401643936ebb3dcfe1"><div class="ttname"><a href="class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1">IntelliImage::drawPoint</a></div><div class="ttdeci">virtual void drawPoint(const QPoint &p1, const QColor &color, const int &penWidth)</div><div class="ttdoc">A.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00055">IntelliImage.cpp:55</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="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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="anamespace_intelli_helper_html_a44d516b3e619e2a743e9c98dd75cf901"><div class="ttname"><a href="namespace_intelli_helper.html#a44d516b3e619e2a743e9c98dd75cf901">IntelliHelper::isInPolygon</a></div><div class="ttdeci">bool isInPolygon(std::vector< Triangle > &triangles, QPoint &point)</div><div class="ttdoc">A function to check if a point lies in a polygon by checking its spanning triangles.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00115">IntelliHelper.cpp:115</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_aa36b012b48311c36e7cd6771a5081427"><div class="ttname"><a href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00046">IntelliToolPolygon.cpp:46</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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_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="anamespace_intelli_helper_html_a214dc3624ba4562a03dc922e3dd7b617"><div class="ttname"><a href="namespace_intelli_helper.html#a214dc3624ba4562a03dc922e3dd7b617">IntelliHelper::calculateTriangles</a></div><div class="ttdeci">std::vector< Triangle > calculateTriangles(std::vector< QPoint > polyPoints)</div><div class="ttdoc">A function to split a polygon in its spanning traingles by using Meisters Theorem of graph theory by ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_8cpp_source.html#l00007">IntelliHelper.cpp:7</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="aclass_intelli_tool_polygon_html_ae6e5f07fdf88d12029410a032dc4921d"><div class="ttname"><a href="class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d">IntelliToolPolygon::IntelliToolPolygon</a></div><div class="ttdeci">IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">IntelliToolPolygon Constructor Define the Tool-intern Parameters.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00006">IntelliToolPolygon.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_ad5d3b741be6d0647a9cdc9da2cb8bc3d"><div class="ttname"><a href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00017">IntelliToolPolygon.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a47cad87cd02b128b02dc929713bd1d1b"><div class="ttname"><a href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">IntelliToolPolygon::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00073">IntelliToolPolygon.cpp:73</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a4e1473ff408ae2e11cf6a43f6f575f21"><div class="ttname"><a href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00053">IntelliToolPolygon.cpp:53</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>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a713103300c9f023d64d9eec5ac05dd17"><div class="ttname"><a href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00077">IntelliToolPolygon.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_8db5f55022e7670536cbc9a6a1d6f01c.html">intelliphoto</a></li><li class="navelem"><a class="el" href="dir_83a4347d11f2ba6343d546ab133722d2.html">src</a></li><li class="navelem"><a class="el" href="dir_941490de56ac122cf77df9922cbcc750.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_polygon_8cpp.html">IntelliToolPolygon.cpp</a></li>
|
||||
<li class="footer">Generated by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
130
docs/html/_intelli_tool_polygon_8h.html
Normal file
130
docs/html/_intelli_tool_polygon_8h.html
Normal file
@@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: intelliphoto/src/Tool/IntelliToolPolygon.h File Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(initResizable);
|
||||
/* @license-end */</script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.4</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.16 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_polygon_8h.html','');});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolPolygon.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include "<a class="el" href="_intelli_tool_8h_source.html">IntelliTool.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_helper_8h_source.html">IntelliHelper/IntelliHelper.h</a>"</code><br />
|
||||
<code>#include <vector></code><br />
|
||||
<code>#include <QPoint></code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for IntelliToolPolygon.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_intelli_tool_polygon_8h__incl.png" border="0" usemap="#intelliphoto_2src_2_tool_2_intelli_tool_polygon_8h" alt=""/></div>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_intelli_tool_polygon_8h__dep__incl.png" border="0" usemap="#intelliphoto_2src_2_tool_2_intelli_tool_polygon_8hdep" alt=""/></div>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_intelli_tool_polygon_8h_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_polygon.html">IntelliToolPolygon</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_polygon.html" title="The IntelliToolPolygon managed the Drawing of Polygonforms.">IntelliToolPolygon</a> managed the Drawing of Polygonforms. <a href="class_intelli_tool_polygon.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_8db5f55022e7670536cbc9a6a1d6f01c.html">intelliphoto</a></li><li class="navelem"><a class="el" href="dir_83a4347d11f2ba6343d546ab133722d2.html">src</a></li><li class="navelem"><a class="el" href="dir_941490de56ac122cf77df9922cbcc750.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></li>
|
||||
<li class="footer">Generated by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
11
docs/html/_intelli_tool_polygon_8h__dep__incl.dot
Normal file
11
docs/html/_intelli_tool_polygon_8h__dep__incl.dot
Normal file
@@ -0,0 +1,11 @@
|
||||
digraph "intelliphoto/src/Tool/IntelliToolPolygon.h"
|
||||
{
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="intelliphoto/src/Layer\l/PaintingArea.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_painting_area_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
}
|
||||
25
docs/html/_intelli_tool_polygon_8h__incl.dot
Normal file
25
docs/html/_intelli_tool_polygon_8h__incl.dot
Normal file
@@ -0,0 +1,25 @@
|
||||
digraph "intelliphoto/src/Tool/IntelliToolPolygon.h"
|
||||
{
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_8h.html",tooltip=" "];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliHelper/IntelliColor\lPicker.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_color_picker_8h.html",tooltip=" "];
|
||||
Node3 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="QColor",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node3 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="QPoint",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node3 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="QColorDialog",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="vector",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled",tooltip=" "];
|
||||
Node1 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliHelper/IntelliHelper.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_helper_8h.html",tooltip=" "];
|
||||
Node8 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
157
docs/html/_intelli_tool_polygon_8h_source.html
Normal file
157
docs/html/_intelli_tool_polygon_8h_source.html
Normal file
@@ -0,0 +1,157 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>IntelliPhoto: intelliphoto/src/Tool/IntelliToolPolygon.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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(initResizable);
|
||||
/* @license-end */</script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">IntelliPhoto
|
||||
 <span id="projectnumber">0.4</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.16 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_intelli_tool_polygon_8h_source.html','');});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">IntelliToolPolygon.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_intelli_tool_polygon_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="preprocessor">#ifndef INTELLITOOLPOLYGON_H</span></div>
|
||||
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define INTELLITOOLPOLYGON_H</span></div>
|
||||
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
|
||||
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_8h.html">IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="_intelli_helper_8h.html">IntelliHelper/IntelliHelper.h</a>"</span></div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <vector></span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <QPoint></span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_intelli_tool_polygon.html"> 11</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_polygon.html">IntelliToolPolygon</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a></div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> {</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <a class="code" href="class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d">IntelliToolPolygon</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>);</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">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="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">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="l00023"></a><span class="lineno"> 23</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">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="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">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="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">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="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> isNearStart(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, QPoint Startpoint);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">int</span> lineWidth;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">int</span> width;</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">int</span> height;</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span> isDrawing;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">bool</span> PointIsNearStart;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  QPoint drawingPoint;</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  QPoint Point;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::vector<QPoint> QPointList;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  std::vector<Triangle> Triangles;</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </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"> 79</span> <span class="preprocessor">#endif // INTELLITOOLPOLYGON_H</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#l00038">IntelliTool.h:38</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="a_intelli_helper_8h_html"><div class="ttname"><a href="_intelli_helper_8h.html">IntelliHelper.h</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#l00033">IntelliTool.h:33</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a0e3a1135f04c73c159137ae219a38922"><div class="ttname"><a href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00088">IntelliToolPolygon.cpp:88</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_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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_aa36b012b48311c36e7cd6771a5081427"><div class="ttname"><a href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon::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. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00046">IntelliToolPolygon.cpp:46</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_polygon_html_ae6e5f07fdf88d12029410a032dc4921d"><div class="ttname"><a href="class_intelli_tool_polygon.html#ae6e5f07fdf88d12029410a032dc4921d">IntelliToolPolygon::IntelliToolPolygon</a></div><div class="ttdeci">IntelliToolPolygon(PaintingArea *Area, IntelliColorPicker *colorPicker)</div><div class="ttdoc">IntelliToolPolygon Constructor Define the Tool-intern Parameters.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00006">IntelliToolPolygon.cpp:6</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_ad5d3b741be6d0647a9cdc9da2cb8bc3d"><div class="ttname"><a href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon::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. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00017">IntelliToolPolygon.cpp:17</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a47cad87cd02b128b02dc929713bd1d1b"><div class="ttname"><a href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">IntelliToolPolygon::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00073">IntelliToolPolygon.cpp:73</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html"><div class="ttname"><a href="class_intelli_tool_polygon.html">IntelliToolPolygon</a></div><div class="ttdoc">The IntelliToolPolygon managed the Drawing of Polygonforms.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8h_source.html#l00011">IntelliToolPolygon.h:11</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a4e1473ff408ae2e11cf6a43f6f575f21"><div class="ttname"><a href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00053">IntelliToolPolygon.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_polygon_html_a713103300c9f023d64d9eec5ac05dd17"><div class="ttname"><a href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_polygon_8cpp_source.html#l00077">IntelliToolPolygon.cpp:77</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_8db5f55022e7670536cbc9a6a1d6f01c.html">intelliphoto</a></li><li class="navelem"><a class="el" href="dir_83a4347d11f2ba6343d546ab133722d2.html">src</a></li><li class="navelem"><a class="el" href="dir_941490de56ac122cf77df9922cbcc750.html">Tool</a></li><li class="navelem"><a class="el" href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></li>
|
||||
<li class="footer">Generated by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -159,18 +159,18 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00061">IntelliToolRectangle.cpp:61</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.Changing edgeWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00061">IntelliToolRectangle.cpp:61</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00037">IntelliToolRectangle.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::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_rectangle_8cpp_source.html#l00037">IntelliToolRectangle.cpp:37</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#l00038">IntelliTool.h:38</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_af8eddbd9aa54c8d37590d1d4bf8dce31"><div class="ttname"><a href="class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31">IntelliImage::drawLine</a></div><div class="ttdeci">virtual void drawLine(const QPoint &p1, const QPoint &p2, const QColor &color, const int &penWidth)</div><div class="ttdoc">A function that draws A Line between two given Points in a given color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00065">IntelliImage.cpp:65</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00011">IntelliToolRectangle.cpp:11</a></div></div>
|
||||
<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. Resetting the current draw....</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_tool_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00011">IntelliToolRectangle.cpp:11</a></div></div>
|
||||
<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. Constructing the Canvas to draw on....</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#l00026">PaintingArea.h:26</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_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>
|
||||
@@ -178,15 +178,15 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8cpp_source.ht
|
||||
<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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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. Call this in child classes!</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_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#l00018">PaintingArea.h:18</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="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="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_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>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00048">IntelliToolRectangle.cpp:48</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::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. Merging the draw to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00048">IntelliToolRectangle.cpp:48</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -111,6 +111,7 @@ This graph shows which files directly or indirectly include this file:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="class_intelli_tool_rectangle.html" title="The IntelliToolRectangle class represents a tool to draw a rectangle.">IntelliToolRectangle</a> class represents a tool to draw a rectangle. <a href="class_intelli_tool_rectangle.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -97,45 +97,47 @@ $(document).ready(function(){initNavTree('_intelli_tool_rectangle_8h_source.html
|
||||
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "QColor"</span></div>
|
||||
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include "QPoint"</span></div>
|
||||
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keywordtype">void</span> drawRectangle(QPoint otherCornor);</div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  QPoint originCornor;</div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  <span class="keywordtype">int</span> alphaInner;</div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keywordtype">int</span> edgeWidth;</div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <a class="code" href="class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11">IntelliToolRectangle</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>);</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">~IntelliToolRectangle</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">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="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">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="l00021"></a><span class="lineno"> 21</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">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="l00022"></a><span class="lineno"> 22</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">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="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">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="l00027"></a><span class="lineno"> 27</span> };</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#endif // INTELLIRECTANGLETOOL_H</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="class_intelli_tool_rectangle.html"> 11</a></span> <span class="keyword">class </span><a class="code" href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a> : <span class="keyword">public</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>{</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keywordtype">void</span> drawRectangle(QPoint otherCornor);</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  QPoint originCornor;</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">int</span> alphaInner;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">int</span> edgeWidth;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="class_intelli_tool_rectangle.html#aa9823939a8b8924520a2943cf6335c11">IntelliToolRectangle</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>);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">virtual</span> <a class="code" href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">~IntelliToolRectangle</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">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="l00048"></a><span class="lineno"> 48</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">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="l00055"></a><span class="lineno"> 55</span>  </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="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">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="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">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="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">onWheelScrolled</a>(<span class="keywordtype">int</span> value) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">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="l00082"></a><span class="lineno"> 82</span> };</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="preprocessor">#endif // INTELLIRECTANGLETOOL_H</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00061">IntelliToolRectangle.cpp:61</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::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. Merging the Canvas to Active....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00037">IntelliToolRectangle.cpp:37</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_a445c53a56e859f970e59f5036e221e0c"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value) override</div><div class="ttdoc">A function managing the scroll event.Changing edgeWidth relativ to value.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00061">IntelliToolRectangle.cpp:61</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html_ad43f653256a6516b9398f82054be0d7f"><div class="ttname"><a href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle::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_rectangle_8cpp_source.html#l00037">IntelliToolRectangle.cpp:37</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#l00038">IntelliTool.h:38</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_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00011">IntelliToolRectangle.cpp:11</a></div></div>
|
||||
<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. Resetting the current draw....</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_tool_rectangle_html_a7dc1463e726a21255e6297241dc71fb1"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a7dc1463e726a21255e6297241dc71fb1">IntelliToolRectangle::~IntelliToolRectangle</a></div><div class="ttdeci">virtual ~IntelliToolRectangle() override</div><div class="ttdoc">A Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00011">IntelliToolRectangle.cpp:11</a></div></div>
|
||||
<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_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#l00033">IntelliTool.h:33</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. Constructing the Canvas to draw on....</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_rectangle_html"><div class="ttname"><a href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8h_source.html#l00009">IntelliToolRectangle.h:9</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_intelli_tool_rectangle_html"><div class="ttname"><a href="class_intelli_tool_rectangle.html">IntelliToolRectangle</a></div><div class="ttdoc">The IntelliToolRectangle class represents a tool to draw a rectangle.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8h_source.html#l00011">IntelliToolRectangle.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#l00013">IntelliTool.h:13</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. Call this in child classes!</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_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="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="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_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::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. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00048">IntelliToolRectangle.cpp:48</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_tool_rectangle_html_a94460e3ff1c19e80bde922c55f53cc43"><div class="ttname"><a href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle::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. Merging the draw to the active layer.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_rectangle_8cpp_source.html#l00048">IntelliToolRectangle.cpp:48</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -104,6 +104,7 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp.html','');});
|
||||
<code>#include "<a class="el" href="_intelli_tool_circle_8h_source.html">Tool/IntelliToolCircle.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_rectangle_8h_source.html">Tool/IntelliToolRectangle.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_flood_fill_8h_source.html">Tool/IntelliToolFloodFill.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_intelli_tool_polygon_8h_source.html">Tool/IntelliToolPolygon.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for PaintingArea.cpp:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -84,4 +84,10 @@ digraph "intelliphoto/src/Layer/PaintingArea.cpp"
|
||||
Node25 [label="Tool/IntelliToolFloodFill.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_flood_fill_8h.html",tooltip=" "];
|
||||
Node25 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node25 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 [label="Tool/IntelliToolPolygon.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8h.html",tooltip=" "];
|
||||
Node26 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
}
|
||||
|
||||
@@ -108,385 +108,397 @@ $(document).ready(function(){initNavTree('_painting_area_8cpp_source.html','');}
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_circle_8h.html">Tool/IntelliToolCircle.h</a>"</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_rectangle_8h.html">Tool/IntelliToolRectangle.h</a>"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_flood_fill_8h.html">Tool/IntelliToolFloodFill.h</a>"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460"> 20</a></span> <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a>(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight, QWidget *parent)</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  :QWidget(parent){</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="comment">//test yout tool here and reset after accomplished test</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  this->Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  this->setUp(maxWidth, maxHeight);</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="comment">//tetsing</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  this-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(200,200,0,0,<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a>);</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  layerBundle[0].image->drawPlain(QColor(255,0,0,255));</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  std::vector<QPoint> polygon;</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  polygon.push_back(QPoint(100,000));</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  polygon.push_back(QPoint(200,100));</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  polygon.push_back(QPoint(100,200));</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  polygon.push_back(QPoint(000,100));</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  layerBundle[0].image->setPolygon(polygon);</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>  this-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(200,200,150,150);</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  layerBundle[1].image->drawPlain(QColor(0,255,0,255));</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  layerBundle[1].alpha=200;</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  activeLayer=1;</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> }</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8"> 42</a></span> <a class="code" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a>(){</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">delete</span> Tool;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keywordtype">void</span> PaintingArea::setUp(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight){</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">//set standart parameter</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  this->maxWidth = maxWidth;</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  this->maxHeight = maxHeight;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  Canvas = <span class="keyword">new</span> QImage(maxWidth,maxHeight, QImage::Format_ARGB32);</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="comment">// Roots the widget to the top left even if resized</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  setAttribute(Qt::WA_StaticContents);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> }</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395"> 57</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset, <span class="keywordtype">int</span> heightOffset, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type){</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> newLayer;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  newLayer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a> = width;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  newLayer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a> = height;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  newLayer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a> = widthOffset;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  newLayer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a> = heightOffset;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">if</span>(type==<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>){</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = <span class="keyword">new</span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>(width,height);</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(type==<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a>){</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = <span class="keyword">new</span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>(width, height);</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>  newLayer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a> = 255;</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  this->layerBundle.push_back(newLayer);</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordflow">return</span> static_cast<int>(layerBundle.size())-1;</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>  </div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_polygon_8h.html">Tool/IntelliToolPolygon.h</a>"</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460"> 21</a></span> <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a>(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight, QWidget *parent)</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  :QWidget(parent){</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="comment">// Testing Area</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="comment">// test yout tool here and reset after accomplished test</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  this->Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  this->setUp(maxWidth, maxHeight);</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  this-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(200,200,0,0,<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a>);</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  layerBundle[0].image->drawPlain(QColor(0,0,255,255));</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  std::vector<QPoint> polygon;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  polygon.push_back(QPoint(100,000));</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  polygon.push_back(QPoint(200,100));</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  polygon.push_back(QPoint(100,200));</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  polygon.push_back(QPoint(000,100));</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  layerBundle[0].image->setPolygon(polygon);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  this-><a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(200,200,150,150);</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  layerBundle[1].image->drawPlain(QColor(0,255,0,255));</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  layerBundle[1].alpha=200;</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  activeLayer=0;</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> }</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8"> 43</a></span> <a class="code" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a>(){</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keyword">delete</span> Tool;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keywordtype">void</span> PaintingArea::setUp(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight){</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">//set standart parameter</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  this->maxWidth = maxWidth;</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  this->maxHeight = maxHeight;</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  Canvas = <span class="keyword">new</span> QImage(maxWidth,maxHeight, QImage::Format_ARGB32);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// Roots the widget to the top left even if resized</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  setAttribute(Qt::WA_StaticContents);</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> }</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395"> 58</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset, <span class="keywordtype">int</span> heightOffset, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type){</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> newLayer;</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  newLayer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a> = width;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  newLayer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a> = height;</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  newLayer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a> = widthOffset;</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  newLayer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a> = heightOffset;</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">if</span>(type==<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>){</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = <span class="keyword">new</span> <a class="code" href="class_intelli_raster_image.html">IntelliRasterImage</a>(width,height);</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(type==<a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a>){</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = <span class="keyword">new</span> <a class="code" href="class_intelli_shaped_image.html">IntelliShapedImage</a>(width, height);</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  }</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  newLayer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a> = 255;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  this->layerBundle.push_back(newLayer);</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">return</span> static_cast<int>(layerBundle.size())-1;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> }</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173"> 74</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a>(<span class="keywordtype">int</span> index){</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">if</span>(index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  this->layerBundle.erase(layerBundle.begin()+index);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordflow">if</span>(activeLayer>=index){</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  activeLayer--;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  }</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> }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e"> 83</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span>(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  this->layerBundle.erase(layerBundle.begin()+activeLayer);</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  activeLayer--;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8"> 90</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a>(<span class="keywordtype">int</span> index){</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span>(index>=0&&index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  this->activeLayer=index;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  }</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="class_painting_area.html#aec59be20f1c27135700754882dd6383d"> 96</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span>(index>=0&&index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  layerBundle[static_cast<size_t>(index)].alpha=alpha;</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</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>  </div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="comment">// Used to load the image and place it in the widget</span></div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb"> 103</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a>(<span class="keyword">const</span> QString &fileName){</div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordflow">if</span>(this->activeLayer==-1){</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  }</div>
|
||||
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* active = layerBundle[static_cast<size_t>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a> = active-><a class="code" href="class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa">loadImage</a>(fileName);</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  active-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  update();</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a>;</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</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="comment">// Save the current image</span></div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564"> 115</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a>(<span class="keyword">const</span> QString &fileName, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileFormat){</div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">if</span>(layerBundle.size()==0){</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</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>  this->assembleLayers(<span class="keyword">true</span>);</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  </div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">if</span>(!strcmp(fileFormat,<span class="stringliteral">"PNG"</span>)){</div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  fileFormat = <span class="stringliteral">"png"</span>;</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordflow">if</span> (visibleImage.save(fileName, fileFormat)) {</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  }</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  </div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">if</span> (Canvas->save(fileName, fileFormat)) {</div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> <span class="comment">// Color the image area with white</span></div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774"> 139</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a>(<span class="keywordtype">int</span> r, <span class="keywordtype">int</span> g, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> a){</div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span>(this->activeLayer==-1){</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  }</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* active = layerBundle[static_cast<size_t>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  active-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(QColor(r, g, b, a));</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  update();</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7"> 148</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  layerBundle[static_cast<size_t>(activeLayer)].hightOffset += y;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> }</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  </div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a"> 153</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a>(<span class="keywordtype">int</span> idx){</div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">if</span>(idx==1){</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  this->activateUpperLayer();</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(idx==-1){</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  this->activateLowerLayer();</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> }</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec"> 161</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a>(<span class="keywordtype">int</span> a){</div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keywordflow">if</span>(a>=0 && a < static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  this-><a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(a);</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> }</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  </div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df"> 167</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a>(){</div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  QColor clr = QColorDialog::getColor(colorPicker.<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), <span class="keyword">nullptr</span>, <span class="stringliteral">"Main Color"</span>, QColorDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8">setFirstColor</a>(clr);</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> }</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789"> 172</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a>(){</div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  QColor clr = QColorDialog::getColor(colorPicker.<a class="code" href="class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415">getSecondColor</a>(), <span class="keyword">nullptr</span>, <span class="stringliteral">"Secondary Color"</span>, QColorDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931">setSecondColor</a>(clr);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> }</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  </div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb"> 177</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a>(){</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9">switchColors</a>();</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span> }</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353"> 181</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a>(){</div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> }</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938"> 186</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a>(){</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span> }</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  </div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a"> 191</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a>(){</div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> }</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  </div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment">// If a mouse button is pressed check if it was the</span></div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> <span class="comment">// left button and if so store the current position</span></div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="comment">// Set that we are currently drawing</span></div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15"> 199</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">if</span>(event->button() == Qt::LeftButton){</div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  Tool-><a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a>(x, y);</div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(event->button() == Qt::RightButton){</div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  Tool-><a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a>(x, y);</div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  }</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  update();</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span> }</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  </div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> <span class="comment">// When the mouse moves if the left button is clicked</span></div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span> <span class="comment">// we call the drawline function which draws a line</span></div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> <span class="comment">// from the last position to the current</span></div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5"> 215</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  Tool-><a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a>(x, y);</div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  update();</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> }</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span> <span class="comment">// If the button is released we set variables to stop drawing</span></div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="class_painting_area.html#a35b5df914acb608cc29717659793359c"> 225</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">if</span>(event->button() == Qt::LeftButton){</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  Tool-><a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a>(x, y);</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(event->button() == Qt::RightButton){</div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  Tool-><a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a>(x, y);</div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  }</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  update();</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span> }</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  </div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4"> 238</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a>(QWheelEvent *event){</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  QPoint numDegrees = <span class="keyword">event</span>->angleDelta() / 8;</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordflow">if</span>(!numDegrees.isNull()){</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  QPoint numSteps = numDegrees / 15;</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  Tool-><a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a>(numSteps.y()*-1);</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173"> 75</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a>(<span class="keywordtype">int</span> index){</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">if</span>(index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  this->layerBundle.erase(layerBundle.begin()+index);</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">if</span>(activeLayer>=index){</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  activeLayer--;</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>  }</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> }</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e"> 84</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">if</span>(activeLayer>=0 && activeLayer < static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  this->layerBundle.erase(layerBundle.begin()+activeLayer);</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  activeLayer--;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  }</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8"> 91</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a>(<span class="keywordtype">int</span> index){</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">if</span>(index>=0&&index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  this->activeLayer=index;</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"> 96</span>  </div>
|
||||
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d"> 97</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> alpha){</div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordflow">if</span>(index>=0&&index<static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  layerBundle[static_cast<size_t>(index)].alpha=alpha;</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> }</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment">// Used to load the image and place it in the widget</span></div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb"> 104</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a>(<span class="keyword">const</span> QString &fileName){</div>
|
||||
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">if</span>(this->activeLayer==-1){</div>
|
||||
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</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>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* active = layerBundle[static_cast<size_t>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a> = active-><a class="code" href="class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa">loadImage</a>(fileName);</div>
|
||||
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  active-><a class="code" href="class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2">calculateVisiblity</a>();</div>
|
||||
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  update();</div>
|
||||
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</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>  </div>
|
||||
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment">// Save the current image</span></div>
|
||||
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564"> 116</a></span> <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a>(<span class="keyword">const</span> QString &fileName, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileFormat){</div>
|
||||
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span>(layerBundle.size()==0){</div>
|
||||
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div>
|
||||
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  this->assembleLayers(<span class="keyword">true</span>);</div>
|
||||
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
|
||||
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">if</span>(!strcmp(fileFormat,<span class="stringliteral">"PNG"</span>)){</div>
|
||||
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  QImage visibleImage = Canvas->convertToFormat(QImage::Format_Indexed8);</div>
|
||||
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  fileFormat = <span class="stringliteral">"png"</span>;</div>
|
||||
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span> (visibleImage.save(fileName, fileFormat)) {</div>
|
||||
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div>
|
||||
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
|
||||
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  </div>
|
||||
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordflow">if</span> (Canvas->save(fileName, fileFormat)) {</div>
|
||||
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  } <span class="keywordflow">else</span> {</div>
|
||||
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
|
||||
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
|
||||
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span> }</div>
|
||||
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  </div>
|
||||
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="comment">// Color the image area with white</span></div>
|
||||
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774"> 140</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a>(<span class="keywordtype">int</span> r, <span class="keywordtype">int</span> g, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> a){</div>
|
||||
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordflow">if</span>(this->activeLayer==-1){</div>
|
||||
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  }</div>
|
||||
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* active = layerBundle[static_cast<size_t>(activeLayer)].image;</div>
|
||||
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  active-><a class="code" href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">drawPlain</a>(QColor(r, g, b, a));</div>
|
||||
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  update();</div>
|
||||
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> }</div>
|
||||
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
|
||||
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7"> 149</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y){</div>
|
||||
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  layerBundle[static_cast<size_t>(activeLayer)].widthOffset += x;</div>
|
||||
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  layerBundle[static_cast<size_t>(activeLayer)].hightOffset += y;</div>
|
||||
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> }</div>
|
||||
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
|
||||
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a"> 154</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a>(<span class="keywordtype">int</span> idx){</div>
|
||||
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">if</span>(idx==1){</div>
|
||||
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  this->activateUpperLayer();</div>
|
||||
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(idx==-1){</div>
|
||||
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  this->activateLowerLayer();</div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div>
|
||||
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> }</div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  </div>
|
||||
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec"> 162</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a>(<span class="keywordtype">int</span> a){</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordflow">if</span>(a>=0 && a < static_cast<int>(layerBundle.size())){</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  this-><a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(a);</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  }</div>
|
||||
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div>
|
||||
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  </div>
|
||||
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df"> 168</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a>(){</div>
|
||||
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  QColor clr = QColorDialog::getColor(colorPicker.<a class="code" href="class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7">getFirstColor</a>(), <span class="keyword">nullptr</span>, <span class="stringliteral">"Main Color"</span>, QColorDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8">setFirstColor</a>(clr);</div>
|
||||
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> }</div>
|
||||
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  </div>
|
||||
<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789"> 173</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a>(){</div>
|
||||
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  QColor clr = QColorDialog::getColor(colorPicker.<a class="code" href="class_intelli_color_picker.html#a55568fbf5dc783f06284b7031ffe9415">getSecondColor</a>(), <span class="keyword">nullptr</span>, <span class="stringliteral">"Secondary Color"</span>, QColorDialog::DontUseNativeDialog);</div>
|
||||
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931">setSecondColor</a>(clr);</div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> }</div>
|
||||
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb"> 178</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a>(){</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  this->colorPicker.<a class="code" href="class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9">switchColors</a>();</div>
|
||||
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div>
|
||||
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
|
||||
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353"> 182</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a>(){</div>
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_pen.html">IntelliToolPen</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> }</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  </div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938"> 187</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a>(){</div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span> }</div>
|
||||
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
|
||||
<div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a"> 192</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a>(){</div>
|
||||
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">delete</span> this->Tool;</div>
|
||||
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  Tool = <span class="keyword">new</span> <a class="code" href="class_intelli_tool_line.html">IntelliToolLine</a>(<span class="keyword">this</span>, &colorPicker);</div>
|
||||
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> }</div>
|
||||
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  </div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda"> 197</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">PaintingArea::getWidthActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordflow">return</span> layerBundle.operator[](activeLayer).width;</div>
|
||||
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div>
|
||||
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
|
||||
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb"> 201</a></span> <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">PaintingArea::getHeightActiveLayer</a>(){</div>
|
||||
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> layerBundle.operator[](activeLayer).hight;</div>
|
||||
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span> }</div>
|
||||
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  </div>
|
||||
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span> <span class="comment">// If a mouse button is pressed check if it was the</span></div>
|
||||
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span> <span class="comment">// left button and if so store the current position</span></div>
|
||||
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span> <span class="comment">// Set that we are currently drawing</span></div>
|
||||
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15"> 208</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keywordflow">if</span>(event->button() == Qt::LeftButton){</div>
|
||||
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  Tool-><a class="code" href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">onMouseLeftPressed</a>(x, y);</div>
|
||||
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(event->button() == Qt::RightButton){</div>
|
||||
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  Tool-><a class="code" href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">onMouseRightPressed</a>(x, y);</div>
|
||||
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  }</div>
|
||||
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  update();</div>
|
||||
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> }</div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  </div>
|
||||
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span> <span class="comment">// When the mouse moves if the left button is clicked</span></div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span> <span class="comment">// we call the drawline function which draws a line</span></div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> <span class="comment">// from the last position to the current</span></div>
|
||||
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5"> 224</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  Tool-><a class="code" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a>(x, y);</div>
|
||||
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  update();</div>
|
||||
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span> }</div>
|
||||
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  </div>
|
||||
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span> <span class="comment">// If the button is released we set variables to stop drawing</span></div>
|
||||
<div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="class_painting_area.html#a35b5df914acb608cc29717659793359c"> 234</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a>(QMouseEvent *event){</div>
|
||||
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordflow">if</span>(Tool == <span class="keyword">nullptr</span>)</div>
|
||||
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="keywordtype">int</span> x = <span class="keyword">event</span>->x()-layerBundle[activeLayer].widthOffset;</div>
|
||||
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordtype">int</span> y = <span class="keyword">event</span>->y()-layerBundle[activeLayer].hightOffset;</div>
|
||||
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="keywordflow">if</span>(event->button() == Qt::LeftButton){</div>
|
||||
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  Tool-><a class="code" href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">onMouseLeftReleased</a>(x, y);</div>
|
||||
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  }<span class="keywordflow">else</span> <span class="keywordflow">if</span>(event->button() == Qt::RightButton){</div>
|
||||
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  Tool-><a class="code" href="class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0">onMouseRightReleased</a>(x, y);</div>
|
||||
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  }</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span> }</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment">// QPainter provides functions to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span> <span class="comment">// The QPaintEvent is sent to widgets that need to</span></div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span> <span class="comment">// update themselves</span></div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7"> 249</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a>(QPaintEvent *event){</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  this->assembleLayers();</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  QPainter painter(<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  QRect dirtyRec = <span class="keyword">event</span>->rect();</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  painter.drawImage(dirtyRec, *Canvas, dirtyRec);</div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  update();</div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> }</div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  </div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span> <span class="comment">// Resize the image to slightly larger then the main window</span></div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span> <span class="comment">// to cut down on the need to resize the image</span></div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335"> 260</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a>(QResizeEvent *event){</div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="comment">//TODO wait till tool works</span></div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  update();</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span> }</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> <span class="keywordtype">void</span> PaintingArea::resizeImage(QImage *image_res, <span class="keyword">const</span> QSize &newSize){</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">//TODO implement</span></div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> }</div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="keywordtype">void</span> PaintingArea::activateUpperLayer(){</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordflow">if</span>(activeLayer!=-1 && activeLayer<layerBundle.size()-1){</div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  std::swap(layerBundle[activeLayer], layerBundle[activeLayer+1]);</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  activeLayer++;</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  }</div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> }</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  </div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="keywordtype">void</span> PaintingArea::activateLowerLayer(){</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordflow">if</span>(activeLayer!=-1 && activeLayer>0){</div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  std::swap(layerBundle[activeLayer], layerBundle[activeLayer-1]);</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  activeLayer--;</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  }</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span> }</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  </div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="keywordtype">void</span> PaintingArea::assembleLayers(<span class="keywordtype">bool</span> forSaving){</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keywordflow">if</span>(forSaving){</div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  Canvas->fill(Qt::GlobalColor::transparent);</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  Canvas->fill(Qt::GlobalColor::black);</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  }</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i=0; i<layerBundle.size(); i++){</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> layer = layerBundle[i];</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  QImage cpy = layer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(layer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a>);</div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  QColor clr_0;</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  QColor clr_1;</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y=0; y<layer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a>; y++){</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y<0) <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y>=maxHeight) <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x=0; x<layer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>; x++){</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x<0) <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x>=maxWidth) <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  clr_0=Canvas->pixelColor(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x, layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y);</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  clr_1=cpy.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordtype">float</span> t = static_cast<float>(clr_1.alpha())/255.f;</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordtype">int</span> r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordtype">int</span> g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordtype">int</span> b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordtype">int</span> a =std::min(clr_0.alpha()+clr_1.alpha(), 255);</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  clr_0.setRed(r);</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  clr_0.setGreen(g);</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  clr_0.setBlue(b);</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  clr_0.setAlpha(a);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  </div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  Canvas->setPixelColor(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x, layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y, clr_0);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  }</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  }</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span> }</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  </div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="keywordtype">void</span> PaintingArea::createTempLayerAfter(<span class="keywordtype">int</span> idx){</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordflow">if</span>(idx>=0){</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> newLayer;</div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  newLayer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a> = 255;</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  newLayer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a> = layerBundle[idx].hight;</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  newLayer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a> = layerBundle[idx].width;</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  newLayer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a> = layerBundle[idx].hightOffset;</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  newLayer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a> = layerBundle[idx].widthOffset;</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = layerBundle[idx].image->getDeepCopy();</div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  layerBundle.insert(layerBundle.begin()+idx+1,newLayer);</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  }</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span> }</div>
|
||||
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  update();</div>
|
||||
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span> }</div>
|
||||
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  </div>
|
||||
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4"> 247</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a>(QWheelEvent *event){</div>
|
||||
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  QPoint numDegrees = <span class="keyword">event</span>->angleDelta() / 8;</div>
|
||||
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keywordflow">if</span>(!numDegrees.isNull()){</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  QPoint numSteps = numDegrees / 15;</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  Tool-><a class="code" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a>(numSteps.y()*-1);</div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span> }</div>
|
||||
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  </div>
|
||||
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span> <span class="comment">// QPainter provides functions to draw on the widget</span></div>
|
||||
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span> <span class="comment">// The QPaintEvent is sent to widgets that need to</span></div>
|
||||
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="comment">// update themselves</span></div>
|
||||
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7"> 258</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a>(QPaintEvent *event){</div>
|
||||
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  this->assembleLayers();</div>
|
||||
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  </div>
|
||||
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  QPainter painter(<span class="keyword">this</span>);</div>
|
||||
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  QRect dirtyRec = <span class="keyword">event</span>->rect();</div>
|
||||
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  painter.drawImage(dirtyRec, *Canvas, dirtyRec);</div>
|
||||
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  update();</div>
|
||||
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span> }</div>
|
||||
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div>
|
||||
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment">// Resize the image to slightly larger then the main window</span></div>
|
||||
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="comment">// to cut down on the need to resize the image</span></div>
|
||||
<div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335"> 269</a></span> <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a>(QResizeEvent *event){</div>
|
||||
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">//TODO wait till tool works</span></div>
|
||||
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  update();</div>
|
||||
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> }</div>
|
||||
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  </div>
|
||||
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="keywordtype">void</span> PaintingArea::resizeImage(QImage *image_res, <span class="keyword">const</span> QSize &newSize){</div>
|
||||
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">//TODO implement</span></div>
|
||||
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span> }</div>
|
||||
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  </div>
|
||||
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="keywordtype">void</span> PaintingArea::activateUpperLayer(){</div>
|
||||
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordflow">if</span>(activeLayer!=-1 && activeLayer<layerBundle.size()-1){</div>
|
||||
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  std::swap(layerBundle[activeLayer], layerBundle[activeLayer+1]);</div>
|
||||
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  activeLayer++;</div>
|
||||
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  }</div>
|
||||
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span> }</div>
|
||||
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
|
||||
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keywordtype">void</span> PaintingArea::activateLowerLayer(){</div>
|
||||
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">if</span>(activeLayer!=-1 && activeLayer>0){</div>
|
||||
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  std::swap(layerBundle[activeLayer], layerBundle[activeLayer-1]);</div>
|
||||
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  activeLayer--;</div>
|
||||
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  }</div>
|
||||
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span> }</div>
|
||||
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  </div>
|
||||
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="keywordtype">void</span> PaintingArea::assembleLayers(<span class="keywordtype">bool</span> forSaving){</div>
|
||||
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordflow">if</span>(forSaving){</div>
|
||||
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  Canvas->fill(Qt::GlobalColor::transparent);</div>
|
||||
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  }<span class="keywordflow">else</span>{</div>
|
||||
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  Canvas->fill(Qt::GlobalColor::black);</div>
|
||||
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  }</div>
|
||||
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keywordflow">for</span>(<span class="keywordtype">size_t</span> i=0; i<layerBundle.size(); i++){</div>
|
||||
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> layer = layerBundle[i];</div>
|
||||
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  QImage cpy = layer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>-><a class="code" href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">getDisplayable</a>(layer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a>);</div>
|
||||
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  QColor clr_0;</div>
|
||||
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  QColor clr_1;</div>
|
||||
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> y=0; y<layer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a>; y++){</div>
|
||||
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y<0) <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y>=maxHeight) <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> x=0; x<layer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>; x++){</div>
|
||||
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x<0) <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordflow">if</span>(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x>=maxWidth) <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  clr_0=Canvas->pixelColor(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x, layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y);</div>
|
||||
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  clr_1=cpy.pixelColor(x,y);</div>
|
||||
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">float</span> t = static_cast<float>(clr_1.alpha())/255.f;</div>
|
||||
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordtype">int</span> r =static_cast<int>(static_cast<float>(clr_1.red())*(t)+static_cast<float>(clr_0.red())*(1.f-t)+0.5f);</div>
|
||||
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordtype">int</span> g =static_cast<int>(static_cast<float>(clr_1.green())*(t)+static_cast<float>(clr_0.green())*(1.f-t)+0.5f);</div>
|
||||
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordtype">int</span> b =static_cast<int>(static_cast<float>(clr_1.blue())*(t)+static_cast<float>(clr_0.blue()*(1.f-t))+0.5f);</div>
|
||||
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keywordtype">int</span> a =std::min(clr_0.alpha()+clr_1.alpha(), 255);</div>
|
||||
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  clr_0.setRed(r);</div>
|
||||
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  clr_0.setGreen(g);</div>
|
||||
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  clr_0.setBlue(b);</div>
|
||||
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  clr_0.setAlpha(a);</div>
|
||||
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  </div>
|
||||
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  Canvas->setPixelColor(layer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>+x, layer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>+y, clr_0);</div>
|
||||
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  }</div>
|
||||
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  }</div>
|
||||
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  }</div>
|
||||
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> }</div>
|
||||
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  </div>
|
||||
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="keywordtype">void</span> PaintingArea::createTempLayerAfter(<span class="keywordtype">int</span> idx){</div>
|
||||
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">if</span>(idx>=0){</div>
|
||||
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <a class="code" href="struct_layer_object.html">LayerObject</a> newLayer;</div>
|
||||
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  newLayer.<a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a> = 255;</div>
|
||||
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  newLayer.<a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a> = layerBundle[idx].hight;</div>
|
||||
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  newLayer.<a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a> = layerBundle[idx].width;</div>
|
||||
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  newLayer.<a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a> = layerBundle[idx].hightOffset;</div>
|
||||
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  newLayer.<a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a> = layerBundle[idx].widthOffset;</div>
|
||||
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  newLayer.<a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a> = layerBundle[idx].image->getDeepCopy();</div>
|
||||
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  layerBundle.insert(layerBundle.begin()+idx+1,newLayer);</div>
|
||||
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  }</div>
|
||||
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span> }</div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a1e6aa68ac5f3c2ca02319e5ef3f0c966"><div class="ttname"><a href="class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966">IntelliTool::onMouseRightPressed</a></div><div class="ttdeci">virtual void onMouseRightPressed(int x, int y)</div><div class="ttdoc">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00014">IntelliTool.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a906a2575c16c8a33cb2a5197f8d8cc5b"><div class="ttname"><a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">IntelliTool::onMouseLeftReleased</a></div><div class="ttdeci">virtual void onMouseLeftReleased(int x, int y)</div><div class="ttdoc">A function managing the left click Released of a Mouse. Call this in child classes!</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00032">IntelliTool.cpp:32</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00014">IntelliImage.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00057">PaintingArea.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00225">PaintingArea.cpp:225</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00058">PaintingArea.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a427c5fc26480c7ae80b3480e85510bda"><div class="ttname"><a href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">PaintingArea::getWidthActiveLayer</a></div><div class="ttdeci">int getWidthActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00197">PaintingArea.cpp:197</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00234">PaintingArea.cpp:234</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_polygon_8h_html"><div class="ttname"><a href="_intelli_tool_polygon_8h.html">IntelliToolPolygon.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a34b7ef1dde96b94a0ce450a25ae1778c"><div class="ttname"><a href="class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c">IntelliTool::onMouseLeftPressed</a></div><div class="ttdeci">virtual void onMouseLeftPressed(int x, int y)</div><div class="ttdoc">A function managing the left click Pressed of a Mouse. Resetting the current draw....</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00025">IntelliTool.cpp:25</a></div></div>
|
||||
<div class="ttc" id="a_intelli_shaped_image_8h_html"><div class="ttname"><a href="_intelli_shaped_image_8h.html">IntelliShapedImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00103">PaintingArea.cpp:103</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a72b44d27c7bbb60dde14f04ec240ab96"><div class="ttname"><a href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">LayerObject::widthOffset</a></div><div class="ttdeci">int widthOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00021">PaintingArea.h:21</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00104">PaintingArea.cpp:104</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a72b44d27c7bbb60dde14f04ec240ab96"><div class="ttname"><a href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">LayerObject::widthOffset</a></div><div class="ttdeci">int widthOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_aec0e9c8184d89dee33fd9adefbd2f8aa"><div class="ttname"><a href="class_intelli_image.html#aec0e9c8184d89dee33fd9adefbd2f8aa">IntelliImage::loadImage</a></div><div class="ttdeci">virtual bool loadImage(const QString &fileName)</div><div class="ttdoc">A function that loads and sclaes an image to the fitting dimensions.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00014">IntelliImage.cpp:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00090">PaintingArea.cpp:90</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00139">PaintingArea.cpp:139</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00007">IntelliToolPlain.h:7</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00091">PaintingArea.cpp:91</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1511a534e206089fff1d325e7ec7a8eb"><div class="ttname"><a href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">PaintingArea::getHeightActiveLayer</a></div><div class="ttdeci">int getHeightActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00201">PaintingArea.cpp:201</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00140">PaintingArea.cpp:140</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_plain_tool_html"><div class="ttname"><a href="class_intelli_tool_plain_tool.html">IntelliToolPlainTool</a></div><div class="ttdoc">The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_plain_8h_source.html#l00009">IntelliToolPlain.h:9</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a86bf4a940e4a0e465e30cbdf28748931"><div class="ttname"><a href="class_intelli_color_picker.html#a86bf4a940e4a0e465e30cbdf28748931">IntelliColorPicker::setSecondColor</a></div><div class="ttdeci">void setSecondColor(QColor Color)</div><div class="ttdoc">A function to set the secondary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00028">IntelliColorPicker.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_shaped_image_html"><div class="ttname"><a href="class_intelli_shaped_image.html">IntelliShapedImage</a></div><div class="ttdoc">The IntelliShapedImage manages a Shapedimage.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_shaped_image_8h_source.html#l00011">IntelliShapedImage.h:11</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_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00115">PaintingArea.cpp:115</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00116">PaintingArea.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a437a6f20bf2fc0a4cbaf4c030c2a26d9"><div class="ttname"><a href="class_intelli_color_picker.html#a437a6f20bf2fc0a4cbaf4c030c2a26d9">IntelliColorPicker::switchColors</a></div><div class="ttdeci">void switchColors()</div><div class="ttdoc">A function switching primary and secondary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00012">IntelliColorPicker.cpp:12</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_flood_fill_8h_html"><div class="ttname"><a href="_intelli_tool_flood_fill_8h.html">IntelliToolFloodFill.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a21c7e65b59a26db45aac3880133ef21d"><div class="ttname"><a href="class_intelli_image.html#a21c7e65b59a26db45aac3880133ef21d">IntelliImage::getDisplayable</a></div><div class="ttdeci">virtual QImage getDisplayable(const QSize &displaySize, int alpha)=0</div><div class="ttdoc">A function returning the displayable ImageData in a requested transparence and size.</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00186">PaintingArea.cpp:186</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a632848d99f44d33d7da2618fbc6775a4"><div class="ttname"><a href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a></div><div class="ttdeci">void wheelEvent(QWheelEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00238">PaintingArea.cpp:238</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></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="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00074">PaintingArea.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00187">PaintingArea.cpp:187</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a632848d99f44d33d7da2618fbc6775a4"><div class="ttname"><a href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a></div><div class="ttdeci">void wheelEvent(QWheelEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00247">PaintingArea.cpp:247</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00016">PaintingArea.h:16</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00075">PaintingArea.cpp:75</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00182">PaintingArea.cpp:182</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_plain_8h_html"><div class="ttname"><a href="_intelli_tool_plain_8h.html">IntelliToolPlain.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abfe445f8d9b70ae42bfeda874127dd15"><div class="ttname"><a href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a></div><div class="ttdeci">void mousePressEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00199">PaintingArea.cpp:199</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abfe445f8d9b70ae42bfeda874127dd15"><div class="ttname"><a href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a></div><div class="ttdeci">void mousePressEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00208">PaintingArea.cpp:208</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a></div></div>
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00023">PaintingArea.h:23</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00191">PaintingArea.cpp:191</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00022">PaintingArea.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00192">PaintingArea.cpp:192</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_line_8h_html"><div class="ttname"><a href="_intelli_tool_line_8h.html">IntelliToolLine.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html"><div class="ttname"><a href="class_intelli_tool_pen.html">IntelliToolPen</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8h_source.html#l00008">IntelliToolPen.h:8</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00172">PaintingArea.cpp:172</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_pen_html"><div class="ttname"><a href="class_intelli_tool_pen.html">IntelliToolPen</a></div><div class="ttdoc">The IntelliToolPen class represents a tool to draw a line.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_pen_8h_source.html#l00010">IntelliToolPen.h:10</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</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_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00167">PaintingArea.cpp:167</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00177">PaintingArea.cpp:177</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00168">PaintingArea.cpp:168</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00178">PaintingArea.cpp:178</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00018">PaintingArea.h:18</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>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00042">PaintingArea.cpp:42</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa22e274b6094a9619f196cd7b49526b5"><div class="ttname"><a href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00215">PaintingArea.cpp:215</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00043">PaintingArea.cpp:43</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa22e274b6094a9619f196cd7b49526b5"><div class="ttname"><a href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00224">PaintingArea.cpp:224</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a7e2ddbbbfbed383f06b24e5bf6b27ae8"><div class="ttname"><a href="class_intelli_color_picker.html#a7e2ddbbbfbed383f06b24e5bf6b27ae8">IntelliColorPicker::setFirstColor</a></div><div class="ttdeci">void setFirstColor(QColor Color)</div><div class="ttdoc">A function to set the primary color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00024">IntelliColorPicker.cpp:24</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1ff0b9c1227531943c9cec2c546fae5e"><div class="ttname"><a href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a></div><div class="ttdeci">void slotDeleteActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00083">PaintingArea.cpp:83</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1ff0b9c1227531943c9cec2c546fae5e"><div class="ttname"><a href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a></div><div class="ttdeci">void slotDeleteActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00084">PaintingArea.cpp:84</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0ab7e2d2c1c171e5a0e0b6b548449df79d">ImageType::Shaped_Image</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00153">PaintingArea.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00020">PaintingArea.cpp:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00154">PaintingArea.cpp:154</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00021">PaintingArea.cpp:21</a></div></div>
|
||||
<div class="ttc" id="a_painting_area_8h_html"><div class="ttname"><a href="_painting_area_8h.html">PaintingArea.h</a></div></div>
|
||||
<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="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00161">PaintingArea.cpp:161</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00249">PaintingArea.cpp:249</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00096">PaintingArea.cpp:96</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#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ab57e8ccda60fff7187463a90e65c5335"><div class="ttname"><a href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a></div><div class="ttdeci">void resizeEvent(QResizeEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00260">PaintingArea.cpp:260</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html"><div class="ttname"><a href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8h_source.html#l00007">IntelliToolFloodFill.h:7</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00162">PaintingArea.cpp:162</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00258">PaintingArea.cpp:258</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00097">PaintingArea.cpp:97</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="aclass_painting_area_html_ab57e8ccda60fff7187463a90e65c5335"><div class="ttname"><a href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a></div><div class="ttdeci">void resizeEvent(QResizeEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00269">PaintingArea.cpp:269</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_flood_fill_html"><div class="ttname"><a href="class_intelli_tool_flood_fill.html">IntelliToolFloodFill</a></div><div class="ttdoc">The IntelliToolFloodFill class represents a tool to flood FIll a certian area.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_flood_fill_8h_source.html#l00010">IntelliToolFloodFill.h:10</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_pen_8h_html"><div class="ttname"><a href="_intelli_tool_pen_8h.html">IntelliToolPen.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00148">PaintingArea.cpp:148</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00149">PaintingArea.cpp:149</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00024">IntelliImage.h:24</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="astruct_layer_object_html_a6256486a76c38baa3f1c664f4d190743"><div class="ttname"><a href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">LayerObject::hightOffset</a></div><div class="ttdeci">int hightOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00022">PaintingArea.h:22</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a6256486a76c38baa3f1c664f4d190743"><div class="ttname"><a href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">LayerObject::hightOffset</a></div><div class="ttdeci">int hightOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00021">PaintingArea.h:21</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>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_tool_html_a4dccfd4460255ccb866f336406a33574"><div class="ttname"><a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">IntelliTool::onWheelScrolled</a></div><div class="ttdeci">virtual void onWheelScrolled(int value)</div><div class="ttdoc">A function managing the scroll event. A positive value means scrolling outwards. Call this in child c...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_tool_8cpp_source.html#l00046">IntelliTool.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_raster_image_html"><div class="ttname"><a href="class_intelli_raster_image.html">IntelliRasterImage</a></div><div class="ttdoc">The IntelliRasterImage manages a Rasterimage.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_raster_image_8h_source.html#l00009">IntelliRasterImage.h:9</a></div></div>
|
||||
<div class="ttc" id="a_intelli_tool_circle_8h_html"><div class="ttname"><a href="_intelli_tool_circle_8h.html">IntelliToolCircle.h</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00077">IntelliImage.cpp:77</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="ttdef"><b>Definition:</b> <a href="_intelli_tool_line_8h_source.html#l00012">IntelliToolLine.h:12</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html_a6be622810dc2bc756054bb5769becb06"><div class="ttname"><a href="class_intelli_image.html#a6be622810dc2bc756054bb5769becb06">IntelliImage::drawPlain</a></div><div class="ttdeci">virtual void drawPlain(const QColor &color)</div><div class="ttdoc">A function that clears the whole image in a given Color.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8cpp_source.html#l00076">IntelliImage.cpp:76</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#l00018">IntelliToolLine.h:18</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -21,5 +21,7 @@ digraph "intelliphoto/src/Layer/PaintingArea.h"
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="intelliphoto/src/Tool\l/IntelliToolPlain.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_plain_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
Node10 [label="intelliphoto/src/Tool\l/IntelliToolPolygon.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_polygon_8cpp.html",tooltip=" "];
|
||||
Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="intelliphoto/src/Tool\l/IntelliToolRectangle.cpp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$_intelli_tool_rectangle_8cpp.html",tooltip=" "];
|
||||
}
|
||||
|
||||
@@ -105,140 +105,143 @@ $(document).ready(function(){initNavTree('_painting_area_8h_source.html','');});
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "<a class="code" href="_intelli_tool_8h.html">Tool/IntelliTool.h</a>"</span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="_intelli_color_picker_8h.html">IntelliHelper/IntelliColorPicker.h</a>"</span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="struct_layer_object.html"> 17</a></span> <span class="keyword">struct </span><a class="code" href="struct_layer_object.html">LayerObject</a>{</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83"> 18</a></span>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897"> 19</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>;</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0"> 20</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96"> 21</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743"> 22</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56"> 23</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a>=255;</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>  </div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_painting_area.html"> 26</a></span> <span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a> : <span class="keyword">public</span> QWidget</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// Declares our class as a QObject which is the base class</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">// for all Qt objects</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="comment">// QObjects handle events</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  Q_OBJECT</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">friend</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>(<span class="keywordtype">int</span> maxWidth=600, <span class="keywordtype">int</span> maxHeight=600, QWidget *parent = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">~PaintingArea</a>() <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// Handles all events</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a>(<span class="keyword">const</span> QString &fileName);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">save</a>(<span class="keyword">const</span> QString &fileName, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileFormat);</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset=0, <span class="keywordtype">int</span> heightOffset=0, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#ae756003b49aead863b49616ea7a44cc0">addLayerAt</a>(<span class="keywordtype">int</span> idx, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset=0, <span class="keywordtype">int</span> heightOffset=0, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">deleteLayer</a>(<span class="keywordtype">int</span> index);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(<span class="keywordtype">int</span> index);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">setAlphaOfLayer</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> alpha);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">floodFill</a>(<span class="keywordtype">int</span> r, <span class="keywordtype">int</span> g, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> a);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(<span class="keywordtype">int</span> idx);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">//change properties of colorPicker</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">colorPickerSetFirstColor</a>();</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">colorPickerSetSecondColor</a>();</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">colorPickerSwitchColor</a>();</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">//create tools</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">createPenTool</a>();</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">createPlainTool</a>();</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">createLineTool</a>();</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">public</span> slots:</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Events to handle</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">slotActivateLayer</a>(<span class="keywordtype">int</span> a);</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">slotDeleteActiveLayer</a>();</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">mousePressEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">mouseMoveEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a35b5df914acb608cc29717659793359c">mouseReleaseEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">wheelEvent</a>(QWheelEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Updates the painting area where we are painting</span></div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">paintEvent</a>(QPaintEvent *event) <span class="keyword">override</span>;</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">// Makes sure the area we are drawing on remains</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// as large as the widget</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">resizeEvent</a>(QResizeEvent *event) <span class="keyword">override</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"> 79</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordtype">void</span> setUp(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight);</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordtype">void</span> activateUpperLayer();</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> activateLowerLayer();</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>  QImage* Canvas;</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordtype">int</span> maxWidth;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">int</span> maxHeight;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="class_intelli_tool.html">IntelliTool</a>* Tool;</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a> colorPicker;</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>  std::vector<LayerObject> layerBundle;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordtype">int</span> activeLayer=-1;</div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  </div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">void</span> assembleLayers(<span class="keywordtype">bool</span> forSaving=<span class="keyword">false</span>);</div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="struct_layer_object.html"> 16</a></span> <span class="keyword">struct </span><a class="code" href="struct_layer_object.html">LayerObject</a>{</div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83"> 17</a></span>  <a class="code" href="class_intelli_image.html">IntelliImage</a>* <a class="code" href="struct_layer_object.html#af01a139bc8edfdbb338393874e89bd83">image</a>;</div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897"> 18</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">width</a>;</div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0"> 19</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">hight</a>;</div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96"> 20</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">widthOffset</a>;</div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743"> 21</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">hightOffset</a>;</div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56"> 22</a></span>  <span class="keywordtype">int</span> <a class="code" href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">alpha</a>=255;</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</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"><a class="line" href="class_painting_area.html"> 25</a></span> <span class="keyword">class </span><a class="code" href="class_painting_area.html">PaintingArea</a> : <span class="keyword">public</span> QWidget</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> {</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">// Declares our class as a QObject which is the base class</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// for all Qt objects</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="comment">// QObjects handle events</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  Q_OBJECT</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">friend</span> <a class="code" href="class_intelli_tool.html">IntelliTool</a>;</div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea</a>(<span class="keywordtype">int</span> maxWidth=600, <span class="keywordtype">int</span> maxHeight=600, QWidget *parent = <span class="keyword">nullptr</span>);</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">~PaintingArea</a>() <span class="keyword">override</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"> 36</span>  <span class="comment">// Handles all events</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">open</a>(<span class="keyword">const</span> QString &fileName);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> <a class="code" href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">save</a>(<span class="keyword">const</span> QString &fileName, <span class="keyword">const</span> <span class="keywordtype">char</span> *fileFormat);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">addLayer</a>(<span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset=0, <span class="keywordtype">int</span> heightOffset=0, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#ae756003b49aead863b49616ea7a44cc0">addLayerAt</a>(<span class="keywordtype">int</span> idx, <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> widthOffset=0, <span class="keywordtype">int</span> heightOffset=0, <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a> type = <a class="code" href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a>);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">deleteLayer</a>(<span class="keywordtype">int</span> index);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">setLayerToActive</a>(<span class="keywordtype">int</span> index);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">setAlphaOfLayer</a>(<span class="keywordtype">int</span> index, <span class="keywordtype">int</span> alpha);</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">floodFill</a>(<span class="keywordtype">int</span> r, <span class="keywordtype">int</span> g, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> a);</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">movePositionActive</a>(<span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">moveActiveLayer</a>(<span class="keywordtype">int</span> idx);</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>  <span class="comment">//change properties of colorPicker</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">colorPickerSetFirstColor</a>();</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">colorPickerSetSecondColor</a>();</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">colorPickerSwitchColor</a>();</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">//create tools</span></div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">createPenTool</a>();</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">createPlainTool</a>();</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">createLineTool</a>();</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">//get Width and Height of active Layer</span></div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">getWidthActiveLayer</a>();</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordtype">int</span> <a class="code" href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">getHeightActiveLayer</a>();</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">public</span> slots:</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// Events to handle</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">slotActivateLayer</a>(<span class="keywordtype">int</span> a);</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">slotDeleteActiveLayer</a>();</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="keyword">protected</span>:</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">mousePressEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">mouseMoveEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a35b5df914acb608cc29717659793359c">mouseReleaseEvent</a>(QMouseEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">wheelEvent</a>(QWheelEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// Updates the painting area where we are painting</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">paintEvent</a>(QPaintEvent *event) <span class="keyword">override</span>;</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// Makes sure the area we are drawing on remains</span></div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// as large as the widget</span></div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">void</span> <a class="code" href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">resizeEvent</a>(QResizeEvent *event) <span class="keyword">override</span>;</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">private</span>:</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordtype">void</span> setUp(<span class="keywordtype">int</span> maxWidth, <span class="keywordtype">int</span> maxHeight);</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">void</span> activateUpperLayer();</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordtype">void</span> activateLowerLayer();</div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  QImage* Canvas;</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">int</span> maxWidth;</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordtype">int</span> maxHeight;</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="class_intelli_tool.html">IntelliTool</a>* Tool;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="class_intelli_color_picker.html">IntelliColorPicker</a> colorPicker;</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  std::vector<LayerObject> layerBundle;</div>
|
||||
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keywordtype">int</span> activeLayer=-1;</div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> resizeImage(QImage *image_res, <span class="keyword">const</span> QSize &newSize);</div>
|
||||
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">void</span> assembleLayers(<span class="keywordtype">bool</span> forSaving=<span class="keyword">false</span>);</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>  </div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">//Helper for Tool</span></div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordtype">void</span> createTempLayerAfter(<span class="keywordtype">int</span> idx);</div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> };</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keywordtype">void</span> resizeImage(QImage *image_res, <span class="keyword">const</span> QSize &newSize);</div>
|
||||
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">//Helper for Tool</span></div>
|
||||
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">void</span> createTempLayerAfter(<span class="keywordtype">int</span> idx);</div>
|
||||
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> };</div>
|
||||
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
||||
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0">ImageType</a></div><div class="ttdeci">ImageType</div><div class="ttdoc">The Types, which an Image can be.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00014">IntelliImage.h:14</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00057">PaintingArea.cpp:57</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00225">PaintingArea.cpp:225</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a39ad76e1319659bfa38eee88ef33d395"><div class="ttname"><a href="class_painting_area.html#a39ad76e1319659bfa38eee88ef33d395">PaintingArea::addLayer</a></div><div class="ttdeci">int addLayer(int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00058">PaintingArea.cpp:58</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a427c5fc26480c7ae80b3480e85510bda"><div class="ttname"><a href="class_painting_area.html#a427c5fc26480c7ae80b3480e85510bda">PaintingArea::getWidthActiveLayer</a></div><div class="ttdeci">int getWidthActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00197">PaintingArea.cpp:197</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a35b5df914acb608cc29717659793359c"><div class="ttname"><a href="class_painting_area.html#a35b5df914acb608cc29717659793359c">PaintingArea::mouseReleaseEvent</a></div><div class="ttdeci">void mouseReleaseEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00234">PaintingArea.cpp:234</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="a_intelli_shaped_image_8h_html"><div class="ttname"><a href="_intelli_shaped_image_8h.html">IntelliShapedImage.h</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html"><div class="ttname"><a href="_intelli_image_8h.html">IntelliImage.h</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00103">PaintingArea.cpp:103</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a72b44d27c7bbb60dde14f04ec240ab96"><div class="ttname"><a href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">LayerObject::widthOffset</a></div><div class="ttdeci">int widthOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00021">PaintingArea.h:21</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00090">PaintingArea.cpp:90</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00139">PaintingArea.cpp:139</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00115">PaintingArea.cpp:115</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00186">PaintingArea.cpp:186</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a632848d99f44d33d7da2618fbc6775a4"><div class="ttname"><a href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a></div><div class="ttdeci">void wheelEvent(QWheelEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00238">PaintingArea.cpp:238</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#l00026">PaintingArea.h:26</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></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="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00074">PaintingArea.cpp:74</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00181">PaintingArea.cpp:181</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abfe445f8d9b70ae42bfeda874127dd15"><div class="ttname"><a href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a></div><div class="ttdeci">void mousePressEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00199">PaintingArea.cpp:199</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1f597740b4d7b4bc2e24c51f8cb0b6eb"><div class="ttname"><a href="class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb">PaintingArea::open</a></div><div class="ttdeci">bool open(const QString &fileName)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00104">PaintingArea.cpp:104</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a72b44d27c7bbb60dde14f04ec240ab96"><div class="ttname"><a href="struct_layer_object.html#a72b44d27c7bbb60dde14f04ec240ab96">LayerObject::widthOffset</a></div><div class="ttdeci">int widthOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1d6d86c25efdce9fe9031a9cd01c74c8"><div class="ttname"><a href="class_painting_area.html#a1d6d86c25efdce9fe9031a9cd01c74c8">PaintingArea::setLayerToActive</a></div><div class="ttdeci">void setLayerToActive(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00091">PaintingArea.cpp:91</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1511a534e206089fff1d325e7ec7a8eb"><div class="ttname"><a href="class_painting_area.html#a1511a534e206089fff1d325e7ec7a8eb">PaintingArea::getHeightActiveLayer</a></div><div class="ttdeci">int getHeightActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00201">PaintingArea.cpp:201</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aeb5eb394b979ea90f2be9849fdda1774"><div class="ttname"><a href="class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774">PaintingArea::floodFill</a></div><div class="ttdeci">void floodFill(int r, int g, int b, int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00140">PaintingArea.cpp:140</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a612176cc9d629d22fd3fe1a746cce564"><div class="ttname"><a href="class_painting_area.html#a612176cc9d629d22fd3fe1a746cce564">PaintingArea::save</a></div><div class="ttdeci">bool save(const QString &fileName, const char *fileFormat)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00116">PaintingArea.cpp:116</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a3de83443d2d5cf460ff48d0602070938"><div class="ttname"><a href="class_painting_area.html#a3de83443d2d5cf460ff48d0602070938">PaintingArea::createPlainTool</a></div><div class="ttdeci">void createPlainTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00187">PaintingArea.cpp:187</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a632848d99f44d33d7da2618fbc6775a4"><div class="ttname"><a href="class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4">PaintingArea::wheelEvent</a></div><div class="ttdeci">void wheelEvent(QWheelEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00247">PaintingArea.cpp:247</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="astruct_layer_object_html"><div class="ttname"><a href="struct_layer_object.html">LayerObject</a></div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00016">PaintingArea.h:16</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a6efad6f8ea060674b157b42b431cd173"><div class="ttname"><a href="class_painting_area.html#a6efad6f8ea060674b157b42b431cd173">PaintingArea::deleteLayer</a></div><div class="ttdeci">void deleteLayer(int index)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00075">PaintingArea.cpp:75</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a96c6248e343e44b61cf2625cb6d21353"><div class="ttname"><a href="class_painting_area.html#a96c6248e343e44b61cf2625cb6d21353">PaintingArea::createPenTool</a></div><div class="ttdeci">void createPenTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00182">PaintingArea.cpp:182</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_abfe445f8d9b70ae42bfeda874127dd15"><div class="ttname"><a href="class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15">PaintingArea::mousePressEvent</a></div><div class="ttdeci">void mousePressEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00208">PaintingArea.cpp:208</a></div></div>
|
||||
<div class="ttc" id="a_intelli_image_8h_html_a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3"><div class="ttname"><a href="_intelli_image_8h.html#a3154c405c975616503bac23f51b78fc0a80e1612d2117f2b25530317279ffe7b3">ImageType::Raster_Image</a></div></div>
|
||||
<div class="ttc" id="a_intelli_raster_image_8h_html"><div class="ttname"><a href="_intelli_raster_image_8h.html">IntelliRasterImage.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00023">PaintingArea.h:23</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00191">PaintingArea.cpp:191</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00172">PaintingArea.cpp:172</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00167">PaintingArea.cpp:167</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00177">PaintingArea.cpp:177</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a402cb1d9f20436032fe080681b80eb56"><div class="ttname"><a href="struct_layer_object.html#a402cb1d9f20436032fe080681b80eb56">LayerObject::alpha</a></div><div class="ttdeci">int alpha</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00022">PaintingArea.h:22</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a240c33a7875addac86080cdfb0db036a"><div class="ttname"><a href="class_painting_area.html#a240c33a7875addac86080cdfb0db036a">PaintingArea::createLineTool</a></div><div class="ttdeci">void createLineTool()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00192">PaintingArea.cpp:192</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae261acaaa346610dfed489dbac17e789"><div class="ttname"><a href="class_painting_area.html#ae261acaaa346610dfed489dbac17e789">PaintingArea::colorPickerSetSecondColor</a></div><div class="ttdeci">void colorPickerSetSecondColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00173">PaintingArea.cpp:173</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4735d4cf1dc58a9096d904e74c39c4df"><div class="ttname"><a href="class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df">PaintingArea::colorPickerSetFirstColor</a></div><div class="ttdeci">void colorPickerSetFirstColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00168">PaintingArea.cpp:168</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a66115307ff4a99cd7ca16423c5c8ecfb"><div class="ttname"><a href="class_painting_area.html#a66115307ff4a99cd7ca16423c5c8ecfb">PaintingArea::colorPickerSwitchColor</a></div><div class="ttdeci">void colorPickerSwitchColor()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00178">PaintingArea.cpp:178</a></div></div>
|
||||
<div class="ttc" id="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00042">PaintingArea.cpp:42</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa22e274b6094a9619f196cd7b49526b5"><div class="ttname"><a href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00215">PaintingArea.cpp:215</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_af261813df52ff0b0c82bfa57efeb9897"><div class="ttname"><a href="struct_layer_object.html#af261813df52ff0b0c82bfa57efeb9897">LayerObject::width</a></div><div class="ttdeci">int width</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa32adc113f77031945f73e33051931e8"><div class="ttname"><a href="class_painting_area.html#aa32adc113f77031945f73e33051931e8">PaintingArea::~PaintingArea</a></div><div class="ttdeci">~PaintingArea() override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00043">PaintingArea.cpp:43</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aa22e274b6094a9619f196cd7b49526b5"><div class="ttname"><a href="class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5">PaintingArea::mouseMoveEvent</a></div><div class="ttdeci">void mouseMoveEvent(QMouseEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00224">PaintingArea.cpp:224</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1ff0b9c1227531943c9cec2c546fae5e"><div class="ttname"><a href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a></div><div class="ttdeci">void slotDeleteActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00083">PaintingArea.cpp:83</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a1ff0b9c1227531943c9cec2c546fae5e"><div class="ttname"><a href="class_painting_area.html#a1ff0b9c1227531943c9cec2c546fae5e">PaintingArea::slotDeleteActiveLayer</a></div><div class="ttdeci">void slotDeleteActiveLayer()</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00084">PaintingArea.cpp:84</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae756003b49aead863b49616ea7a44cc0"><div class="ttname"><a href="class_painting_area.html#ae756003b49aead863b49616ea7a44cc0">PaintingArea::addLayerAt</a></div><div class="ttdeci">int addLayerAt(int idx, int width, int height, int widthOffset=0, int heightOffset=0, ImageType type=ImageType::Raster_Image)</div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00153">PaintingArea.cpp:153</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00020">PaintingArea.cpp:20</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00020">PaintingArea.h:20</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00161">PaintingArea.cpp:161</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ae05f6893fb44bfcb34018573a609cd1a"><div class="ttname"><a href="class_painting_area.html#ae05f6893fb44bfcb34018573a609cd1a">PaintingArea::moveActiveLayer</a></div><div class="ttdeci">void moveActiveLayer(int idx)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00154">PaintingArea.cpp:154</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4fa0ec23e78cc59f28c823584c721460"><div class="ttname"><a href="class_painting_area.html#a4fa0ec23e78cc59f28c823584c721460">PaintingArea::PaintingArea</a></div><div class="ttdeci">PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent=nullptr)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00021">PaintingArea.cpp:21</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a4b1729dbf7d3490e4c2776e29ffef8b0"><div class="ttname"><a href="struct_layer_object.html#a4b1729dbf7d3490e4c2776e29ffef8b0">LayerObject::hight</a></div><div class="ttdeci">int hight</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00019">PaintingArea.h:19</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a71ac281e0de263208d4a3b9de74258ec"><div class="ttname"><a href="class_painting_area.html#a71ac281e0de263208d4a3b9de74258ec">PaintingArea::slotActivateLayer</a></div><div class="ttdeci">void slotActivateLayer(int a)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00162">PaintingArea.cpp:162</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_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00249">PaintingArea.cpp:249</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00096">PaintingArea.cpp:96</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#l00018">PaintingArea.h:18</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ab57e8ccda60fff7187463a90e65c5335"><div class="ttname"><a href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a></div><div class="ttdeci">void resizeEvent(QResizeEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00260">PaintingArea.cpp:260</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00148">PaintingArea.cpp:148</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_a4a8138b9508ee4ec87a7fca9160368a7"><div class="ttname"><a href="class_painting_area.html#a4a8138b9508ee4ec87a7fca9160368a7">PaintingArea::paintEvent</a></div><div class="ttdeci">void paintEvent(QPaintEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00258">PaintingArea.cpp:258</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_aec59be20f1c27135700754882dd6383d"><div class="ttname"><a href="class_painting_area.html#aec59be20f1c27135700754882dd6383d">PaintingArea::setAlphaOfLayer</a></div><div class="ttdeci">void setAlphaOfLayer(int index, int alpha)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00097">PaintingArea.cpp:97</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="aclass_painting_area_html_ab57e8ccda60fff7187463a90e65c5335"><div class="ttname"><a href="class_painting_area.html#ab57e8ccda60fff7187463a90e65c5335">PaintingArea::resizeEvent</a></div><div class="ttdeci">void resizeEvent(QResizeEvent *event) override</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00269">PaintingArea.cpp:269</a></div></div>
|
||||
<div class="ttc" id="aclass_painting_area_html_ac6d089f4357b22d9a9906fd4771de3e7"><div class="ttname"><a href="class_painting_area.html#ac6d089f4357b22d9a9906fd4771de3e7">PaintingArea::movePositionActive</a></div><div class="ttdeci">void movePositionActive(int x, int y)</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8cpp_source.html#l00149">PaintingArea.cpp:149</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_image_html"><div class="ttname"><a href="class_intelli_image.html">IntelliImage</a></div><div class="ttdoc">An abstract class which manages the basic IntelliImage operations.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_image_8h_source.html#l00024">IntelliImage.h:24</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a6256486a76c38baa3f1c664f4d190743"><div class="ttname"><a href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">LayerObject::hightOffset</a></div><div class="ttdeci">int hightOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00022">PaintingArea.h:22</a></div></div>
|
||||
<div class="ttc" id="astruct_layer_object_html_a6256486a76c38baa3f1c664f4d190743"><div class="ttname"><a href="struct_layer_object.html#a6256486a76c38baa3f1c664f4d190743">LayerObject::hightOffset</a></div><div class="ttdeci">int hightOffset</div><div class="ttdef"><b>Definition:</b> <a href="_painting_area_8h_source.html#l00021">PaintingArea.h:21</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -130,11 +130,11 @@ $(document).ready(function(){initNavTree('_tool_2_intelli_color_picker_8cpp_sour
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a40b975268a1f05249e8a49dde9a862ff"><div class="ttname"><a href="class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff">IntelliColorPicker::~IntelliColorPicker</a></div><div class="ttdeci">virtual ~IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker destructor clears up his used memory, if there is some.</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00008">IntelliColorPicker.cpp:8</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_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#l00026">PaintingArea.h:26</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="a_intelli_color_picker_8h_html"><div class="ttname"><a href="_intelli_color_picker_8h.html">IntelliColorPicker.h</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#l00013">IntelliTool.h:13</a></div></div>
|
||||
<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_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker construktor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<div class="ttc" id="aclass_intelli_color_picker_html_a0d1247bdd87add1396ea5d9acaad79ae"><div class="ttname"><a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker::IntelliColorPicker</a></div><div class="ttdeci">IntelliColorPicker()</div><div class="ttdoc">IntelliColorPicker constructor, setting 2 preset colors, be careful, theese color may change in produ...</div><div class="ttdef"><b>Definition:</b> <a href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">IntelliColorPicker.cpp:3</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
||||
@@ -98,15 +98,16 @@ $(document).ready(function(){initNavTree('annotated.html','');});
|
||||
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_raster_image.html" target="_self">IntelliRasterImage</a></td><td class="desc">The <a class="el" href="class_intelli_raster_image.html" title="The IntelliRasterImage manages a Rasterimage.">IntelliRasterImage</a> manages a Rasterimage </td></tr>
|
||||
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_shaped_image.html" target="_self">IntelliShapedImage</a></td><td class="desc">The <a class="el" href="class_intelli_shaped_image.html" title="The IntelliShapedImage manages a Shapedimage.">IntelliShapedImage</a> manages a Shapedimage </td></tr>
|
||||
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool.html" target="_self">IntelliTool</a></td><td class="desc">An abstract class that manages the basic events, like mouse clicks or scrolls events </td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_circle.html" target="_self">IntelliToolCircle</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_flood_fill.html" target="_self">IntelliToolFloodFill</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_line.html" target="_self">IntelliToolLine</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_pen.html" target="_self">IntelliToolPen</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_plain_tool.html" target="_self">IntelliToolPlainTool</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_rectangle.html" target="_self">IntelliToolRectangle</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_layer_object.html" target="_self">LayerObject</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_painting_area.html" target="_self">PaintingArea</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_triangle.html" target="_self">Triangle</a></td><td class="desc">The <a class="el" href="struct_triangle.html" title="The Triangle struct holds the 3 vertices of a triangle.">Triangle</a> struct holds the 3 vertices of a triangle </td></tr>
|
||||
<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_circle.html" target="_self">IntelliToolCircle</a></td><td class="desc">Tool to draw a circle </td></tr>
|
||||
<tr id="row_7_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_flood_fill.html" target="_self">IntelliToolFloodFill</a></td><td class="desc">Tool to flood FIll a certian area </td></tr>
|
||||
<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_line.html" target="_self">IntelliToolLine</a></td><td class="desc">The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to draw a line </td></tr>
|
||||
<tr id="row_9_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_pen.html" target="_self">IntelliToolPen</a></td><td class="desc">Tool to draw a line </td></tr>
|
||||
<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_plain_tool.html" target="_self">IntelliToolPlainTool</a></td><td class="desc">Tool to fill the whole canvas with one color </td></tr>
|
||||
<tr id="row_11_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_polygon.html" target="_self">IntelliToolPolygon</a></td><td class="desc">The <a class="el" href="class_intelli_tool_polygon.html" title="The IntelliToolPolygon managed the Drawing of Polygonforms.">IntelliToolPolygon</a> managed the Drawing of Polygonforms </td></tr>
|
||||
<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_intelli_tool_rectangle.html" target="_self">IntelliToolRectangle</a></td><td class="desc">Tool to draw a rectangle </td></tr>
|
||||
<tr id="row_13_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_layer_object.html" target="_self">LayerObject</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_painting_area.html" target="_self">PaintingArea</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_15_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="struct_triangle.html" target="_self">Triangle</a></td><td class="desc">The <a class="el" href="struct_triangle.html" title="The Triangle struct holds the 3 vertices of a triangle.">Triangle</a> struct holds the 3 vertices of a triangle </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
|
||||
@@ -11,6 +11,7 @@ var annotated_dup =
|
||||
[ "IntelliToolLine", "class_intelli_tool_line.html", "class_intelli_tool_line" ],
|
||||
[ "IntelliToolPen", "class_intelli_tool_pen.html", "class_intelli_tool_pen" ],
|
||||
[ "IntelliToolPlainTool", "class_intelli_tool_plain_tool.html", "class_intelli_tool_plain_tool" ],
|
||||
[ "IntelliToolPolygon", "class_intelli_tool_polygon.html", "class_intelli_tool_polygon" ],
|
||||
[ "IntelliToolRectangle", "class_intelli_tool_rectangle.html", "class_intelli_tool_rectangle" ],
|
||||
[ "LayerObject", "struct_layer_object.html", "struct_layer_object" ],
|
||||
[ "PaintingArea", "class_painting_area.html", "class_painting_area" ],
|
||||
|
||||
@@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('class_intelli_color_picker.html','');}
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a0d1247bdd87add1396ea5d9acaad79ae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">IntelliColorPicker</a> ()</td></tr>
|
||||
<tr class="memdesc:a0d1247bdd87add1396ea5d9acaad79ae"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> construktor, setting 2 preset colors, be careful, theese color may change in production. <a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a0d1247bdd87add1396ea5d9acaad79ae"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> constructor, setting 2 preset colors, be careful, theese color may change in production. <a href="class_intelli_color_picker.html#a0d1247bdd87add1396ea5d9acaad79ae">More...</a><br /></td></tr>
|
||||
<tr class="separator:a0d1247bdd87add1396ea5d9acaad79ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a40b975268a1f05249e8a49dde9a862ff"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff">~IntelliColorPicker</a> ()</td></tr>
|
||||
<tr class="memdesc:a40b975268a1f05249e8a49dde9a862ff"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> destructor clears up his used memory, if there is some. <a href="class_intelli_color_picker.html#a40b975268a1f05249e8a49dde9a862ff">More...</a><br /></td></tr>
|
||||
@@ -143,7 +143,7 @@ Public Member Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p><a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> construktor, setting 2 preset colors, be careful, theese color may change in production. </p>
|
||||
<p><a class="el" href="class_intelli_color_picker.html" title="The IntelliColorPicker manages the selected colors for one whole project.">IntelliColorPicker</a> constructor, setting 2 preset colors, be careful, theese color may change in production. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_helper_2_intelli_color_picker_8cpp_source.html#l00003">3</a> of file <a class="el" href="_intelli_helper_2_intelli_color_picker_8cpp_source.html">IntelliColorPicker.cpp</a>.</p>
|
||||
|
||||
|
||||
@@ -8,15 +8,19 @@ digraph "IntelliColorPicker::getFirstColor"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::colorPicker\lSetFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a4735d4cf1dc58a9096d904e74c39c4df",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node5 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node6 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node7 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node8 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."];
|
||||
Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
}
|
||||
|
||||
@@ -420,7 +420,7 @@ Here is the caller graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8cpp_source.html#l00077">77</a> of file <a class="el" href="_intelli_image_8cpp_source.html">IntelliImage.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8cpp_source.html#l00076">76</a> of file <a class="el" href="_intelli_image_8cpp_source.html">IntelliImage.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
@@ -480,6 +480,11 @@ Here is the caller graph for this function:</div>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8cpp_source.html#l00055">55</a> of file <a class="el" href="_intelli_image_8cpp_source.html">IntelliImage.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph.png" border="0" usemap="#class_intelli_image_a2e787f1b333b59401643936ebb3dcfe1_icgraph" alt=""/></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -631,7 +636,7 @@ Here is the caller graph for this function:</div>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>The color of the Pixel as QColor. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8cpp_source.html#l00081">81</a> of file <a class="el" href="_intelli_image_8cpp_source.html">IntelliImage.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_image_8cpp_source.html#l00080">80</a> of file <a class="el" href="_intelli_image_8cpp_source.html">IntelliImage.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
digraph "IntelliImage::drawPoint"
|
||||
{
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."];
|
||||
}
|
||||
@@ -6,5 +6,5 @@ digraph "IntelliImage::getPixelColor"
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliImage::getPixelColor",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that returns the pixelcolor at a certain point."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
}
|
||||
|
||||
@@ -8,11 +8,13 @@ digraph "IntelliImage::drawPlain"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::floodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aeb5eb394b979ea90f2be9849fdda1774",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node5 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
}
|
||||
|
||||
@@ -6,59 +6,65 @@ digraph "IntelliImage::calculateVisiblity"
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract function that calculates the visiblity of the Image data if needed."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node6 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node7 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node8 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "];
|
||||
Node8 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "];
|
||||
Node10 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node10 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5",tooltip=" "];
|
||||
Node18 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node21 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node22 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node22 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node23 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node23 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node24 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node24 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node18 -> Node25 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node25 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node1 -> Node26 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip=" "];
|
||||
Node8 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."];
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliTool::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a34b7ef1dde96b94a0ce450a25ae1778c",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node9 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node10 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "];
|
||||
Node9 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node1 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node11 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node12 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node13 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "];
|
||||
Node12 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node12 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node14 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."];
|
||||
Node12 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node15 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."];
|
||||
Node12 -> Node16 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node16 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."];
|
||||
Node12 -> Node17 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node17 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."];
|
||||
Node12 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node18 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."];
|
||||
Node12 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node19 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node20 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node20 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node21 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5",tooltip=" "];
|
||||
Node20 -> Node22 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node22 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event."];
|
||||
Node20 -> Node23 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node23 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event."];
|
||||
Node20 -> Node24 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node24 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."];
|
||||
Node20 -> Node25 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node25 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."];
|
||||
Node20 -> Node26 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node26 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."];
|
||||
Node20 -> Node27 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node27 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
Node1 -> Node28 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node28 [label="PaintingArea::open",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a1f597740b4d7b4bc2e24c51f8cb0b6eb",tooltip=" "];
|
||||
}
|
||||
|
||||
@@ -6,7 +6,9 @@ digraph "IntelliImage::drawPixel"
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliImage::drawPixel",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A funtcion used to draw a pixel on the Image with the given Color."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node2 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node3 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@ digraph "IntelliImage::drawLine"
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function that draws A Line between two given Points in a given color."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node2 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node3 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node4 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ Protected Member Functions</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_photo_gui_8cpp_source.html#l00024">24</a> of file <a class="el" href="_intelli_photo_gui_8cpp_source.html">IntelliPhotoGui.cpp</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_photo_gui_8cpp_source.html#l00026">26</a> of file <a class="el" href="_intelli_photo_gui_8cpp_source.html">IntelliPhotoGui.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -131,7 +131,7 @@ Public Member Functions</h2></td></tr>
|
||||
<tr class="memdesc:a906a2575c16c8a33cb2a5197f8d8cc5b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a906a2575c16c8a33cb2a5197f8d8cc5b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4dccfd4460255ccb866f336406a33574"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">onWheelScrolled</a> (int value)</td></tr>
|
||||
<tr class="memdesc:a4dccfd4460255ccb866f336406a33574"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a4dccfd4460255ccb866f336406a33574"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4dccfd4460255ccb866f336406a33574"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac10e20414cd8855a2f9b103fb6408639"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">onMouseMoved</a> (int x, int y)</td></tr>
|
||||
<tr class="memdesc:ac10e20414cd8855a2f9b103fb6408639"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639">More...</a><br /></td></tr>
|
||||
@@ -190,7 +190,7 @@ Protected Attributes</h2></td></tr>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general <a class="el" href="class_painting_area.html">PaintingArea</a> used by the project. </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -266,13 +266,13 @@ Protected Attributes</h2></td></tr>
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00025">25</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -325,13 +325,13 @@ Here is the caller graph for this function:</div>
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00032">32</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -384,13 +384,13 @@ Here is the caller graph for this function:</div>
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#a0e3a1135f04c73c159137ae219a38922">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00041">41</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -443,13 +443,13 @@ Here is the caller graph for this function:</div>
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00014">14</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -497,13 +497,13 @@ Here is the caller graph for this function:</div>
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#a47cad87cd02b128b02dc929713bd1d1b">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00021">21</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
@@ -538,7 +538,7 @@ Here is the caller graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </p>
|
||||
<p>A function managing the scroll event. A positive value means scrolling outwards. Call this in child classes! </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
|
||||
@@ -546,7 +546,7 @@ Here is the caller graph for this function:</div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill</a>, and <a class="el" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool</a>.</p>
|
||||
<p>Reimplemented in <a class="el" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">IntelliToolLine</a>, <a class="el" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">IntelliToolCircle</a>, <a class="el" href="class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c">IntelliToolRectangle</a>, <a class="el" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">IntelliToolPen</a>, <a class="el" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">IntelliToolFloodFill</a>, <a class="el" href="class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d">IntelliToolPlainTool</a>, and <a class="el" href="class_intelli_tool_polygon.html#a713103300c9f023d64d9eec5ac05dd17">IntelliToolPolygon</a>.</p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_8cpp_source.html#l00046">46</a> of file <a class="el" href="_intelli_tool_8cpp_source.html">IntelliTool.cpp</a>.</p>
|
||||
<div class="dynheader">
|
||||
|
||||
@@ -6,15 +6,17 @@ digraph "IntelliTool"
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html",tooltip=" "];
|
||||
Node2 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html",tooltip="The IntelliToolCircle class represents a tool to draw a circle."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html",tooltip=" "];
|
||||
Node3 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html",tooltip=" "];
|
||||
Node4 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html",tooltip=" "];
|
||||
Node5 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html",tooltip="The IntelliToolPen class represents a tool to draw a line."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html",tooltip=" "];
|
||||
Node6 [label="IntelliToolPlainTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html",tooltip="The IntelliToolPlainTool class represents a tool to fill the whole canvas with one color."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html",tooltip=" "];
|
||||
Node7 [label="IntelliToolPolygon",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html",tooltip="The IntelliToolPolygon managed the Drawing of Polygonforms."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolRectangle",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html",tooltip="The IntelliToolRectangle class represents a tool to draw a rectangle."];
|
||||
}
|
||||
|
||||
@@ -8,15 +8,15 @@ digraph "IntelliTool::onMouseRightReleased"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#a2ae458f1b04eb77a47f6dca5e91e33b8",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node5 [label="IntelliToolPen::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node6 [label="IntelliToolRectangle\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ad43f653256a6516b9398f82054be0d7f",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node7 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node8 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2",tooltip="A function managing the right click released of a mouse."];
|
||||
}
|
||||
|
||||
@@ -8,15 +8,17 @@ digraph "IntelliTool::onMouseRightPressed"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node3 [label="IntelliToolPolygon\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#aa36b012b48311c36e7cd6771a5081427",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#acb0c46e16d2c09370a2244a936de38b1",tooltip="A function managing the right click pressed of a mouse.Resetting the current fill."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node5 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node6 [label="IntelliToolPen::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a480c6804a4963c5a1c3f7ef84b63c1a8",tooltip="A function managing the right click pressed of a mouse.Resetting the current draw."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node8 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."];
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."];
|
||||
}
|
||||
|
||||
@@ -8,15 +8,17 @@ digraph "IntelliTool::onMouseLeftPressed"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::mousePress\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#abfe445f8d9b70ae42bfeda874127dd15",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node3 [label="IntelliToolPolygon\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#ad5d3b741be6d0647a9cdc9da2cb8bc3d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ab786dd5fa80af863246013d43c4b7ac9",tooltip="A function managing the left click pressed of a mouse. Filling the whole canvas."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node5 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node6 [label="IntelliToolPen::onMouseLeft\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205",tooltip="A function managing the left click pressed of a mouse. Starting the drawing procedure."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#ae03c307ccf66cbe3fd59e3657712368d",tooltip="A function managing the left click pressed of a mouse. Setting the originCorner and draws a rectangle..."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node8 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."];
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."];
|
||||
}
|
||||
|
||||
@@ -4,19 +4,19 @@ digraph "IntelliTool::onWheelScrolled"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="RL";
|
||||
Node1 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node1 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."];
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliToolPlainTool\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node2 [label="IntelliToolPlainTool\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#adc004ea421e2cc0ac39cc7a6b6d43d0d",tooltip="A function managing the scroll event."];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node3 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991",tooltip="A function managing the scroll event."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node4 [label="IntelliToolPen::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a",tooltip="A function managing the scroll event. Changing penWidth relativ to value."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node5 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c",tooltip="A function managing the scroll event.Changing edgeWidth relativ to value."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolRectangle\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a445c53a56e859f970e59f5036e221e0c",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node6 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506",tooltip="A function managing the scroll event. Changing the edge Width relative to value."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node7 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="PaintingArea::wheelEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a632848d99f44d33d7da2618fbc6775a4",tooltip=" "];
|
||||
}
|
||||
|
||||
@@ -8,15 +8,17 @@ digraph "IntelliTool::onMouseLeftReleased"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::mouseRelease\lEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#a35b5df914acb608cc29717659793359c",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node3 [label="IntelliToolPolygon\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_polygon.html#a4e1473ff408ae2e11cf6a43f6f575f21",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node4 [label="IntelliToolPlainTool\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ac23f5d0f07e42fd7c2ea3fc1347da400",tooltip="A function managing the left click released of a mouse. Merging the fill to the active layer."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node5 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node6 [label="IntelliToolPen::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d",tooltip="A function managing the left click released of a mouse. Merging the drawing to the active layer."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a94460e3ff1c19e80bde922c55f53cc43",tooltip="A function managing the left click released of a mouse. Merging the draw to the active layer."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node8 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node9 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482",tooltip="A function managing the left click released of a mouse."];
|
||||
}
|
||||
|
||||
@@ -8,15 +8,15 @@ digraph "IntelliTool::onMouseMoved"
|
||||
Node1 -> Node2 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="PaintingArea::mouseMoveEvent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_painting_area.html#aa22e274b6094a9619f196cd7b49526b5",tooltip=" "];
|
||||
Node1 -> Node3 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node3 [label="IntelliToolPlainTool\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_plain_tool.html#ad7546a6335bb3bb4cbf0e1883788d41c",tooltip="A function managing the mouse moved event."];
|
||||
Node1 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node4 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668",tooltip="A function managing the mouse moved event."];
|
||||
Node1 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node5 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node5 [label="IntelliToolPen::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2",tooltip="A function managing the mouse moved event. To draw the line."];
|
||||
Node1 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node6 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node6 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event.Drawing a rectangle to currrent mouse position."];
|
||||
Node1 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node7 [label="IntelliToolRectangle\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_rectangle.html#a4b5931071e21eb6949ffe357315e408b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node7 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."];
|
||||
Node1 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node8 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
}
|
||||
|
||||
@@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('class_intelli_tool_circle.html','');})
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The <a class="el" href="class_intelli_tool_circle.html" title="The IntelliToolCircle class represents a tool to draw a circle.">IntelliToolCircle</a> class represents a tool to draw a circle.
|
||||
<a href="class_intelli_tool_circle.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="_intelli_tool_circle_8h_source.html">IntelliToolCircle.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for IntelliToolCircle:</div>
|
||||
@@ -109,26 +112,28 @@ Collaboration diagram for IntelliToolCircle:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a9b185b9d327f8602d0b7f667b8d1d32a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">IntelliToolCircle</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
<tr class="memdesc:a9b185b9d327f8602d0b7f667b8d1d32a"><td class="mdescLeft"> </td><td class="mdescRight">A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and edgeWidth. <a href="class_intelli_tool_circle.html#a9b185b9d327f8602d0b7f667b8d1d32a">More...</a><br /></td></tr>
|
||||
<tr class="separator:a9b185b9d327f8602d0b7f667b8d1d32a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7a03b65b95d7b5d72e6a92c95f068954"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">~IntelliToolCircle</a> () override</td></tr>
|
||||
<tr class="memdesc:a7a03b65b95d7b5d72e6a92c95f068954"><td class="mdescLeft"> </td><td class="mdescRight">A Destructor. <a href="class_intelli_tool_circle.html#a7a03b65b95d7b5d72e6a92c95f068954">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7a03b65b95d7b5d72e6a92c95f068954"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a29d7b9ed4960e6fe1f31ff620363e429"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">onMouseRightPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a29d7b9ed4960e6fe1f31ff620363e429"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! <a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a29d7b9ed4960e6fe1f31ff620363e429"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click pressed of a mouse. Clearing the canvas layer. <a href="class_intelli_tool_circle.html#a29d7b9ed4960e6fe1f31ff620363e429">More...</a><br /></td></tr>
|
||||
<tr class="separator:a29d7b9ed4960e6fe1f31ff620363e429"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aca07540f2f7ccb3d2c0b84890c1afc4c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">onMouseRightReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:aca07540f2f7ccb3d2c0b84890c1afc4c"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! <a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:aca07540f2f7ccb3d2c0b84890c1afc4c"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click released of a mouse. <a href="class_intelli_tool_circle.html#aca07540f2f7ccb3d2c0b84890c1afc4c">More...</a><br /></td></tr>
|
||||
<tr class="separator:aca07540f2f7ccb3d2c0b84890c1afc4c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae883b8ae833c78a8867e626c600f9639"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">onMouseLeftPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:ae883b8ae833c78a8867e626c600f9639"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! <a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ae883b8ae833c78a8867e626c600f9639"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click pressed of a mouse. Sets the middle point of the cricle. <a href="class_intelli_tool_circle.html#ae883b8ae833c78a8867e626c600f9639">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae883b8ae833c78a8867e626c600f9639"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad8e438ec997c57262b5efc2db4cee1a3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">onMouseLeftReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:ad8e438ec997c57262b5efc2db4cee1a3"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ad8e438ec997c57262b5efc2db4cee1a3"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click released of a mouse. <a href="class_intelli_tool_circle.html#ad8e438ec997c57262b5efc2db4cee1a3">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad8e438ec997c57262b5efc2db4cee1a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae2d9b0fb6695c184c4cb507a5fb75506"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">onWheelScrolled</a> (int value) override</td></tr>
|
||||
<tr class="memdesc:ae2d9b0fb6695c184c4cb507a5fb75506"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ae2d9b0fb6695c184c4cb507a5fb75506"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. Changing the edge Width relative to value. <a href="class_intelli_tool_circle.html#ae2d9b0fb6695c184c4cb507a5fb75506">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae2d9b0fb6695c184c4cb507a5fb75506"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a90ee58c5390a86afc75c14ca79b91d7b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">onMouseMoved</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a90ee58c5390a86afc75c14ca79b91d7b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a90ee58c5390a86afc75c14ca79b91d7b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse position and the middle point. <a href="class_intelli_tool_circle.html#a90ee58c5390a86afc75c14ca79b91d7b">More...</a><br /></td></tr>
|
||||
<tr class="separator:a90ee58c5390a86afc75c14ca79b91d7b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_intelli_tool')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
|
||||
<tr class="memitem:a346dd55d489fced38e7bb46f9168af91 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
@@ -158,8 +163,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
<tr class="separator:af256de16e9825922d20a23d11617b51b inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock">
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_circle_8h_source.html#l00008">8</a> of file <a class="el" href="_intelli_tool_circle_8h_source.html">IntelliToolCircle.h</a>.</p>
|
||||
<div class="textblock"><p>The <a class="el" href="class_intelli_tool_circle.html" title="The IntelliToolCircle class represents a tool to draw a circle.">IntelliToolCircle</a> class represents a tool to draw a circle. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_circle_8h_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_circle_8h_source.html">IntelliToolCircle.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a9b185b9d327f8602d0b7f667b8d1d32a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9b185b9d327f8602d0b7f667b8d1d32a">◆ </a></span>IntelliToolCircle()</h2>
|
||||
@@ -187,6 +193,15 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A constructor setting the general paintingArea and colorPicker. And reading in the inner alpha and edgeWidth. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general paintingArea used by the project. </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_circle_8cpp_source.html#l00006">6</a> of file <a class="el" href="_intelli_tool_circle_8cpp_source.html">IntelliToolCircle.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -214,6 +229,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A Destructor. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_circle_8cpp_source.html#l00012">12</a> of file <a class="el" href="_intelli_tool_circle_8cpp_source.html">IntelliToolCircle.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -253,11 +270,11 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </p>
|
||||
<p>A function managing the left click pressed of a mouse. Sets the middle point of the cricle. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -307,11 +324,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </p>
|
||||
<p>A function managing the left click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -361,11 +378,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </p>
|
||||
<p>A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse position and the middle point. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -415,11 +432,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </p>
|
||||
<p>A function managing the right click pressed of a mouse. Clearing the canvas layer. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -469,11 +486,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </p>
|
||||
<p>A function managing the right click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -513,7 +530,7 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </p>
|
||||
<p>A function managing the scroll event. Changing the edge Width relative to value. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolCircle"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolCircle class represents a tool to draw a circle."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"];
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolCircle"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolCircle",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolCircle class represents a tool to draw a circle."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onMouseRightPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node1 [label="IntelliToolCircle::\lonMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas layer."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onMouseMoved"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolCircle::\lonMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Draws a circle with radius of eulerian norm of mouse posit..."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliImage::drawPlain",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a6be622810dc2bc756054bb5769becb06",tooltip="A function that clears the whole image in a given Color."];
|
||||
Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onMouseRightReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node1 [label="IntelliToolCircle::\lonMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onMouseLeftReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolCircle::\lonMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onWheelScrolled"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node1 [label="IntelliToolCircle::\lonWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. Changing the edge Width relative to value."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolCircle::onMouseLeftPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 [label="IntelliToolCircle::\lonMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the middle point of the cricle."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."];
|
||||
Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('class_intelli_tool_flood_fill.html',''
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to flood FIll a certian area.
|
||||
<a href="class_intelli_tool_flood_fill.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="_intelli_tool_flood_fill_8h_source.html">IntelliToolFloodFill.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for IntelliToolFloodFill:</div>
|
||||
@@ -109,26 +112,28 @@ Collaboration diagram for IntelliToolFloodFill:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a83b51838da304e274bf866cf2fd5407a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">IntelliToolFloodFill</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
<tr class="memdesc:a83b51838da304e274bf866cf2fd5407a"><td class="mdescLeft"> </td><td class="mdescRight">A constructor setting the general paintingArea and colorPicker. <a href="class_intelli_tool_flood_fill.html#a83b51838da304e274bf866cf2fd5407a">More...</a><br /></td></tr>
|
||||
<tr class="separator:a83b51838da304e274bf866cf2fd5407a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a83b1bd8be0cbb32cdf61a9597ec849ba"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">~IntelliToolFloodFill</a> () override</td></tr>
|
||||
<tr class="memdesc:a83b1bd8be0cbb32cdf61a9597ec849ba"><td class="mdescLeft"> </td><td class="mdescRight">A Destructor. <a href="class_intelli_tool_flood_fill.html#a83b1bd8be0cbb32cdf61a9597ec849ba">More...</a><br /></td></tr>
|
||||
<tr class="separator:a83b1bd8be0cbb32cdf61a9597ec849ba"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ada0f7154d119102410a55038763a17e4"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">onMouseRightPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:ada0f7154d119102410a55038763a17e4"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ada0f7154d119102410a55038763a17e4"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click pressed of a mouse. Clearing the canvas. <a href="class_intelli_tool_flood_fill.html#ada0f7154d119102410a55038763a17e4">More...</a><br /></td></tr>
|
||||
<tr class="separator:ada0f7154d119102410a55038763a17e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a39cf49c0ce46f96be3510f0b70c9d892"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">onMouseRightReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a39cf49c0ce46f96be3510f0b70c9d892"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a39cf49c0ce46f96be3510f0b70c9d892"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click released of a mouse. <a href="class_intelli_tool_flood_fill.html#a39cf49c0ce46f96be3510f0b70c9d892">More...</a><br /></td></tr>
|
||||
<tr class="separator:a39cf49c0ce46f96be3510f0b70c9d892"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac85e3cb6233508ff9612833a8d9e3961"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">onMouseLeftPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:ac85e3cb6233508ff9612833a8d9e3961"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ac85e3cb6233508ff9612833a8d9e3961"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this. <a href="class_intelli_tool_flood_fill.html#ac85e3cb6233508ff9612833a8d9e3961">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac85e3cb6233508ff9612833a8d9e3961"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a7438ef96c6c36068bce76e2364e8594c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">onMouseLeftReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a7438ef96c6c36068bce76e2364e8594c"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a7438ef96c6c36068bce76e2364e8594c"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click released of a mouse. <a href="class_intelli_tool_flood_fill.html#a7438ef96c6c36068bce76e2364e8594c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a7438ef96c6c36068bce76e2364e8594c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ad58cc7c065123beb6b0270f99e99b991"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">onWheelScrolled</a> (int value) override</td></tr>
|
||||
<tr class="memdesc:ad58cc7c065123beb6b0270f99e99b991"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ad58cc7c065123beb6b0270f99e99b991"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. <a href="class_intelli_tool_flood_fill.html#ad58cc7c065123beb6b0270f99e99b991">More...</a><br /></td></tr>
|
||||
<tr class="separator:ad58cc7c065123beb6b0270f99e99b991"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3cd42cea99bc7583875abcc0c274c668"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">onMouseMoved</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a3cd42cea99bc7583875abcc0c274c668"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a3cd42cea99bc7583875abcc0c274c668"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. <a href="class_intelli_tool_flood_fill.html#a3cd42cea99bc7583875abcc0c274c668">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3cd42cea99bc7583875abcc0c274c668"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_intelli_tool')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
|
||||
<tr class="memitem:a346dd55d489fced38e7bb46f9168af91 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
@@ -158,8 +163,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
<tr class="separator:af256de16e9825922d20a23d11617b51b inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock">
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_flood_fill_8h_source.html#l00007">7</a> of file <a class="el" href="_intelli_tool_flood_fill_8h_source.html">IntelliToolFloodFill.h</a>.</p>
|
||||
<div class="textblock"><p>The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to flood FIll a certian area. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_flood_fill_8h_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_flood_fill_8h_source.html">IntelliToolFloodFill.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a83b51838da304e274bf866cf2fd5407a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a83b51838da304e274bf866cf2fd5407a">◆ </a></span>IntelliToolFloodFill()</h2>
|
||||
@@ -187,6 +193,15 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A constructor setting the general paintingArea and colorPicker. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general paintingArea used by the project. </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_flood_fill_8cpp_source.html#l00008">8</a> of file <a class="el" href="_intelli_tool_flood_fill_8cpp_source.html">IntelliToolFloodFill.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -214,6 +229,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A Destructor. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_flood_fill_8cpp_source.html#l00012">12</a> of file <a class="el" href="_intelli_tool_flood_fill_8cpp_source.html">IntelliToolFloodFill.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -253,11 +270,11 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </p>
|
||||
<p>A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -307,11 +324,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </p>
|
||||
<p>A function managing the left click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -361,11 +378,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </p>
|
||||
<p>A function managing the mouse moved event. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -415,11 +432,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </p>
|
||||
<p>A function managing the right click pressed of a mouse. Clearing the canvas. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -469,11 +486,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </p>
|
||||
<p>A function managing the right click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -513,7 +530,7 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </p>
|
||||
<p>A function managing the scroll event. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolFloodFill"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"];
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolFloodFill"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolFloodFill",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to flood FIll a certian area."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onMouseRightReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onMouseMoved"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseMoved",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#ac10e20414cd8855a2f9b103fb6408639",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onMouseLeftReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onMouseLeftPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the point to flood fill around and does t..."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."];
|
||||
Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onWheelScrolled"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node1 [label="IntelliToolFloodFill\l::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolFloodFill::onMouseRightPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node1 [label="IntelliToolFloodFill\l::onMouseRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
}
|
||||
|
||||
@@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('class_intelli_tool_line.html','');});
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to draw a line.
|
||||
<a href="class_intelli_tool_line.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="_intelli_tool_line_8h_source.html">IntelliToolLine.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for IntelliToolLine:</div>
|
||||
@@ -109,26 +112,28 @@ Collaboration diagram for IntelliToolLine:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a9b2d4bcd69409a21f6080edfea4ae2a2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">IntelliToolLine</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
<tr class="memdesc:a9b2d4bcd69409a21f6080edfea4ae2a2"><td class="mdescLeft"> </td><td class="mdescRight">A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and lineStyle. <a href="class_intelli_tool_line.html#a9b2d4bcd69409a21f6080edfea4ae2a2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a9b2d4bcd69409a21f6080edfea4ae2a2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acb600b0f4e9225ebce2937c2b7abb4c2"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">~IntelliToolLine</a> () override</td></tr>
|
||||
<tr class="memdesc:acb600b0f4e9225ebce2937c2b7abb4c2"><td class="mdescLeft"> </td><td class="mdescRight">An abstract Destructor. <a href="class_intelli_tool_line.html#acb600b0f4e9225ebce2937c2b7abb4c2">More...</a><br /></td></tr>
|
||||
<tr class="separator:acb600b0f4e9225ebce2937c2b7abb4c2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6cce59f3017936214b10b47252a898a3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">onMouseRightPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a6cce59f3017936214b10b47252a898a3"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! <a href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a6cce59f3017936214b10b47252a898a3"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click pressed of a mouse. Clearing the canvas. <a href="class_intelli_tool_line.html#a6cce59f3017936214b10b47252a898a3">More...</a><br /></td></tr>
|
||||
<tr class="separator:a6cce59f3017936214b10b47252a898a3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6214918cba5753f89d97de4559a2b9b2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">onMouseRightReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a6214918cba5753f89d97de4559a2b9b2"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! <a href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a6214918cba5753f89d97de4559a2b9b2"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click released of a mouse. <a href="class_intelli_tool_line.html#a6214918cba5753f89d97de4559a2b9b2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a6214918cba5753f89d97de4559a2b9b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a155d676a5f98311217eb095be4759846"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">onMouseLeftPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a155d676a5f98311217eb095be4759846"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! <a href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a155d676a5f98311217eb095be4759846"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click pressed of a mouse. Sets the starting point of the line. <a href="class_intelli_tool_line.html#a155d676a5f98311217eb095be4759846">More...</a><br /></td></tr>
|
||||
<tr class="separator:a155d676a5f98311217eb095be4759846"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac93f76ff20a1c111a403b298bab02482"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">onMouseLeftReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:ac93f76ff20a1c111a403b298bab02482"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:ac93f76ff20a1c111a403b298bab02482"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click released of a mouse. <a href="class_intelli_tool_line.html#ac93f76ff20a1c111a403b298bab02482">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac93f76ff20a1c111a403b298bab02482"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aaf1d686e1ec43f41b5186ccfd806b125"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">onWheelScrolled</a> (int value) override</td></tr>
|
||||
<tr class="memdesc:aaf1d686e1ec43f41b5186ccfd806b125"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:aaf1d686e1ec43f41b5186ccfd806b125"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. Changing the lineWidth relative to value. <a href="class_intelli_tool_line.html#aaf1d686e1ec43f41b5186ccfd806b125">More...</a><br /></td></tr>
|
||||
<tr class="separator:aaf1d686e1ec43f41b5186ccfd806b125"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abc6324ef0778823fe7e35aef8ae37f9b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">onMouseMoved</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:abc6324ef0778823fe7e35aef8ae37f9b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:abc6324ef0778823fe7e35aef8ae37f9b"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse position. <a href="class_intelli_tool_line.html#abc6324ef0778823fe7e35aef8ae37f9b">More...</a><br /></td></tr>
|
||||
<tr class="separator:abc6324ef0778823fe7e35aef8ae37f9b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_intelli_tool')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
|
||||
<tr class="memitem:a346dd55d489fced38e7bb46f9168af91 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
@@ -158,8 +163,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
<tr class="separator:af256de16e9825922d20a23d11617b51b inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock">
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8h_source.html#l00012">12</a> of file <a class="el" href="_intelli_tool_line_8h_source.html">IntelliToolLine.h</a>.</p>
|
||||
<div class="textblock"><p>The <a class="el" href="class_intelli_tool_flood_fill.html" title="The IntelliToolFloodFill class represents a tool to flood FIll a certian area.">IntelliToolFloodFill</a> class represents a tool to draw a line. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8h_source.html#l00018">18</a> of file <a class="el" href="_intelli_tool_line_8h_source.html">IntelliToolLine.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a9b2d4bcd69409a21f6080edfea4ae2a2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9b2d4bcd69409a21f6080edfea4ae2a2">◆ </a></span>IntelliToolLine()</h2>
|
||||
@@ -187,6 +193,15 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A constructor setting the general paintingArea and colorPicker. And reading in the lineWidth and lineStyle. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general paintingArea used by the project. </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8cpp_source.html#l00006">6</a> of file <a class="el" href="_intelli_tool_line_8cpp_source.html">IntelliToolLine.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -214,6 +229,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>An abstract Destructor. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_line_8cpp_source.html#l00013">13</a> of file <a class="el" href="_intelli_tool_line_8cpp_source.html">IntelliToolLine.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -253,11 +270,11 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </p>
|
||||
<p>A function managing the left click pressed of a mouse. Sets the starting point of the line. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -307,11 +324,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </p>
|
||||
<p>A function managing the left click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -361,11 +378,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </p>
|
||||
<p>A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse position. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -415,11 +432,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </p>
|
||||
<p>A function managing the right click pressed of a mouse. Clearing the canvas. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -469,11 +486,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </p>
|
||||
<p>A function managing the right click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -513,7 +530,7 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </p>
|
||||
<p>A function managing the scroll event. Changing the lineWidth relative to value. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolLine"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"];
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolLine"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolLine",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolFloodFill class represents a tool to draw a line."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
}
|
||||
|
||||
@@ -4,11 +4,11 @@ digraph "IntelliToolLine::onMouseLeftPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Pressed of a Mouse. Resetting the current draw...."];
|
||||
Node1 [label="IntelliToolLine::onMouse\lLeftPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click pressed of a mouse. Sets the starting point of the line."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliImage::calculateVisiblity",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#aebbced93f4744fad81b7f141b21f4ab2",tooltip="An abstract function that calculates the visiblity of the Image data if needed."];
|
||||
Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node3 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."];
|
||||
Node3 [label="IntelliImage::drawPoint",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#a2e787f1b333b59401643936ebb3dcfe1",tooltip="A."];
|
||||
Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node4 [label="IntelliColorPicker\l::getFirstColor",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_color_picker.html#aae2eb27b928fe9388b9398b0556303b7",tooltip="A function to read the primary selected color."];
|
||||
Node1 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolLine::onMouseRightReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
Node1 [label="IntelliToolLine::onMouse\lRightReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a16189b00307c6d7e89f28198f54404b0",tooltip="A function managing the right click Released of a Mouse. Merging the Canvas to Active...."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolLine::onMouseRightPressed"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
Node1 [label="IntelliToolLine::onMouse\lRightPressed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the right click pressed of a mouse. Clearing the canvas."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseRight\lPressed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a1e6aa68ac5f3c2ca02319e5ef3f0c966",tooltip="A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on...."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolLine::onWheelScrolled"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node1 [label="IntelliToolLine::onWheel\lScrolled",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the scroll event. Changing the lineWidth relative to value."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child c..."];
|
||||
Node2 [label="IntelliTool::onWheelScrolled",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a4dccfd4460255ccb866f336406a33574",tooltip="A function managing the scroll event. A positive value means scrolling outwards. Call this in child c..."];
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolLine::onMouseMoved"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolLine::onMouse\lMoved",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the mouse moved event. Drawing a Line from the startpoint to the current mouse po..."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliImage::drawLine",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_image.html#af8eddbd9aa54c8d37590d1d4bf8dce31",tooltip="A function that draws A Line between two given Points in a given color."];
|
||||
Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -4,7 +4,7 @@ digraph "IntelliToolLine::onMouseLeftReleased"
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
rankdir="LR";
|
||||
Node1 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node1 [label="IntelliToolLine::onMouse\lLeftReleased",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="A function managing the left click released of a mouse."];
|
||||
Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool::onMouseLeft\lReleased",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html#a906a2575c16c8a33cb2a5197f8d8cc5b",tooltip="A function managing the left click Released of a Mouse. Call this in child classes!"];
|
||||
Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
|
||||
@@ -94,6 +94,9 @@ $(document).ready(function(){initNavTree('class_intelli_tool_pen.html','');});
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The <a class="el" href="class_intelli_tool_pen.html" title="The IntelliToolPen class represents a tool to draw a line.">IntelliToolPen</a> class represents a tool to draw a line.
|
||||
<a href="class_intelli_tool_pen.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="_intelli_tool_pen_8h_source.html">IntelliToolPen.h</a>></code></p>
|
||||
<div class="dynheader">
|
||||
Inheritance diagram for IntelliToolPen:</div>
|
||||
@@ -109,26 +112,28 @@ Collaboration diagram for IntelliToolPen:</div>
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:a889891b3ae7cdefb881aed2e7fff9b47"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">IntelliToolPen</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
<tr class="memdesc:a889891b3ae7cdefb881aed2e7fff9b47"><td class="mdescLeft"> </td><td class="mdescRight">A constructor setting the general paintingArea and colorPicker. Reading the penWidth. <a href="class_intelli_tool_pen.html#a889891b3ae7cdefb881aed2e7fff9b47">More...</a><br /></td></tr>
|
||||
<tr class="separator:a889891b3ae7cdefb881aed2e7fff9b47"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac77a025515d0fed6954556fe2b444818"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">~IntelliToolPen</a> () override</td></tr>
|
||||
<tr class="memdesc:ac77a025515d0fed6954556fe2b444818"><td class="mdescLeft"> </td><td class="mdescRight">A Destructor. <a href="class_intelli_tool_pen.html#ac77a025515d0fed6954556fe2b444818">More...</a><br /></td></tr>
|
||||
<tr class="separator:ac77a025515d0fed6954556fe2b444818"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a1751e3864a0d36ef42ca55021cae73ce"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">onMouseRightPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a1751e3864a0d36ef42ca55021cae73ce"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! <a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a1751e3864a0d36ef42ca55021cae73ce"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click pressed of a mouse.Resetting the current draw. <a href="class_intelli_tool_pen.html#a1751e3864a0d36ef42ca55021cae73ce">More...</a><br /></td></tr>
|
||||
<tr class="separator:a1751e3864a0d36ef42ca55021cae73ce"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abf8562e8cd2da586afdf4d47b3a4ff13"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">onMouseRightReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:abf8562e8cd2da586afdf4d47b3a4ff13"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! <a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:abf8562e8cd2da586afdf4d47b3a4ff13"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the right click released of a mouse. <a href="class_intelli_tool_pen.html#abf8562e8cd2da586afdf4d47b3a4ff13">More...</a><br /></td></tr>
|
||||
<tr class="separator:abf8562e8cd2da586afdf4d47b3a4ff13"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a8ff40aef6d38eb55af31a19322429205"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">onMouseLeftPressed</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a8ff40aef6d38eb55af31a19322429205"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! <a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a8ff40aef6d38eb55af31a19322429205"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click pressed of a mouse. Starting the drawing procedure. <a href="class_intelli_tool_pen.html#a8ff40aef6d38eb55af31a19322429205">More...</a><br /></td></tr>
|
||||
<tr class="separator:a8ff40aef6d38eb55af31a19322429205"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:abda7a22b9766fa4ad254324a53cab94d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">onMouseLeftReleased</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:abda7a22b9766fa4ad254324a53cab94d"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click Released of a Mouse. Call this in child classes! <a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:abda7a22b9766fa4ad254324a53cab94d"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the left click released of a mouse. Merging the drawing to the active layer. <a href="class_intelli_tool_pen.html#abda7a22b9766fa4ad254324a53cab94d">More...</a><br /></td></tr>
|
||||
<tr class="separator:abda7a22b9766fa4ad254324a53cab94d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:afe3626ddff440ab125f4a2465c45427a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">onWheelScrolled</a> (int value) override</td></tr>
|
||||
<tr class="memdesc:afe3626ddff440ab125f4a2465c45427a"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! <a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:afe3626ddff440ab125f4a2465c45427a"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the scroll event. Changing penWidth relativ to value. <a href="class_intelli_tool_pen.html#afe3626ddff440ab125f4a2465c45427a">More...</a><br /></td></tr>
|
||||
<tr class="separator:afe3626ddff440ab125f4a2465c45427a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a58d1d636497b630647ce0c4d652737c2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">onMouseMoved</a> (int x, int y) override</td></tr>
|
||||
<tr class="memdesc:a58d1d636497b630647ce0c4d652737c2"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. Call this in child classes! <a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">More...</a><br /></td></tr>
|
||||
<tr class="memdesc:a58d1d636497b630647ce0c4d652737c2"><td class="mdescLeft"> </td><td class="mdescRight">A function managing the mouse moved event. To draw the line. <a href="class_intelli_tool_pen.html#a58d1d636497b630647ce0c4d652737c2">More...</a><br /></td></tr>
|
||||
<tr class="separator:a58d1d636497b630647ce0c4d652737c2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="inherit_header pub_methods_class_intelli_tool"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_intelli_tool')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_intelli_tool.html">IntelliTool</a></td></tr>
|
||||
<tr class="memitem:a346dd55d489fced38e7bb46f9168af91 inherit pub_methods_class_intelli_tool"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_intelli_tool.html#a346dd55d489fced38e7bb46f9168af91">IntelliTool</a> (<a class="el" href="class_painting_area.html">PaintingArea</a> *<a class="el" href="class_intelli_tool.html#ab4c2698a0f9f25fb6639ec760d2d0289">Area</a>, <a class="el" href="class_intelli_color_picker.html">IntelliColorPicker</a> *<a class="el" href="class_intelli_tool.html#ae2e0ac394611a361ab4ef2fe55c03fef">colorPicker</a>)</td></tr>
|
||||
@@ -158,8 +163,9 @@ Additional Inherited Members</h2></td></tr>
|
||||
<tr class="separator:af256de16e9825922d20a23d11617b51b inherit pro_attribs_class_intelli_tool"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock">
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_pen_8h_source.html#l00008">8</a> of file <a class="el" href="_intelli_tool_pen_8h_source.html">IntelliToolPen.h</a>.</p>
|
||||
<div class="textblock"><p>The <a class="el" href="class_intelli_tool_pen.html" title="The IntelliToolPen class represents a tool to draw a line.">IntelliToolPen</a> class represents a tool to draw a line. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_pen_8h_source.html#l00010">10</a> of file <a class="el" href="_intelli_tool_pen_8h_source.html">IntelliToolPen.h</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="a889891b3ae7cdefb881aed2e7fff9b47"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a889891b3ae7cdefb881aed2e7fff9b47">◆ </a></span>IntelliToolPen()</h2>
|
||||
@@ -187,6 +193,15 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A constructor setting the general paintingArea and colorPicker. Reading the penWidth. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">Area</td><td>- The general <a class="el" href="class_painting_area.html">PaintingArea</a> used by the project. </td></tr>
|
||||
<tr><td class="paramname">colorPicker</td><td>- The general colorPicker used by the project. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_pen_8cpp_source.html#l00007">7</a> of file <a class="el" href="_intelli_tool_pen_8cpp_source.html">IntelliToolPen.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -214,6 +229,8 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A Destructor. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="_intelli_tool_pen_8cpp_source.html#l00012">12</a> of file <a class="el" href="_intelli_tool_pen_8cpp_source.html">IntelliToolPen.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
@@ -253,11 +270,11 @@ Additional Inherited Members</h2></td></tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! </p>
|
||||
<p>A function managing the left click pressed of a mouse. Starting the drawing procedure. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -307,11 +324,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the left click Released of a Mouse. Call this in child classes! </p>
|
||||
<p>A function managing the left click released of a mouse. Merging the drawing to the active layer. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -361,11 +378,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the mouse moved event. Call this in child classes! </p>
|
||||
<p>A function managing the mouse moved event. To draw the line. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new Mouse Position. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate of the new mouse position. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate of the new mouse position. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -415,11 +432,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! </p>
|
||||
<p>A function managing the right click pressed of a mouse.Resetting the current draw. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -469,11 +486,11 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! </p>
|
||||
<p>A function managing the right click released of a mouse. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the Active/Canvas Layer. </td></tr>
|
||||
<tr><td class="paramname">x</td><td>- The x coordinate relative to the active/canvas layer. </td></tr>
|
||||
<tr><td class="paramname">y</td><td>- The y coordinate relative to the active/canvas layer. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
@@ -513,7 +530,7 @@ Here is the call graph for this function:</div>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! </p>
|
||||
<p>A function managing the scroll event. Changing penWidth relativ to value. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">value</td><td>- The absolute the scroll has changed. </td></tr>
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolPen"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPen class represents a tool to draw a line."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
Node3 -> Node2 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label=" Area" ,fontname="Helvetica"];
|
||||
|
||||
@@ -3,7 +3,7 @@ digraph "IntelliToolPen"
|
||||
// LATEX_PDF_SIZE
|
||||
edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"];
|
||||
node [fontname="Helvetica",fontsize="10",shape=record];
|
||||
Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip=" "];
|
||||
Node1 [label="IntelliToolPen",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black",tooltip="The IntelliToolPen class represents a tool to draw a line."];
|
||||
Node2 -> Node1 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"];
|
||||
Node2 [label="IntelliTool",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$class_intelli_tool.html",tooltip="An abstract class that manages the basic events, like mouse clicks or scrolls events."];
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user