Nav apraksta

class_dialog.tex 8.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. \hypertarget{class_dialog}{}\section{Dialog Class Reference}
  2. \label{class_dialog}\index{Dialog@{Dialog}}
  3. Inheritance diagram for Dialog\+:\begin{figure}[H]
  4. \begin{center}
  5. \leavevmode
  6. \includegraphics[height=2.000000cm]{class_dialog}
  7. \end{center}
  8. \end{figure}
  9. \subsection*{Public Member Functions}
  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 The constructor sets the undo and redo to disable so it cant be pressed also sets the connections between the buttons and their respective signals. \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*{Private Slots}
  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 Sets the color of the brush. \end{DoxyCompactList}\item
  21. void \hyperlink{class_dialog_aadf1421d1559f8854f4e4637952f7a22}{on\+\_\+background\+Combo\+Box\+\_\+activated} (const Q\+String \&color)
  22. \begin{DoxyCompactList}\small\item\em Sets the color of the background. \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 Sets the tool to dot. \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 Clears the grid. Erase the grid. \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 Sets the tool to Row fill. \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 Sets the tool to Column fill. \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 Sets the tool to Diagonal Left fill. \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 Sets the tool to Diagonal Right fill. \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 Sets the tool to paint Squares. \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 Sets the tool to paint Triangles. \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 Sets the tool to paint Circles. \end{DoxyCompactList}\item
  41. void \hyperlink{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed} (int value)
  42. \begin{DoxyCompactList}\small\item\em Sets the tool point size. \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 Undo the previous grid modification. \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 Redo the previous grid modification. \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 Enables the undo button. \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 Enables the redo button. \end{DoxyCompactList}\end{DoxyCompactItemize}
  51. \subsection*{Private Attributes}
  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{Member Function Documentation}
  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. Sets the color of the background.
  67. \begin{DoxyParams}{Parameters}
  68. {\em color} & color del background \\
  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. Sets the color of the brush.
  79. \begin{DoxyParams}{Parameters}
  80. {\em color} & color of the brush \\
  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. Sets the tool point size.
  91. \begin{DoxyParams}{Parameters}
  92. {\em value} & point size \\
  93. \hline
  94. \end{DoxyParams}
  95. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  96. \item
  97. dialog.\+h\item
  98. dialog.\+cpp\end{DoxyCompactItemize}