No Description

class_grid_widget.html 61KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: Referencia de la Clase GridWidget</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generado por Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Página&#160;principal</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
  42. <li><a href="files.html"><span>Archivos</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Buscar" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
  64. <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
  65. <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
  66. <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#signals">Señales</a> &#124;
  85. <a href="#pub-methods">Métodos públicos</a> &#124;
  86. <a href="#pro-methods">Métodos protegidos</a> &#124;
  87. <a href="#pri-attribs">Atributos privados</a> &#124;
  88. <a href="class_grid_widget-members.html">Lista de todos los miembros</a> </div>
  89. <div class="headertitle">
  90. <div class="title">Referencia de la Clase GridWidget</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p><code>#include &lt;<a class="el" href="grid_8h_source.html">grid.h</a>&gt;</code></p>
  94. <div class="dynheader">
  95. Diagrama de herencias de GridWidget</div>
  96. <div class="dyncontent">
  97. <div class="center">
  98. <img src="class_grid_widget.png" usemap="#GridWidget_map" alt=""/>
  99. <map id="GridWidget_map" name="GridWidget_map">
  100. </map>
  101. </div></div>
  102. <table class="memberdecls">
  103. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  104. Señales</h2></td></tr>
  105. <tr class="memitem:a03fb9de07df9c6d1e10050160ef0bce5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a03fb9de07df9c6d1e10050160ef0bce5"></a>
  106. void&#160;</td><td class="memItemRight" valign="bottom"><b>cellClicked</b> (QPoint pos)</td></tr>
  107. <tr class="separator:a03fb9de07df9c6d1e10050160ef0bce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a4fe89ce12f526ca7b48dda9a97398807"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4fe89ce12f526ca7b48dda9a97398807"></a>
  109. void&#160;</td><td class="memItemRight" valign="bottom"><b>canUndo</b> (bool can)</td></tr>
  110. <tr class="separator:a4fe89ce12f526ca7b48dda9a97398807"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a476721515464b1217486a1a3e6f573fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a476721515464b1217486a1a3e6f573fc"></a>
  112. void&#160;</td><td class="memItemRight" valign="bottom"><b>canRedo</b> (bool can)</td></tr>
  113. <tr class="separator:a476721515464b1217486a1a3e6f573fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table><table class="memberdecls">
  115. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  116. Métodos públicos</h2></td></tr>
  117. <tr class="memitem:ad3370c8905e4f03b666d1be221f4c412"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad3370c8905e4f03b666d1be221f4c412"></a>
  118. &#160;</td><td class="memItemRight" valign="bottom"><b>GridWidget</b> (int rowCount=100, int columnCount=100, QWidget *parent=0)</td></tr>
  119. <tr class="separator:ad3370c8905e4f03b666d1be221f4c412"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a8d85ee082bf0dd38eb581697844f825d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d85ee082bf0dd38eb581697844f825d"></a>
  121. &#160;</td><td class="memItemRight" valign="bottom"><b>GridWidget</b> (QWidget *parent)</td></tr>
  122. <tr class="separator:a8d85ee082bf0dd38eb581697844f825d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a87a46b6a3e5522e851732093b757baae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a87a46b6a3e5522e851732093b757baae">setGridSize</a> (int rowCount, int columnCount)</td></tr>
  124. <tr class="memdesc:a87a46b6a3e5522e851732093b757baae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el numero de columnas y fileas de la cuadricula. <a href="#a87a46b6a3e5522e851732093b757baae">Más...</a><br /></td></tr>
  125. <tr class="separator:a87a46b6a3e5522e851732093b757baae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ace3447d5fc329c47b55395a52a9eaf13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#ace3447d5fc329c47b55395a52a9eaf13">switchOn</a> (int x, int y, const QColor &amp;color)</td></tr>
  127. <tr class="memdesc:ace3447d5fc329c47b55395a52a9eaf13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Guarda el color y la posicion dados en el vector que representa las celdas pintadas en la cuadricula. <a href="#ace3447d5fc329c47b55395a52a9eaf13">Más...</a><br /></td></tr>
  128. <tr class="separator:ace3447d5fc329c47b55395a52a9eaf13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a50a2a9b2490de84dba08be23130fd9d4"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a50a2a9b2490de84dba08be23130fd9d4">getCellColor</a> (int x, int y)</td></tr>
  130. <tr class="memdesc:a50a2a9b2490de84dba08be23130fd9d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve el color de la celda en la posicion (x,y) <a href="#a50a2a9b2490de84dba08be23130fd9d4">Más...</a><br /></td></tr>
  131. <tr class="separator:a50a2a9b2490de84dba08be23130fd9d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:aca84a4a79a25f1adebaeb69f32022882"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#aca84a4a79a25f1adebaeb69f32022882">switchOff</a> (int x, int y)</td></tr>
  133. <tr class="memdesc:aca84a4a79a25f1adebaeb69f32022882"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remueve la posicion dada del vector que representa las celdas pintadas en la cuadricula. <a href="#aca84a4a79a25f1adebaeb69f32022882">Más...</a><br /></td></tr>
  134. <tr class="separator:aca84a4a79a25f1adebaeb69f32022882"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a1b92c3f484ea93338f3c0b8348a334f9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a1b92c3f484ea93338f3c0b8348a334f9">getGridColumns</a> ()</td></tr>
  136. <tr class="memdesc:a1b92c3f484ea93338f3c0b8348a334f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve el numero de columnas en la cuadricula. <a href="#a1b92c3f484ea93338f3c0b8348a334f9">Más...</a><br /></td></tr>
  137. <tr class="separator:a1b92c3f484ea93338f3c0b8348a334f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:afa1e34f8dbae400cf200fdeb2398f138"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#afa1e34f8dbae400cf200fdeb2398f138">getGridRows</a> ()</td></tr>
  139. <tr class="memdesc:afa1e34f8dbae400cf200fdeb2398f138"><td class="mdescLeft">&#160;</td><td class="mdescRight">Devuelve el numero de filas en la cuadricula. <a href="#afa1e34f8dbae400cf200fdeb2398f138">Más...</a><br /></td></tr>
  140. <tr class="separator:afa1e34f8dbae400cf200fdeb2398f138"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a7979db95cc3533858a17946b8a70abe3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7979db95cc3533858a17946b8a70abe3"></a>
  142. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a7979db95cc3533858a17946b8a70abe3">clear</a> ()</td></tr>
  143. <tr class="memdesc:a7979db95cc3533858a17946b8a70abe3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Limpa la cuadricula y la pone en su estado inicial. <br /></td></tr>
  144. <tr class="separator:a7979db95cc3533858a17946b8a70abe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a8a128f08a3471f751442dfe1306250f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a8a128f08a3471f751442dfe1306250f4">setCellSize</a> (int size)</td></tr>
  146. <tr class="memdesc:a8a128f08a3471f751442dfe1306250f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el tamano de las celdas de la cuadricula. <a href="#a8a128f08a3471f751442dfe1306250f4">Más...</a><br /></td></tr>
  147. <tr class="separator:a8a128f08a3471f751442dfe1306250f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a242812c406b269657eb6092af4a0ae7e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a242812c406b269657eb6092af4a0ae7e"></a>
  149. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a242812c406b269657eb6092af4a0ae7e">setTool</a> (QString tool)</td></tr>
  150. <tr class="memdesc:a242812c406b269657eb6092af4a0ae7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta la herramienta. <br /></td></tr>
  151. <tr class="separator:a242812c406b269657eb6092af4a0ae7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:abe71249d6d54e84698dcb831c9df4c17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#abe71249d6d54e84698dcb831c9df4c17">setFront</a> (QString front)</td></tr>
  153. <tr class="memdesc:abe71249d6d54e84698dcb831c9df4c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el color de la brocha. <a href="#abe71249d6d54e84698dcb831c9df4c17">Más...</a><br /></td></tr>
  154. <tr class="separator:abe71249d6d54e84698dcb831c9df4c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a64cd0418127923278bd7dd3ddd3bd459"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a64cd0418127923278bd7dd3ddd3bd459">setBack</a> (QString back)</td></tr>
  156. <tr class="memdesc:a64cd0418127923278bd7dd3ddd3bd459"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el color del fondo. <a href="#a64cd0418127923278bd7dd3ddd3bd459">Más...</a><br /></td></tr>
  157. <tr class="separator:a64cd0418127923278bd7dd3ddd3bd459"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:aca5c4e4edab002da08a7d76b7acf8ce7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#aca5c4e4edab002da08a7d76b7acf8ce7">setToolSize</a> (int size)</td></tr>
  159. <tr class="memdesc:aca5c4e4edab002da08a7d76b7acf8ce7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ajusta el tamano de la herramienta. <a href="#aca5c4e4edab002da08a7d76b7acf8ce7">Más...</a><br /></td></tr>
  160. <tr class="separator:aca5c4e4edab002da08a7d76b7acf8ce7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:ac4b7dcf1fd4f6f3f00f6c83837af762d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#ac4b7dcf1fd4f6f3f00f6c83837af762d">identifyTool</a> (QString tool, int x, int y)</td></tr>
  162. <tr class="memdesc:ac4b7dcf1fd4f6f3f00f6c83837af762d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Esta funcion es llamada en cada evento de el mouse presionado dentro de la cuadricula. Identifica la forma en que el grid va a ser pintado llamando la funcion del tool recibido en los parametros (dot, rowfill, column fill, diagonal, square, triangles and circles). <a href="#ac4b7dcf1fd4f6f3f00f6c83837af762d">Más...</a><br /></td></tr>
  163. <tr class="separator:ac4b7dcf1fd4f6f3f00f6c83837af762d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a9eae49724fc8eb51dacb29cf0f1d0f7f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a9eae49724fc8eb51dacb29cf0f1d0f7f">Dot</a> (int x, int y, QColor colorSelected)</td></tr>
  165. <tr class="memdesc:a9eae49724fc8eb51dacb29cf0f1d0f7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta la celda con el color del tool. <a href="#a9eae49724fc8eb51dacb29cf0f1d0f7f">Más...</a><br /></td></tr>
  166. <tr class="separator:a9eae49724fc8eb51dacb29cf0f1d0f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a85f85cefe91f2c4e9c79566b5e65d5df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a85f85cefe91f2c4e9c79566b5e65d5df">RowMajorFill</a> (int x, int y, QColor colorClicked, QColor toolColor)</td></tr>
  168. <tr class="memdesc:a85f85cefe91f2c4e9c79566b5e65d5df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto hacia la izq o derecha) la fila mas larga del mismo color de la celda que fue marcada con el color de la herramienta. <a href="#a85f85cefe91f2c4e9c79566b5e65d5df">Más...</a><br /></td></tr>
  169. <tr class="separator:a85f85cefe91f2c4e9c79566b5e65d5df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a1850e0f0dde766350c7cff9668424633"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a1850e0f0dde766350c7cff9668424633">ColMajorFill</a> (int x, int y, QColor colorClicked, QColor toolColor)</td></tr>
  171. <tr class="memdesc:a1850e0f0dde766350c7cff9668424633"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto hacia la arriba o abajo) la columna mas larga del mismo color de la celda que fue marcada con el color de la herramienta. <a href="#a1850e0f0dde766350c7cff9668424633">Más...</a><br /></td></tr>
  172. <tr class="separator:a1850e0f0dde766350c7cff9668424633"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:a2de94a6b9cda8d27be4598ebd2b80ef1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a2de94a6b9cda8d27be4598ebd2b80ef1">DiagonalLeft</a> (int x, int y, QColor colorClicked, QColor toolColor)</td></tr>
  174. <tr class="memdesc:a2de94a6b9cda8d27be4598ebd2b80ef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto diagonal) la diagonal izquierda mas larga del mismo color de la celda que fue marcada con el color de la herramienta. <a href="#a2de94a6b9cda8d27be4598ebd2b80ef1">Más...</a><br /></td></tr>
  175. <tr class="separator:a2de94a6b9cda8d27be4598ebd2b80ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a8ff474d6ac0e76685839e4107c85c10b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a8ff474d6ac0e76685839e4107c85c10b">DiagonalRight</a> (int x, int y, QColor colorClicked, QColor toolColor)</td></tr>
  177. <tr class="memdesc:a8ff474d6ac0e76685839e4107c85c10b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto diagonal) la diagonal derecha mas larga del mismo color de la celda que fue marcada con el color de la herramienta. <a href="#a8ff474d6ac0e76685839e4107c85c10b">Más...</a><br /></td></tr>
  178. <tr class="separator:a8ff474d6ac0e76685839e4107c85c10b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a3d25401530305223417a0a0313e7105b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a3d25401530305223417a0a0313e7105b">square</a> (int x, int y, QColor toolColor, int toolSize)</td></tr>
  180. <tr class="memdesc:a3d25401530305223417a0a0313e7105b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un cuadrado de el tamano y color de la herramienta. <a href="#a3d25401530305223417a0a0313e7105b">Más...</a><br /></td></tr>
  181. <tr class="separator:a3d25401530305223417a0a0313e7105b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:abee64aeb022f670f15870500e9127cda"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#abee64aeb022f670f15870500e9127cda">triangle</a> (int x, int y, QColor toolColor, int toolSize)</td></tr>
  183. <tr class="memdesc:abee64aeb022f670f15870500e9127cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un triangulo de el tamano y color de la herramienta. <a href="#abee64aeb022f670f15870500e9127cda">Más...</a><br /></td></tr>
  184. <tr class="separator:abee64aeb022f670f15870500e9127cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:a4de59f7c6dba342ff0406137ca87bf8d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a4de59f7c6dba342ff0406137ca87bf8d">circle</a> (int x, int y, QColor toolColor, int toolSize)</td></tr>
  186. <tr class="memdesc:a4de59f7c6dba342ff0406137ca87bf8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un circulo de el tamano y color de la herramienta. <a href="#a4de59f7c6dba342ff0406137ca87bf8d">Más...</a><br /></td></tr>
  187. <tr class="separator:a4de59f7c6dba342ff0406137ca87bf8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a6426b82953f555dc84ede652cd44ee13"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6426b82953f555dc84ede652cd44ee13"></a>
  189. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a6426b82953f555dc84ede652cd44ee13">undo</a> ()</td></tr>
  190. <tr class="memdesc:a6426b82953f555dc84ede652cd44ee13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cuando el boton es apretado el estado acutual es empujado en el vector(newStates) de redo y el ultimo estado en el vector(oldStates) undo es pintado en la cuadricula. <br /></td></tr>
  191. <tr class="separator:a6426b82953f555dc84ede652cd44ee13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a0a8b52721ac642d4f7261896ef2fff74"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a0a8b52721ac642d4f7261896ef2fff74">redo</a> ()</td></tr>
  193. <tr class="separator:a0a8b52721ac642d4f7261896ef2fff74"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. </table><table class="memberdecls">
  195. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  196. Métodos protegidos</h2></td></tr>
  197. <tr class="memitem:a2b49b1ee6683c99f4a497f7ad89e8097"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a2b49b1ee6683c99f4a497f7ad89e8097">drawGrid</a> (QPaintDevice *device)</td></tr>
  198. <tr class="memdesc:a2b49b1ee6683c99f4a497f7ad89e8097"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funcion que primero ajusta el tamano del widget de la cuadricula, luego pinta las celdas con el color seleccionado en el background y finalmente pinta las lineas para formar el grid. <a href="#a2b49b1ee6683c99f4a497f7ad89e8097">Más...</a><br /></td></tr>
  199. <tr class="separator:a2b49b1ee6683c99f4a497f7ad89e8097"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:a727fa338640fe7e856519f4ed0078b33"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a727fa338640fe7e856519f4ed0078b33">paintEvent</a> (QPaintEvent *)</td></tr>
  201. <tr class="memdesc:a727fa338640fe7e856519f4ed0078b33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Esta funcion es invocada automaticmente cada ves que el widget o el padre recibe una senal de repintar. <a href="#a727fa338640fe7e856519f4ed0078b33">Más...</a><br /></td></tr>
  202. <tr class="separator:a727fa338640fe7e856519f4ed0078b33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:adbd85c9494fa35df467d912e2eb41742"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adbd85c9494fa35df467d912e2eb41742"></a>
  204. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#adbd85c9494fa35df467d912e2eb41742">mousePressEvent</a> (QMouseEvent *)</td></tr>
  205. <tr class="memdesc:adbd85c9494fa35df467d912e2eb41742"><td class="mdescLeft">&#160;</td><td class="mdescRight">Cuando el raton (mouse) is marcada en una celda de la cuadricula obtiene las coordenadas x, y del raton y los usa para pintar la herramienta en ese lugar. <br /></td></tr>
  206. <tr class="separator:adbd85c9494fa35df467d912e2eb41742"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. </table><table class="memberdecls">
  208. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  209. Atributos privados</h2></td></tr>
  210. <tr class="memitem:a2913542510201e3e0c7fffe81abf0253"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a2913542510201e3e0c7fffe81abf0253">mCellSize</a></td></tr>
  211. <tr class="separator:a2913542510201e3e0c7fffe81abf0253"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:a3d818ef6eb5868e53e26e1fd48f19057"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a3d818ef6eb5868e53e26e1fd48f19057">mRowCount</a></td></tr>
  213. <tr class="separator:a3d818ef6eb5868e53e26e1fd48f19057"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:ab530d1fa7b44c05afe4e70c2e410e579"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#ab530d1fa7b44c05afe4e70c2e410e579">mColumnCount</a></td></tr>
  215. <tr class="separator:ab530d1fa7b44c05afe4e70c2e410e579"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:a1b67bb85e389d27e03ef34e4f0b90750"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a1b67bb85e389d27e03ef34e4f0b90750">mGridPix</a></td></tr>
  217. <tr class="separator:a1b67bb85e389d27e03ef34e4f0b90750"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a65644f377d72a22e4925ad21fc9ccbf5"><td class="memItemLeft" align="right" valign="top">QHash&lt; int, QColor &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a65644f377d72a22e4925ad21fc9ccbf5">mColors</a></td></tr>
  219. <tr class="separator:a65644f377d72a22e4925ad21fc9ccbf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:a53e89b667667aed308430da93a25b7a1"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a53e89b667667aed308430da93a25b7a1">Tool</a></td></tr>
  221. <tr class="separator:a53e89b667667aed308430da93a25b7a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:a48b162752c6e7853b2ce3c6cb8db5661"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a48b162752c6e7853b2ce3c6cb8db5661">ToolSize</a></td></tr>
  223. <tr class="separator:a48b162752c6e7853b2ce3c6cb8db5661"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:a857bb9b33ae7f241a568f884f4e6f5bf"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a857bb9b33ae7f241a568f884f4e6f5bf">frontColor</a></td></tr>
  225. <tr class="separator:a857bb9b33ae7f241a568f884f4e6f5bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:aa36b97142702844f4888a9bbee37b670"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#aa36b97142702844f4888a9bbee37b670">backColor</a></td></tr>
  227. <tr class="separator:aa36b97142702844f4888a9bbee37b670"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:a6afb043b34520019af1acb14fb4682d4"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a6afb043b34520019af1acb14fb4682d4">background</a></td></tr>
  229. <tr class="separator:a6afb043b34520019af1acb14fb4682d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:aa41b383c851c5ef1c11871507aa1f28d"><td class="memItemLeft" align="right" valign="top">QVector&lt; QHash&lt; int, QColor &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#aa41b383c851c5ef1c11871507aa1f28d">oldStates</a></td></tr>
  231. <tr class="separator:aa41b383c851c5ef1c11871507aa1f28d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:a8c84952dfa2f11876ab8f1346667c565"><td class="memItemLeft" align="right" valign="top">QVector&lt; QHash&lt; int, QColor &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_grid_widget.html#a8c84952dfa2f11876ab8f1346667c565">newStates</a></td></tr>
  233. <tr class="separator:a8c84952dfa2f11876ab8f1346667c565"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. </table>
  235. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  236. <div class="textblock"><p><a class="el" href="class_grid_widget.html">GridWidget</a>: Shows a GridView without scrolling. If you want to have Scroll option, use GridView instead. <a class="el" href="class_grid_widget.html">GridWidget</a> also supports mouse selection, sends the signal cellClicked with the associated grid coordinates. </p>
  237. </div><h2 class="groupheader">Documentación de las funciones miembro</h2>
  238. <a class="anchor" id="a4de59f7c6dba342ff0406137ca87bf8d"></a>
  239. <div class="memitem">
  240. <div class="memproto">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">void GridWidget::circle </td>
  244. <td>(</td>
  245. <td class="paramtype">int&#160;</td>
  246. <td class="paramname"><em>x</em>, </td>
  247. </tr>
  248. <tr>
  249. <td class="paramkey"></td>
  250. <td></td>
  251. <td class="paramtype">int&#160;</td>
  252. <td class="paramname"><em>y</em>, </td>
  253. </tr>
  254. <tr>
  255. <td class="paramkey"></td>
  256. <td></td>
  257. <td class="paramtype">QColor&#160;</td>
  258. <td class="paramname"><em>toolColor</em>, </td>
  259. </tr>
  260. <tr>
  261. <td class="paramkey"></td>
  262. <td></td>
  263. <td class="paramtype">int&#160;</td>
  264. <td class="paramname"><em>toolSize</em>&#160;</td>
  265. </tr>
  266. <tr>
  267. <td></td>
  268. <td>)</td>
  269. <td></td><td></td>
  270. </tr>
  271. </table>
  272. </div><div class="memdoc">
  273. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un circulo de el tamano y color de la herramienta. </p>
  274. <dl class="params"><dt>Parámetros</dt><dd>
  275. <table class="params">
  276. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  277. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  278. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  279. <tr><td class="paramname">toolSize</td><td>tamano de la herramienta a ser pintada </td></tr>
  280. </table>
  281. </dd>
  282. </dl>
  283. </div>
  284. </div>
  285. <a class="anchor" id="a1850e0f0dde766350c7cff9668424633"></a>
  286. <div class="memitem">
  287. <div class="memproto">
  288. <table class="memname">
  289. <tr>
  290. <td class="memname">void GridWidget::ColMajorFill </td>
  291. <td>(</td>
  292. <td class="paramtype">int&#160;</td>
  293. <td class="paramname"><em>x</em>, </td>
  294. </tr>
  295. <tr>
  296. <td class="paramkey"></td>
  297. <td></td>
  298. <td class="paramtype">int&#160;</td>
  299. <td class="paramname"><em>y</em>, </td>
  300. </tr>
  301. <tr>
  302. <td class="paramkey"></td>
  303. <td></td>
  304. <td class="paramtype">QColor&#160;</td>
  305. <td class="paramname"><em>colorClicked</em>, </td>
  306. </tr>
  307. <tr>
  308. <td class="paramkey"></td>
  309. <td></td>
  310. <td class="paramtype">QColor&#160;</td>
  311. <td class="paramname"><em>toolColor</em>&#160;</td>
  312. </tr>
  313. <tr>
  314. <td></td>
  315. <td>)</td>
  316. <td></td><td></td>
  317. </tr>
  318. </table>
  319. </div><div class="memdoc">
  320. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto hacia la arriba o abajo) la columna mas larga del mismo color de la celda que fue marcada con el color de la herramienta. </p>
  321. <dl class="params"><dt>Parámetros</dt><dd>
  322. <table class="params">
  323. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  324. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  325. <tr><td class="paramname">colorClicked</td><td>el color de la celda marcada </td></tr>
  326. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  327. </table>
  328. </dd>
  329. </dl>
  330. </div>
  331. </div>
  332. <a class="anchor" id="a2de94a6b9cda8d27be4598ebd2b80ef1"></a>
  333. <div class="memitem">
  334. <div class="memproto">
  335. <table class="memname">
  336. <tr>
  337. <td class="memname">void GridWidget::DiagonalLeft </td>
  338. <td>(</td>
  339. <td class="paramtype">int&#160;</td>
  340. <td class="paramname"><em>x</em>, </td>
  341. </tr>
  342. <tr>
  343. <td class="paramkey"></td>
  344. <td></td>
  345. <td class="paramtype">int&#160;</td>
  346. <td class="paramname"><em>y</em>, </td>
  347. </tr>
  348. <tr>
  349. <td class="paramkey"></td>
  350. <td></td>
  351. <td class="paramtype">QColor&#160;</td>
  352. <td class="paramname"><em>colorClicked</em>, </td>
  353. </tr>
  354. <tr>
  355. <td class="paramkey"></td>
  356. <td></td>
  357. <td class="paramtype">QColor&#160;</td>
  358. <td class="paramname"><em>toolColor</em>&#160;</td>
  359. </tr>
  360. <tr>
  361. <td></td>
  362. <td>)</td>
  363. <td></td><td></td>
  364. </tr>
  365. </table>
  366. </div><div class="memdoc">
  367. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto diagonal) la diagonal izquierda mas larga del mismo color de la celda que fue marcada con el color de la herramienta. </p>
  368. <dl class="params"><dt>Parámetros</dt><dd>
  369. <table class="params">
  370. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  371. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  372. <tr><td class="paramname">colorClicked</td><td>el color de la celda marcada </td></tr>
  373. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  374. </table>
  375. </dd>
  376. </dl>
  377. </div>
  378. </div>
  379. <a class="anchor" id="a8ff474d6ac0e76685839e4107c85c10b"></a>
  380. <div class="memitem">
  381. <div class="memproto">
  382. <table class="memname">
  383. <tr>
  384. <td class="memname">void GridWidget::DiagonalRight </td>
  385. <td>(</td>
  386. <td class="paramtype">int&#160;</td>
  387. <td class="paramname"><em>x</em>, </td>
  388. </tr>
  389. <tr>
  390. <td class="paramkey"></td>
  391. <td></td>
  392. <td class="paramtype">int&#160;</td>
  393. <td class="paramname"><em>y</em>, </td>
  394. </tr>
  395. <tr>
  396. <td class="paramkey"></td>
  397. <td></td>
  398. <td class="paramtype">QColor&#160;</td>
  399. <td class="paramname"><em>colorClicked</em>, </td>
  400. </tr>
  401. <tr>
  402. <td class="paramkey"></td>
  403. <td></td>
  404. <td class="paramtype">QColor&#160;</td>
  405. <td class="paramname"><em>toolColor</em>&#160;</td>
  406. </tr>
  407. <tr>
  408. <td></td>
  409. <td>)</td>
  410. <td></td><td></td>
  411. </tr>
  412. </table>
  413. </div><div class="memdoc">
  414. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto diagonal) la diagonal derecha mas larga del mismo color de la celda que fue marcada con el color de la herramienta. </p>
  415. <dl class="params"><dt>Parámetros</dt><dd>
  416. <table class="params">
  417. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  418. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  419. <tr><td class="paramname">colorClicked</td><td>el color de la celda marcada </td></tr>
  420. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  421. </table>
  422. </dd>
  423. </dl>
  424. </div>
  425. </div>
  426. <a class="anchor" id="a9eae49724fc8eb51dacb29cf0f1d0f7f"></a>
  427. <div class="memitem">
  428. <div class="memproto">
  429. <table class="memname">
  430. <tr>
  431. <td class="memname">void GridWidget::Dot </td>
  432. <td>(</td>
  433. <td class="paramtype">int&#160;</td>
  434. <td class="paramname"><em>x</em>, </td>
  435. </tr>
  436. <tr>
  437. <td class="paramkey"></td>
  438. <td></td>
  439. <td class="paramtype">int&#160;</td>
  440. <td class="paramname"><em>y</em>, </td>
  441. </tr>
  442. <tr>
  443. <td class="paramkey"></td>
  444. <td></td>
  445. <td class="paramtype">QColor&#160;</td>
  446. <td class="paramname"><em>toolColor</em>&#160;</td>
  447. </tr>
  448. <tr>
  449. <td></td>
  450. <td>)</td>
  451. <td></td><td></td>
  452. </tr>
  453. </table>
  454. </div><div class="memdoc">
  455. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta la celda con el color del tool. </p>
  456. <dl class="params"><dt>Parámetros</dt><dd>
  457. <table class="params">
  458. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  459. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  460. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  461. </table>
  462. </dd>
  463. </dl>
  464. </div>
  465. </div>
  466. <a class="anchor" id="a2b49b1ee6683c99f4a497f7ad89e8097"></a>
  467. <div class="memitem">
  468. <div class="memproto">
  469. <table class="mlabels">
  470. <tr>
  471. <td class="mlabels-left">
  472. <table class="memname">
  473. <tr>
  474. <td class="memname">void GridWidget::drawGrid </td>
  475. <td>(</td>
  476. <td class="paramtype">QPaintDevice *&#160;</td>
  477. <td class="paramname"><em>device</em></td><td>)</td>
  478. <td></td>
  479. </tr>
  480. </table>
  481. </td>
  482. <td class="mlabels-right">
  483. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  484. </tr>
  485. </table>
  486. </div><div class="memdoc">
  487. <p>Funcion que primero ajusta el tamano del widget de la cuadricula, luego pinta las celdas con el color seleccionado en el background y finalmente pinta las lineas para formar el grid. </p>
  488. <dl class="params"><dt>Parámetros</dt><dd>
  489. <table class="params">
  490. <tr><td class="paramname">device</td><td>el panel para pintar la cuadricula </td></tr>
  491. </table>
  492. </dd>
  493. </dl>
  494. </div>
  495. </div>
  496. <a class="anchor" id="a50a2a9b2490de84dba08be23130fd9d4"></a>
  497. <div class="memitem">
  498. <div class="memproto">
  499. <table class="memname">
  500. <tr>
  501. <td class="memname">QColor GridWidget::getCellColor </td>
  502. <td>(</td>
  503. <td class="paramtype">int&#160;</td>
  504. <td class="paramname"><em>x</em>, </td>
  505. </tr>
  506. <tr>
  507. <td class="paramkey"></td>
  508. <td></td>
  509. <td class="paramtype">int&#160;</td>
  510. <td class="paramname"><em>y</em>&#160;</td>
  511. </tr>
  512. <tr>
  513. <td></td>
  514. <td>)</td>
  515. <td></td><td></td>
  516. </tr>
  517. </table>
  518. </div><div class="memdoc">
  519. <p>Devuelve el color de la celda en la posicion (x,y) </p>
  520. <dl class="params"><dt>Parámetros</dt><dd>
  521. <table class="params">
  522. <tr><td class="paramname">x</td><td>coordenada x de la celda en el cuadricula </td></tr>
  523. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  524. </table>
  525. </dd>
  526. </dl>
  527. <dl class="section return"><dt>Devuelve</dt><dd>el color de la celda </dd></dl>
  528. </div>
  529. </div>
  530. <a class="anchor" id="a1b92c3f484ea93338f3c0b8348a334f9"></a>
  531. <div class="memitem">
  532. <div class="memproto">
  533. <table class="memname">
  534. <tr>
  535. <td class="memname">int GridWidget::getGridColumns </td>
  536. <td>(</td>
  537. <td class="paramname"></td><td>)</td>
  538. <td></td>
  539. </tr>
  540. </table>
  541. </div><div class="memdoc">
  542. <p>Devuelve el numero de columnas en la cuadricula. </p>
  543. <dl class="section return"><dt>Devuelve</dt><dd>el numero de columnas en la cuadricula </dd></dl>
  544. </div>
  545. </div>
  546. <a class="anchor" id="afa1e34f8dbae400cf200fdeb2398f138"></a>
  547. <div class="memitem">
  548. <div class="memproto">
  549. <table class="memname">
  550. <tr>
  551. <td class="memname">int GridWidget::getGridRows </td>
  552. <td>(</td>
  553. <td class="paramname"></td><td>)</td>
  554. <td></td>
  555. </tr>
  556. </table>
  557. </div><div class="memdoc">
  558. <p>Devuelve el numero de filas en la cuadricula. </p>
  559. <dl class="section return"><dt>Devuelve</dt><dd>el numero de filas en la cuadricula </dd></dl>
  560. </div>
  561. </div>
  562. <a class="anchor" id="ac4b7dcf1fd4f6f3f00f6c83837af762d"></a>
  563. <div class="memitem">
  564. <div class="memproto">
  565. <table class="memname">
  566. <tr>
  567. <td class="memname">void GridWidget::identifyTool </td>
  568. <td>(</td>
  569. <td class="paramtype">QString&#160;</td>
  570. <td class="paramname"><em>tool</em>, </td>
  571. </tr>
  572. <tr>
  573. <td class="paramkey"></td>
  574. <td></td>
  575. <td class="paramtype">int&#160;</td>
  576. <td class="paramname"><em>x</em>, </td>
  577. </tr>
  578. <tr>
  579. <td class="paramkey"></td>
  580. <td></td>
  581. <td class="paramtype">int&#160;</td>
  582. <td class="paramname"><em>y</em>&#160;</td>
  583. </tr>
  584. <tr>
  585. <td></td>
  586. <td>)</td>
  587. <td></td><td></td>
  588. </tr>
  589. </table>
  590. </div><div class="memdoc">
  591. <p>Esta funcion es llamada en cada evento de el mouse presionado dentro de la cuadricula. Identifica la forma en que el grid va a ser pintado llamando la funcion del tool recibido en los parametros (dot, rowfill, column fill, diagonal, square, triangles and circles). </p>
  592. <dl class="params"><dt>Parámetros</dt><dd>
  593. <table class="params">
  594. <tr><td class="paramname">tool</td><td>la herramienta a llamar por la funcion </td></tr>
  595. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  596. <tr><td class="paramname">y</td><td>coordenada y de la celde en la cuadricula </td></tr>
  597. </table>
  598. </dd>
  599. </dl>
  600. </div>
  601. </div>
  602. <a class="anchor" id="a727fa338640fe7e856519f4ed0078b33"></a>
  603. <div class="memitem">
  604. <div class="memproto">
  605. <table class="mlabels">
  606. <tr>
  607. <td class="mlabels-left">
  608. <table class="memname">
  609. <tr>
  610. <td class="memname">void GridWidget::paintEvent </td>
  611. <td>(</td>
  612. <td class="paramtype">QPaintEvent *&#160;</td>
  613. <td class="paramname"><em>event</em></td><td>)</td>
  614. <td></td>
  615. </tr>
  616. </table>
  617. </td>
  618. <td class="mlabels-right">
  619. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  620. </tr>
  621. </table>
  622. </div><div class="memdoc">
  623. <p>Esta funcion es invocada automaticmente cada ves que el widget o el padre recibe una senal de repintar. </p>
  624. <dl class="params"><dt>Parámetros</dt><dd>
  625. <table class="params">
  626. <tr><td class="paramname">event</td><td>referencia a un evento recibido </td></tr>
  627. </table>
  628. </dd>
  629. </dl>
  630. </div>
  631. </div>
  632. <a class="anchor" id="a0a8b52721ac642d4f7261896ef2fff74"></a>
  633. <div class="memitem">
  634. <div class="memproto">
  635. <table class="memname">
  636. <tr>
  637. <td class="memname">void GridWidget::redo </td>
  638. <td>(</td>
  639. <td class="paramname"></td><td>)</td>
  640. <td></td>
  641. </tr>
  642. </table>
  643. </div><div class="memdoc">
  644. <p>Cuando el boton redo es marcado el estado actual es empujado en el vector(oldStates) undo y el ultimo estado en el vector redo(newStates) es pintaod en el grid. </p>
  645. </div>
  646. </div>
  647. <a class="anchor" id="a85f85cefe91f2c4e9c79566b5e65d5df"></a>
  648. <div class="memitem">
  649. <div class="memproto">
  650. <table class="memname">
  651. <tr>
  652. <td class="memname">void GridWidget::RowMajorFill </td>
  653. <td>(</td>
  654. <td class="paramtype">int&#160;</td>
  655. <td class="paramname"><em>x</em>, </td>
  656. </tr>
  657. <tr>
  658. <td class="paramkey"></td>
  659. <td></td>
  660. <td class="paramtype">int&#160;</td>
  661. <td class="paramname"><em>y</em>, </td>
  662. </tr>
  663. <tr>
  664. <td class="paramkey"></td>
  665. <td></td>
  666. <td class="paramtype">QColor&#160;</td>
  667. <td class="paramname"><em>colorClicked</em>, </td>
  668. </tr>
  669. <tr>
  670. <td class="paramkey"></td>
  671. <td></td>
  672. <td class="paramtype">QColor&#160;</td>
  673. <td class="paramname"><em>toolColor</em>&#160;</td>
  674. </tr>
  675. <tr>
  676. <td></td>
  677. <td>)</td>
  678. <td></td><td></td>
  679. </tr>
  680. </table>
  681. </div><div class="memdoc">
  682. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta (desde ese punto hacia la izq o derecha) la fila mas larga del mismo color de la celda que fue marcada con el color de la herramienta. </p>
  683. <dl class="params"><dt>Parámetros</dt><dd>
  684. <table class="params">
  685. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  686. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  687. <tr><td class="paramname">colorClicked</td><td>el color de la celda marcada </td></tr>
  688. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  689. </table>
  690. </dd>
  691. </dl>
  692. </div>
  693. </div>
  694. <a class="anchor" id="a64cd0418127923278bd7dd3ddd3bd459"></a>
  695. <div class="memitem">
  696. <div class="memproto">
  697. <table class="memname">
  698. <tr>
  699. <td class="memname">void GridWidget::setBack </td>
  700. <td>(</td>
  701. <td class="paramtype">QString&#160;</td>
  702. <td class="paramname"><em>back</em></td><td>)</td>
  703. <td></td>
  704. </tr>
  705. </table>
  706. </div><div class="memdoc">
  707. <p>Ajusta el color del fondo. </p>
  708. <dl class="params"><dt>Parámetros</dt><dd>
  709. <table class="params">
  710. <tr><td class="paramname">back</td><td>color para el fondo </td></tr>
  711. </table>
  712. </dd>
  713. </dl>
  714. </div>
  715. </div>
  716. <a class="anchor" id="a8a128f08a3471f751442dfe1306250f4"></a>
  717. <div class="memitem">
  718. <div class="memproto">
  719. <table class="memname">
  720. <tr>
  721. <td class="memname">void GridWidget::setCellSize </td>
  722. <td>(</td>
  723. <td class="paramtype">int&#160;</td>
  724. <td class="paramname"><em>size</em></td><td>)</td>
  725. <td></td>
  726. </tr>
  727. </table>
  728. </div><div class="memdoc">
  729. <p>Ajusta el tamano de las celdas de la cuadricula. </p>
  730. <dl class="params"><dt>Parámetros</dt><dd>
  731. <table class="params">
  732. <tr><td class="paramname">size</td><td>tamano de la celda </td></tr>
  733. </table>
  734. </dd>
  735. </dl>
  736. </div>
  737. </div>
  738. <a class="anchor" id="abe71249d6d54e84698dcb831c9df4c17"></a>
  739. <div class="memitem">
  740. <div class="memproto">
  741. <table class="memname">
  742. <tr>
  743. <td class="memname">void GridWidget::setFront </td>
  744. <td>(</td>
  745. <td class="paramtype">QString&#160;</td>
  746. <td class="paramname"><em>front</em></td><td>)</td>
  747. <td></td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <p>Ajusta el color de la brocha. </p>
  752. <dl class="params"><dt>Parámetros</dt><dd>
  753. <table class="params">
  754. <tr><td class="paramname">front</td><td>color de la brocha </td></tr>
  755. </table>
  756. </dd>
  757. </dl>
  758. </div>
  759. </div>
  760. <a class="anchor" id="a87a46b6a3e5522e851732093b757baae"></a>
  761. <div class="memitem">
  762. <div class="memproto">
  763. <table class="memname">
  764. <tr>
  765. <td class="memname">void GridWidget::setGridSize </td>
  766. <td>(</td>
  767. <td class="paramtype">int&#160;</td>
  768. <td class="paramname"><em>rowCount</em>, </td>
  769. </tr>
  770. <tr>
  771. <td class="paramkey"></td>
  772. <td></td>
  773. <td class="paramtype">int&#160;</td>
  774. <td class="paramname"><em>columnCount</em>&#160;</td>
  775. </tr>
  776. <tr>
  777. <td></td>
  778. <td>)</td>
  779. <td></td><td></td>
  780. </tr>
  781. </table>
  782. </div><div class="memdoc">
  783. <p>Ajusta el numero de columnas y fileas de la cuadricula. </p>
  784. <dl class="params"><dt>Parámetros</dt><dd>
  785. <table class="params">
  786. <tr><td class="paramname">rowCount</td><td>numero de filas </td></tr>
  787. <tr><td class="paramname">columnCount</td><td>numero de columnas </td></tr>
  788. </table>
  789. </dd>
  790. </dl>
  791. </div>
  792. </div>
  793. <a class="anchor" id="aca5c4e4edab002da08a7d76b7acf8ce7"></a>
  794. <div class="memitem">
  795. <div class="memproto">
  796. <table class="memname">
  797. <tr>
  798. <td class="memname">void GridWidget::setToolSize </td>
  799. <td>(</td>
  800. <td class="paramtype">int&#160;</td>
  801. <td class="paramname"><em>size</em></td><td>)</td>
  802. <td></td>
  803. </tr>
  804. </table>
  805. </div><div class="memdoc">
  806. <p>Ajusta el tamano de la herramienta. </p>
  807. <dl class="params"><dt>Parámetros</dt><dd>
  808. <table class="params">
  809. <tr><td class="paramname">size</td><td>tamano de la herramienta </td></tr>
  810. </table>
  811. </dd>
  812. </dl>
  813. </div>
  814. </div>
  815. <a class="anchor" id="a3d25401530305223417a0a0313e7105b"></a>
  816. <div class="memitem">
  817. <div class="memproto">
  818. <table class="memname">
  819. <tr>
  820. <td class="memname">void GridWidget::square </td>
  821. <td>(</td>
  822. <td class="paramtype">int&#160;</td>
  823. <td class="paramname"><em>x</em>, </td>
  824. </tr>
  825. <tr>
  826. <td class="paramkey"></td>
  827. <td></td>
  828. <td class="paramtype">int&#160;</td>
  829. <td class="paramname"><em>y</em>, </td>
  830. </tr>
  831. <tr>
  832. <td class="paramkey"></td>
  833. <td></td>
  834. <td class="paramtype">QColor&#160;</td>
  835. <td class="paramname"><em>toolColor</em>, </td>
  836. </tr>
  837. <tr>
  838. <td class="paramkey"></td>
  839. <td></td>
  840. <td class="paramtype">int&#160;</td>
  841. <td class="paramname"><em>toolSize</em>&#160;</td>
  842. </tr>
  843. <tr>
  844. <td></td>
  845. <td>)</td>
  846. <td></td><td></td>
  847. </tr>
  848. </table>
  849. </div><div class="memdoc">
  850. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un cuadrado de el tamano y color de la herramienta. </p>
  851. <dl class="params"><dt>Parámetros</dt><dd>
  852. <table class="params">
  853. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  854. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  855. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  856. <tr><td class="paramname">toolSize</td><td>tamano de la herramienta a ser pintada </td></tr>
  857. </table>
  858. </dd>
  859. </dl>
  860. </div>
  861. </div>
  862. <a class="anchor" id="aca84a4a79a25f1adebaeb69f32022882"></a>
  863. <div class="memitem">
  864. <div class="memproto">
  865. <table class="memname">
  866. <tr>
  867. <td class="memname">void GridWidget::switchOff </td>
  868. <td>(</td>
  869. <td class="paramtype">int&#160;</td>
  870. <td class="paramname"><em>x</em>, </td>
  871. </tr>
  872. <tr>
  873. <td class="paramkey"></td>
  874. <td></td>
  875. <td class="paramtype">int&#160;</td>
  876. <td class="paramname"><em>y</em>&#160;</td>
  877. </tr>
  878. <tr>
  879. <td></td>
  880. <td>)</td>
  881. <td></td><td></td>
  882. </tr>
  883. </table>
  884. </div><div class="memdoc">
  885. <p>Remueve la posicion dada del vector que representa las celdas pintadas en la cuadricula. </p>
  886. <dl class="params"><dt>Parámetros</dt><dd>
  887. <table class="params">
  888. <tr><td class="paramname">x</td><td>coordenada x de la celda en el cuadricula </td></tr>
  889. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  890. </table>
  891. </dd>
  892. </dl>
  893. </div>
  894. </div>
  895. <a class="anchor" id="ace3447d5fc329c47b55395a52a9eaf13"></a>
  896. <div class="memitem">
  897. <div class="memproto">
  898. <table class="memname">
  899. <tr>
  900. <td class="memname">void GridWidget::switchOn </td>
  901. <td>(</td>
  902. <td class="paramtype">int&#160;</td>
  903. <td class="paramname"><em>x</em>, </td>
  904. </tr>
  905. <tr>
  906. <td class="paramkey"></td>
  907. <td></td>
  908. <td class="paramtype">int&#160;</td>
  909. <td class="paramname"><em>y</em>, </td>
  910. </tr>
  911. <tr>
  912. <td class="paramkey"></td>
  913. <td></td>
  914. <td class="paramtype">const QColor &amp;&#160;</td>
  915. <td class="paramname"><em>color</em>&#160;</td>
  916. </tr>
  917. <tr>
  918. <td></td>
  919. <td>)</td>
  920. <td></td><td></td>
  921. </tr>
  922. </table>
  923. </div><div class="memdoc">
  924. <p>Guarda el color y la posicion dados en el vector que representa las celdas pintadas en la cuadricula. </p>
  925. <dl class="params"><dt>Parámetros</dt><dd>
  926. <table class="params">
  927. <tr><td class="paramname">x</td><td>coordenada x de la celda en el cuadricula </td></tr>
  928. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  929. <tr><td class="paramname">color</td><td>color to paint cell </td></tr>
  930. </table>
  931. </dd>
  932. </dl>
  933. </div>
  934. </div>
  935. <a class="anchor" id="abee64aeb022f670f15870500e9127cda"></a>
  936. <div class="memitem">
  937. <div class="memproto">
  938. <table class="memname">
  939. <tr>
  940. <td class="memname">void GridWidget::triangle </td>
  941. <td>(</td>
  942. <td class="paramtype">int&#160;</td>
  943. <td class="paramname"><em>x</em>, </td>
  944. </tr>
  945. <tr>
  946. <td class="paramkey"></td>
  947. <td></td>
  948. <td class="paramtype">int&#160;</td>
  949. <td class="paramname"><em>y</em>, </td>
  950. </tr>
  951. <tr>
  952. <td class="paramkey"></td>
  953. <td></td>
  954. <td class="paramtype">QColor&#160;</td>
  955. <td class="paramname"><em>toolColor</em>, </td>
  956. </tr>
  957. <tr>
  958. <td class="paramkey"></td>
  959. <td></td>
  960. <td class="paramtype">int&#160;</td>
  961. <td class="paramname"><em>toolSize</em>&#160;</td>
  962. </tr>
  963. <tr>
  964. <td></td>
  965. <td>)</td>
  966. <td></td><td></td>
  967. </tr>
  968. </table>
  969. </div><div class="memdoc">
  970. <p>Recibe las coordenadas de la cuadricula donde el usuario marco y pinta un triangulo de el tamano y color de la herramienta. </p>
  971. <dl class="params"><dt>Parámetros</dt><dd>
  972. <table class="params">
  973. <tr><td class="paramname">x</td><td>coordenada x de la celda en la cuadricula </td></tr>
  974. <tr><td class="paramname">y</td><td>coordenada y de la celda en la cuadricula </td></tr>
  975. <tr><td class="paramname">toolColor</td><td>color de las celdas pintadas por el tool </td></tr>
  976. <tr><td class="paramname">toolSize</td><td>tamano de la herramienta a ser pintada </td></tr>
  977. </table>
  978. </dd>
  979. </dl>
  980. </div>
  981. </div>
  982. <h2 class="groupheader">Documentación de los datos miembro</h2>
  983. <a class="anchor" id="aa36b97142702844f4888a9bbee37b670"></a>
  984. <div class="memitem">
  985. <div class="memproto">
  986. <table class="mlabels">
  987. <tr>
  988. <td class="mlabels-left">
  989. <table class="memname">
  990. <tr>
  991. <td class="memname">QColor GridWidget::backColor</td>
  992. </tr>
  993. </table>
  994. </td>
  995. <td class="mlabels-right">
  996. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  997. </tr>
  998. </table>
  999. </div><div class="memdoc">
  1000. <p>background color of the cell / color del fondo de la celda </p>
  1001. </div>
  1002. </div>
  1003. <a class="anchor" id="a6afb043b34520019af1acb14fb4682d4"></a>
  1004. <div class="memitem">
  1005. <div class="memproto">
  1006. <table class="mlabels">
  1007. <tr>
  1008. <td class="mlabels-left">
  1009. <table class="memname">
  1010. <tr>
  1011. <td class="memname">QColor GridWidget::background</td>
  1012. </tr>
  1013. </table>
  1014. </td>
  1015. <td class="mlabels-right">
  1016. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1017. </tr>
  1018. </table>
  1019. </div><div class="memdoc">
  1020. <p>cell size / tamano del la celda </p>
  1021. </div>
  1022. </div>
  1023. <a class="anchor" id="a857bb9b33ae7f241a568f884f4e6f5bf"></a>
  1024. <div class="memitem">
  1025. <div class="memproto">
  1026. <table class="mlabels">
  1027. <tr>
  1028. <td class="mlabels-left">
  1029. <table class="memname">
  1030. <tr>
  1031. <td class="memname">QColor GridWidget::frontColor</td>
  1032. </tr>
  1033. </table>
  1034. </td>
  1035. <td class="mlabels-right">
  1036. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1037. </tr>
  1038. </table>
  1039. </div><div class="memdoc">
  1040. <p>color of the front cell / color de la celda de frente </p>
  1041. </div>
  1042. </div>
  1043. <a class="anchor" id="a2913542510201e3e0c7fffe81abf0253"></a>
  1044. <div class="memitem">
  1045. <div class="memproto">
  1046. <table class="mlabels">
  1047. <tr>
  1048. <td class="mlabels-left">
  1049. <table class="memname">
  1050. <tr>
  1051. <td class="memname">int GridWidget::mCellSize</td>
  1052. </tr>
  1053. </table>
  1054. </td>
  1055. <td class="mlabels-right">
  1056. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1057. </tr>
  1058. </table>
  1059. </div><div class="memdoc">
  1060. <p>cell size / tamano del la celda </p>
  1061. </div>
  1062. </div>
  1063. <a class="anchor" id="a65644f377d72a22e4925ad21fc9ccbf5"></a>
  1064. <div class="memitem">
  1065. <div class="memproto">
  1066. <table class="mlabels">
  1067. <tr>
  1068. <td class="mlabels-left">
  1069. <table class="memname">
  1070. <tr>
  1071. <td class="memname">QHash&lt;int, QColor &gt; GridWidget::mColors</td>
  1072. </tr>
  1073. </table>
  1074. </td>
  1075. <td class="mlabels-right">
  1076. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1077. </tr>
  1078. </table>
  1079. </div><div class="memdoc">
  1080. <p>Hash of colors with the painted cells and their colors / Hash de colores con las celdas pintadas y sus colores </p>
  1081. </div>
  1082. </div>
  1083. <a class="anchor" id="ab530d1fa7b44c05afe4e70c2e410e579"></a>
  1084. <div class="memitem">
  1085. <div class="memproto">
  1086. <table class="mlabels">
  1087. <tr>
  1088. <td class="mlabels-left">
  1089. <table class="memname">
  1090. <tr>
  1091. <td class="memname">int GridWidget::mColumnCount</td>
  1092. </tr>
  1093. </table>
  1094. </td>
  1095. <td class="mlabels-right">
  1096. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1097. </tr>
  1098. </table>
  1099. </div><div class="memdoc">
  1100. <p>column number / numero de columnas </p>
  1101. </div>
  1102. </div>
  1103. <a class="anchor" id="a1b67bb85e389d27e03ef34e4f0b90750"></a>
  1104. <div class="memitem">
  1105. <div class="memproto">
  1106. <table class="mlabels">
  1107. <tr>
  1108. <td class="mlabels-left">
  1109. <table class="memname">
  1110. <tr>
  1111. <td class="memname">QPixmap GridWidget::mGridPix</td>
  1112. </tr>
  1113. </table>
  1114. </td>
  1115. <td class="mlabels-right">
  1116. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1117. </tr>
  1118. </table>
  1119. </div><div class="memdoc">
  1120. <p>to paint the grid / para pintar la cuadricula </p>
  1121. </div>
  1122. </div>
  1123. <a class="anchor" id="a3d818ef6eb5868e53e26e1fd48f19057"></a>
  1124. <div class="memitem">
  1125. <div class="memproto">
  1126. <table class="mlabels">
  1127. <tr>
  1128. <td class="mlabels-left">
  1129. <table class="memname">
  1130. <tr>
  1131. <td class="memname">int GridWidget::mRowCount</td>
  1132. </tr>
  1133. </table>
  1134. </td>
  1135. <td class="mlabels-right">
  1136. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1137. </tr>
  1138. </table>
  1139. </div><div class="memdoc">
  1140. <p>row number / numero de filas </p>
  1141. </div>
  1142. </div>
  1143. <a class="anchor" id="a8c84952dfa2f11876ab8f1346667c565"></a>
  1144. <div class="memitem">
  1145. <div class="memproto">
  1146. <table class="mlabels">
  1147. <tr>
  1148. <td class="mlabels-left">
  1149. <table class="memname">
  1150. <tr>
  1151. <td class="memname">QVector&lt; QHash&lt;int, QColor &gt; &gt; GridWidget::newStates</td>
  1152. </tr>
  1153. </table>
  1154. </td>
  1155. <td class="mlabels-right">
  1156. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1157. </tr>
  1158. </table>
  1159. </div><div class="memdoc">
  1160. <p>vector to implement undo/redo </p>
  1161. </div>
  1162. </div>
  1163. <a class="anchor" id="aa41b383c851c5ef1c11871507aa1f28d"></a>
  1164. <div class="memitem">
  1165. <div class="memproto">
  1166. <table class="mlabels">
  1167. <tr>
  1168. <td class="mlabels-left">
  1169. <table class="memname">
  1170. <tr>
  1171. <td class="memname">QVector&lt; QHash&lt;int, QColor &gt; &gt; GridWidget::oldStates</td>
  1172. </tr>
  1173. </table>
  1174. </td>
  1175. <td class="mlabels-right">
  1176. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1177. </tr>
  1178. </table>
  1179. </div><div class="memdoc">
  1180. <p>vetor to implement undo/redo </p>
  1181. </div>
  1182. </div>
  1183. <a class="anchor" id="a53e89b667667aed308430da93a25b7a1"></a>
  1184. <div class="memitem">
  1185. <div class="memproto">
  1186. <table class="mlabels">
  1187. <tr>
  1188. <td class="mlabels-left">
  1189. <table class="memname">
  1190. <tr>
  1191. <td class="memname">QString GridWidget::Tool</td>
  1192. </tr>
  1193. </table>
  1194. </td>
  1195. <td class="mlabels-right">
  1196. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1197. </tr>
  1198. </table>
  1199. </div><div class="memdoc">
  1200. <p>name of the tool selected / nombre de la herramienta seleccionada </p>
  1201. </div>
  1202. </div>
  1203. <a class="anchor" id="a48b162752c6e7853b2ce3c6cb8db5661"></a>
  1204. <div class="memitem">
  1205. <div class="memproto">
  1206. <table class="mlabels">
  1207. <tr>
  1208. <td class="mlabels-left">
  1209. <table class="memname">
  1210. <tr>
  1211. <td class="memname">int GridWidget::ToolSize</td>
  1212. </tr>
  1213. </table>
  1214. </td>
  1215. <td class="mlabels-right">
  1216. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  1217. </tr>
  1218. </table>
  1219. </div><div class="memdoc">
  1220. <p>tool size / tamano del a herramienta </p>
  1221. </div>
  1222. </div>
  1223. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  1224. <li><a class="el" href="grid_8h_source.html">grid.h</a></li>
  1225. <li>grid.cpp</li>
  1226. <li>tools.cpp</li>
  1227. </ul>
  1228. </div><!-- contents -->
  1229. <!-- start footer part -->
  1230. <hr class="footer"/><address class="footer"><small>
  1231. Generado el Jueves, 18 de Junio de 2015 16:01:05 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  1232. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1233. </a> 1.8.9.1
  1234. </small></address>
  1235. </body>
  1236. </html>