\hypertarget{class_dialog}{}\section{Dialog Class Reference} \label{class_dialog}\index{Dialog@{Dialog}} Inheritance diagram for Dialog\+:\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2.000000cm]{class_dialog} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hypertarget{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8}{}\hyperlink{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8}{Dialog} (Q\+Widget $\ast$parent=0)\label{class_dialog_acfa2063f9f962d394c6a645b6e7e08d8} \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 \hypertarget{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb}{}\hyperlink{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb}{$\sim$\+Dialog} ()\label{class_dialog_a2a1fe6ef28513eed13bfcd3a4da83ccb} \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Slots} \begin{DoxyCompactItemize} \item void \hyperlink{class_dialog_a27837731f7f92dbdf183a88d69e5f058}{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated} (const Q\+String \&color) \begin{DoxyCompactList}\small\item\em Sets the color of the brush. \end{DoxyCompactList}\item void \hyperlink{class_dialog_aadf1421d1559f8854f4e4637952f7a22}{on\+\_\+background\+Combo\+Box\+\_\+activated} (const Q\+String \&color) \begin{DoxyCompactList}\small\item\em Sets the color of the background. \end{DoxyCompactList}\item \hypertarget{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846}{}void \hyperlink{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846}{on\+\_\+lapiz\+Button\+\_\+clicked} ()\label{class_dialog_a2c86f6c6c061a6ef60ef2e2de2073846} \begin{DoxyCompactList}\small\item\em Sets the tool to dot. \end{DoxyCompactList}\item \hypertarget{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d}{}void \hyperlink{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d}{on\+\_\+cleargrid\+Button\+\_\+clicked} ()\label{class_dialog_ac4e4be6ea6b85a7c446cf5cbe52ff24d} \begin{DoxyCompactList}\small\item\em Clears the grid. Erase the grid. \end{DoxyCompactList}\item \hypertarget{class_dialog_af71690dee26ef70a83799fd03aed83d9}{}void \hyperlink{class_dialog_af71690dee26ef70a83799fd03aed83d9}{on\+\_\+rowmajorfill\+Button\+\_\+clicked} ()\label{class_dialog_af71690dee26ef70a83799fd03aed83d9} \begin{DoxyCompactList}\small\item\em Sets the tool to Row fill. \end{DoxyCompactList}\item \hypertarget{class_dialog_a4b856dc1212f1f93217a912918fa17c2}{}void \hyperlink{class_dialog_a4b856dc1212f1f93217a912918fa17c2}{on\+\_\+colmajorfill\+Button\+\_\+clicked} ()\label{class_dialog_a4b856dc1212f1f93217a912918fa17c2} \begin{DoxyCompactList}\small\item\em Sets the tool to Column fill. \end{DoxyCompactList}\item \hypertarget{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743}{}void \hyperlink{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743}{on\+\_\+diagonalleft\+Button\+\_\+clicked} ()\label{class_dialog_a91fdfd22e9b620cb7053e6e6d1419743} \begin{DoxyCompactList}\small\item\em Sets the tool to Diagonal Left fill. \end{DoxyCompactList}\item \hypertarget{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd}{}void \hyperlink{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd}{on\+\_\+diagonalright\+Button\+\_\+clicked} ()\label{class_dialog_af00e19216a6b70db95ed17ed9bcbd6bd} \begin{DoxyCompactList}\small\item\em Sets the tool to Diagonal Right fill. \end{DoxyCompactList}\item \hypertarget{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9}{}void \hyperlink{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9}{on\+\_\+drawsquare\+Button\+\_\+clicked} ()\label{class_dialog_a7c01f33bd33dc3a12bc1bcd806b10af9} \begin{DoxyCompactList}\small\item\em Sets the tool to paint Squares. \end{DoxyCompactList}\item \hypertarget{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046}{}void \hyperlink{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046}{on\+\_\+drawtriangle\+Button\+\_\+clicked} ()\label{class_dialog_ad5dee98d3cbaf5f20e7a313eeb799046} \begin{DoxyCompactList}\small\item\em Sets the tool to paint Triangles. \end{DoxyCompactList}\item \hypertarget{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e}{}void \hyperlink{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e}{on\+\_\+drawcircle\+Button\+\_\+clicked} ()\label{class_dialog_a1c4e497f4dc5bf7aabcf71a6abe6097e} \begin{DoxyCompactList}\small\item\em Sets the tool to paint Circles. \end{DoxyCompactList}\item void \hyperlink{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed} (int value) \begin{DoxyCompactList}\small\item\em Sets the tool point size. \end{DoxyCompactList}\item \hypertarget{class_dialog_ac1de62e0b8c7d6880b83697b148dad18}{}void \hyperlink{class_dialog_ac1de62e0b8c7d6880b83697b148dad18}{on\+\_\+undo\+Button\+\_\+clicked} ()\label{class_dialog_ac1de62e0b8c7d6880b83697b148dad18} \begin{DoxyCompactList}\small\item\em Undo the previous grid modification. \end{DoxyCompactList}\item \hypertarget{class_dialog_a165b1efc87f92641d05612761864509a}{}void \hyperlink{class_dialog_a165b1efc87f92641d05612761864509a}{on\+\_\+redo\+Button\+\_\+clicked} ()\label{class_dialog_a165b1efc87f92641d05612761864509a} \begin{DoxyCompactList}\small\item\em Redo the previous grid modification. \end{DoxyCompactList}\item \hypertarget{class_dialog_abab21e66c8b496296fccb401d20c229d}{}void \hyperlink{class_dialog_abab21e66c8b496296fccb401d20c229d}{set\+Undo} (bool cannot)\label{class_dialog_abab21e66c8b496296fccb401d20c229d} \begin{DoxyCompactList}\small\item\em Enables the undo button. \end{DoxyCompactList}\item \hypertarget{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f}{}void \hyperlink{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f}{set\+Redo} (bool cannot)\label{class_dialog_a7515d0b8d86ba9a798d0aa5e1ea83a2f} \begin{DoxyCompactList}\small\item\em Enables the redo button. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Attributes} \begin{DoxyCompactItemize} \item \hypertarget{class_dialog_aaa4b5bfb9a0f64900d524f14bc32e6df}{}Ui\+::\+Dialog $\ast$ {\bfseries ui}\label{class_dialog_aaa4b5bfb9a0f64900d524f14bc32e6df} \item \hypertarget{class_dialog_a328e3408db61aed0c90aaa1f4cb00327}{}\hyperlink{class_grid_widget}{Grid\+Widget} $\ast$ {\bfseries grid}\label{class_dialog_a328e3408db61aed0c90aaa1f4cb00327} \end{DoxyCompactItemize} \subsection{Member Function Documentation} \hypertarget{class_dialog_aadf1421d1559f8854f4e4637952f7a22}{}\index{Dialog@{Dialog}!on\+\_\+background\+Combo\+Box\+\_\+activated@{on\+\_\+background\+Combo\+Box\+\_\+activated}} \index{on\+\_\+background\+Combo\+Box\+\_\+activated@{on\+\_\+background\+Combo\+Box\+\_\+activated}!Dialog@{Dialog}} \subsubsection[{on\+\_\+background\+Combo\+Box\+\_\+activated}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+background\+Combo\+Box\+\_\+activated ( \begin{DoxyParamCaption} \item[{const Q\+String \&}]{color} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_aadf1421d1559f8854f4e4637952f7a22} Sets the color of the background. \begin{DoxyParams}{Parameters} {\em color} & color del background \\ \hline \end{DoxyParams} \hypertarget{class_dialog_a27837731f7f92dbdf183a88d69e5f058}{}\index{Dialog@{Dialog}!on\+\_\+frontcolor\+Combo\+Box\+\_\+activated@{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}} \index{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated@{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}!Dialog@{Dialog}} \subsubsection[{on\+\_\+frontcolor\+Combo\+Box\+\_\+activated}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+frontcolor\+Combo\+Box\+\_\+activated ( \begin{DoxyParamCaption} \item[{const Q\+String \&}]{color} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_a27837731f7f92dbdf183a88d69e5f058} Sets the color of the brush. \begin{DoxyParams}{Parameters} {\em color} & color of the brush \\ \hline \end{DoxyParams} \hypertarget{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75}{}\index{Dialog@{Dialog}!on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed@{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}} \index{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed@{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}!Dialog@{Dialog}} \subsubsection[{on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed}]{\setlength{\rightskip}{0pt plus 5cm}void Dialog\+::on\+\_\+speed\+Horizontal\+Slider\+\_\+value\+Changed ( \begin{DoxyParamCaption} \item[{int}]{value} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_dialog_a1d3a61ccc093ec58c70a7e2596b06d75} Sets the tool point size. \begin{DoxyParams}{Parameters} {\em value} & point size \\ \hline \end{DoxyParams} The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item dialog.\+h\item dialog.\+cpp\end{DoxyCompactItemize}