No Description

class_dialog.tex 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. \hypertarget{class_dialog}{}\section{Referencia de la Clase Dialog}
  2. \label{class_dialog}\index{Dialog@{Dialog}}
  3. Diagrama de herencias de Dialog\begin{figure}[H]
  4. \begin{center}
  5. \leavevmode
  6. \includegraphics[height=2.000000cm]{class_dialog}
  7. \end{center}
  8. \end{figure}
  9. \subsection*{Métodos públicos}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. \hypertarget{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8}{}\hyperlink{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8}{Dialog} (Q\+Widget $\ast$parent=0)\label{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8}
  13. \begin{DoxyCompactList}\small\item\em El constructor ajusta el boton de deshacer (undo) y rehacer (redo) para que no puedan ser apretados, tambien ajusta las conecciones entre los botones y sus senales. \end{DoxyCompactList}\item
  14. \hypertarget{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb}{}\hyperlink{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb}{$\sim$\+Dialog} ()\label{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb}
  15. \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize}
  16. \subsection*{Slots privados}
  17. \begin{DoxyCompactItemize}
  18. \item
  19. void \hyperlink{class_dialog_a27837731f7f92dbdf183a88d69e5f058}{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated} (const Q\+String \&color)
  20. \begin{DoxyCompactList}\small\item\em Ajusta el color de la brocha. \end{DoxyCompactList}\item
  21. void \hyperlink{class_dialog_aadf1421d1559f8854f4e4637952f7a22}{on\+\_\+background\+Combo\+Box\+\_\+activated} (const Q\+String \&color)
  22. \begin{DoxyCompactList}\small\item\em Ajusta el color del fondo. \end{DoxyCompactList}\item
  23. \hypertarget{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846}{}void \hyperlink{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846}{on\+\_\+lapiz\+Button\+\_\+clicked} ()\label{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846}
  24. \begin{DoxyCompactList}\small\item\em Ajusta la herramienta a usar la punta. \end{DoxyCompactList}\item
  25. \hypertarget{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d}{}void \hyperlink{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d}{on\+\_\+cleargrid\+Button\+\_\+clicked} ()\label{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d}
  26. \begin{DoxyCompactList}\small\item\em Limpia la cuadricula Borra la cuadricula. \end{DoxyCompactList}\item
  27. \hypertarget{class_dialog_af71690dee26ef70a83799fd03aed83d9}{}void \hyperlink{class_dialog_af71690dee26ef70a83799fd03aed83d9}{on\+\_\+rowmajorfill\+Button\+\_\+clicked} ()\label{class_dialog_af71690dee26ef70a83799fd03aed83d9}
  28. \begin{DoxyCompactList}\small\item\em Ajusta la herramienta a llenar fila. \end{DoxyCompactList}\item
  29. \hypertarget{class_dialog_a4b856dc1212f1f93217a912918fa17c2}{}void \hyperlink{class_dialog_a4b856dc1212f1f93217a912918fa17c2}{on\+\_\+colmajorfill\+Button\+\_\+clicked} ()\label{class_dialog_a4b856dc1212f1f93217a912918fa17c2}
  30. \begin{DoxyCompactList}\small\item\em Ajusta la herramienta a llenar columna. \end{DoxyCompactList}\item
  31. \hypertarget{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743}{}void \hyperlink{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743}{on\+\_\+diagonalleft\+Button\+\_\+clicked} ()\label{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743}
  32. \begin{DoxyCompactList}\small\item\em Ajusta la herrramienta a llenar en diagonal a la izquierda. \end{DoxyCompactList}\item
  33. \hypertarget{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd}{}void \hyperlink{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd}{on\+\_\+diagonalright\+Button\+\_\+clicked} ()\label{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd}
  34. \begin{DoxyCompactList}\small\item\em Ajusta la herrramienta a llenar en diagonal a la derecha. \end{DoxyCompactList}\item
  35. \hypertarget{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9}{}void \hyperlink{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9}{on\+\_\+drawsquare\+Button\+\_\+clicked} ()\label{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9}
  36. \begin{DoxyCompactList}\small\item\em Ajusta la herramiento a pintar cuadrados. \end{DoxyCompactList}\item
  37. \hypertarget{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046}{}void \hyperlink{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046}{on\+\_\+drawtriangle\+Button\+\_\+clicked} ()\label{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046}
  38. \begin{DoxyCompactList}\small\item\em Ajusta la herramiento a pintar triangulos. \end{DoxyCompactList}\item
  39. \hypertarget{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e}{}void \hyperlink{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e}{on\+\_\+drawcircle\+Button\+\_\+clicked} ()\label{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e}
  40. \begin{DoxyCompactList}\small\item\em Ajusta la herramiento a pintar circulos. \end{DoxyCompactList}\item
  41. void \hyperlink{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed} (int value)
  42. \begin{DoxyCompactList}\small\item\em Ajusta el tamano de la punta de la herramienta. \end{DoxyCompactList}\item
  43. \hypertarget{class_dialog_ac1de62e0b8c7d6880b83697b148dad18}{}void \hyperlink{class_dialog_ac1de62e0b8c7d6880b83697b148dad18}{on\+\_\+undo\+Button\+\_\+clicked} ()\label{class_dialog_ac1de62e0b8c7d6880b83697b148dad18}
  44. \begin{DoxyCompactList}\small\item\em Deshace la modificacion previa de la cuadricula. \end{DoxyCompactList}\item
  45. \hypertarget{class_dialog_a165b1efc87f92641d05612761864509a}{}void \hyperlink{class_dialog_a165b1efc87f92641d05612761864509a}{on\+\_\+redo\+Button\+\_\+clicked} ()\label{class_dialog_a165b1efc87f92641d05612761864509a}
  46. \begin{DoxyCompactList}\small\item\em Rehace la modificacion previa de la cuadricula. \end{DoxyCompactList}\item
  47. \hypertarget{class_dialog_abab21e66c8b496296fccb401d20c229d}{}void \hyperlink{class_dialog_abab21e66c8b496296fccb401d20c229d}{set\+Undo} (bool cannot)\label{class_dialog_abab21e66c8b496296fccb401d20c229d}
  48. \begin{DoxyCompactList}\small\item\em Permite utilizar el boton de deshacer (undo) \end{DoxyCompactList}\item
  49. \hypertarget{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f}{}void \hyperlink{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f}{set\+Redo} (bool cannot)\label{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f}
  50. \begin{DoxyCompactList}\small\item\em Permite utilizar el boton de (rehacer) \end{DoxyCompactList}\end{DoxyCompactItemize}
  51. \subsection*{Atributos privados}
  52. \begin{DoxyCompactItemize}
  53. \item
  54. \hypertarget{class_dialog_aaa4b5bfb9a0f64900d524f14bc32e6df}{}Ui\+::\+Dialog $\ast$ {\bfseries ui}\label{class_dialog_aaa4b5bfb9a0f64900d524f14bc32e6df}
  55. \item
  56. \hypertarget{class_dialog_a328e3408db61aed0c90aaa1f4cb00327}{}\hyperlink{class_grid_widget}{Grid\+Widget} $\ast$ {\bfseries grid}\label{class_dialog_a328e3408db61aed0c90aaa1f4cb00327}
  57. \end{DoxyCompactItemize}
  58. \subsection{Documentación de las funciones miembro}
  59. \hypertarget{class_dialog_aadf1421d1559f8854f4e4637952f7a22}{}\index{Dialog@{Dialog}!on\+\_\+background\+Combo\+Box\+\_\+activated@{on\+\_\+background\+Combo\+Box\+\_\+activated}}
  60. \index{on\+\_\+background\+Combo\+Box\+\_\+activated@{on\+\_\+background\+Combo\+Box\+\_\+activated}!Dialog@{Dialog}}
  61. \subsubsection[{on\+\_\+background\+Combo\+Box\+\_\+activated}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+background\+Combo\+Box\+\_\+activated (
  62. \begin{DoxyParamCaption}
  63. \item[{const Q\+String \&}]{color}
  64. \end{DoxyParamCaption}
  65. )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_aadf1421d1559f8854f4e4637952f7a22}
  66. Ajusta el color del fondo.
  67. \begin{DoxyParams}{Parámetros}
  68. {\em color} & color del fondo \\
  69. \hline
  70. \end{DoxyParams}
  71. \hypertarget{class_dialog_a27837731f7f92dbdf183a88d69e5f058}{}\index{Dialog@{Dialog}!on\+\_\+frontcolor\+Combo\+Box\+\_\+activated@{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}}
  72. \index{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated@{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}!Dialog@{Dialog}}
  73. \subsubsection[{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+frontcolor\+Combo\+Box\+\_\+activated (
  74. \begin{DoxyParamCaption}
  75. \item[{const Q\+String \&}]{color}
  76. \end{DoxyParamCaption}
  77. )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_a27837731f7f92dbdf183a88d69e5f058}
  78. Ajusta el color de la brocha.
  79. \begin{DoxyParams}{Parámetros}
  80. {\em color} & color de la brocha \\
  81. \hline
  82. \end{DoxyParams}
  83. \hypertarget{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}{}\index{Dialog@{Dialog}!on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed@{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}}
  84. \index{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed@{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}!Dialog@{Dialog}}
  85. \subsubsection[{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed (
  86. \begin{DoxyParamCaption}
  87. \item[{int}]{value}
  88. \end{DoxyParamCaption}
  89. )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}
  90. Ajusta el tamano de la punta de la herramienta.
  91. \begin{DoxyParams}{Parámetros}
  92. {\em value} & tamano de la punta \\
  93. \hline
  94. \end{DoxyParams}
  95. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  96. \item
  97. dialog.\+h\item
  98. dialog.\+cpp\end{DoxyCompactItemize}