\hypertarget{class_main_window}{}\section{Main\+Window Class Reference} \label{class_main_window}\index{Main\+Window@{Main\+Window}} Inheritance diagram for Main\+Window\+:\begin{figure}[H] \begin{center} \leavevmode \includegraphics[height=2.000000cm]{class_main_window} \end{center} \end{figure} \subsection*{Public Slots} \begin{DoxyCompactItemize} \item void \hyperlink{class_main_window_a429d5f7a014bccafa259dcd926531159}{handle\+Results} (unsigned long index) \begin{DoxyCompactList}\small\item\em A signal was received from the sniffer that a packet of the form Ethernet -\/$>$ I\+P -\/$>$ (T\+C\+P$\vert$\+U\+D\+P) has to be displayed in the G\+U\+I. Also checks if the packet is an http image request to display. \end{DoxyCompactList}\item void \hyperlink{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{slot\+\_\+netw\+Manager\+Finished} (Q\+Network\+Reply $\ast$reply) \begin{DoxyCompactList}\small\item\em This slot is called when an image is successfuly retreived. The image is then added to the G\+U\+I display. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{}\hyperlink{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db}{Main\+Window} (Q\+Widget $\ast$parent=0)\label{class_main_window_a8b244be8b7b7db1b08de2a2acb9409db} \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item \hypertarget{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{}\hyperlink{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7}{$\sim$\+Main\+Window} ()\label{class_main_window_ae98d00a93bc118200eeef9f9bba1dba7} \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Slots} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{}void \hyperlink{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf}{on\+\_\+capture\+\_\+clicked} ()\label{class_main_window_a0311b384ff557cebb7f64fc36ba5f6cf} \begin{DoxyCompactList}\small\item\em Signal that starts or pause the capture of the packets in the sniffer. \end{DoxyCompactList}\item void \hyperlink{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{on\+\_\+packet\+Display\+\_\+item\+Clicked} (Q\+Table\+Widget\+Item $\ast$item) \begin{DoxyCompactList}\small\item\em When a line of the packets captured is selected from the G\+U\+I a summary of the payload in ascii is presented in the summary box. \end{DoxyCompactList}\item \hypertarget{class_main_window_abdb4cd970167670c0dcbea4a45071892}{}void \hyperlink{class_main_window_abdb4cd970167670c0dcbea4a45071892}{on\+\_\+reset\+Button\+\_\+clicked} ()\label{class_main_window_abdb4cd970167670c0dcbea4a45071892} \begin{DoxyCompactList}\small\item\em Empties the packets vector, resets the G\+U\+I packet table and summary. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Private Attributes} \begin{DoxyCompactItemize} \item \hypertarget{class_main_window_a35466a70ed47252a0191168126a352a5}{}Ui\+::\+Main\+Window $\ast$ {\bfseries ui}\label{class_main_window_a35466a70ed47252a0191168126a352a5} \item \hyperlink{class_sniffer}{Sniffer} $\ast$ \hyperlink{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{sniff} \item Q\+Thread \hyperlink{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{sniff\+\_\+thread} \item Q\+Wait\+Condition \hyperlink{class_main_window_a2a035505d0e0d67620a0959430d25b28}{wait\+\_\+pause} \item int \hyperlink{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{pause} \item Q\+Mutex \hyperlink{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{mutex} \item Q\+String\+List \hyperlink{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{image\+List} \item Q\+Network\+Access\+Manager $\ast$ \hyperlink{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{net\+Manager} \end{DoxyCompactItemize} \subsection{Member Function Documentation} \hypertarget{class_main_window_a429d5f7a014bccafa259dcd926531159}{}\index{Main\+Window@{Main\+Window}!handle\+Results@{handle\+Results}} \index{handle\+Results@{handle\+Results}!Main\+Window@{Main\+Window}} \subsubsection[{handle\+Results}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::handle\+Results ( \begin{DoxyParamCaption} \item[{unsigned long}]{index} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a429d5f7a014bccafa259dcd926531159} A signal was received from the sniffer that a packet of the form Ethernet -\/$>$ I\+P -\/$>$ (T\+C\+P$\vert$\+U\+D\+P) has to be displayed in the G\+U\+I. Also checks if the packet is an http image request to display. \begin{DoxyParams}{Parameters} {\em index} & number of the packet in the table \\ \hline \end{DoxyParams} \hypertarget{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17}{}\index{Main\+Window@{Main\+Window}!on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}} \index{on\+\_\+packet\+Display\+\_\+item\+Clicked@{on\+\_\+packet\+Display\+\_\+item\+Clicked}!Main\+Window@{Main\+Window}} \subsubsection[{on\+\_\+packet\+Display\+\_\+item\+Clicked}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+packet\+Display\+\_\+item\+Clicked ( \begin{DoxyParamCaption} \item[{Q\+Table\+Widget\+Item $\ast$}]{item} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_ae5f032dc280e74d6cd895b7ff0930f17} When a line of the packets captured is selected from the G\+U\+I a summary of the payload in ascii is presented in the summary box. \begin{DoxyParams}{Parameters} {\em item} & item selected in the G\+U\+I \\ \hline \end{DoxyParams} \hypertarget{class_main_window_a2f24448c7c8a017443d7c9e248802c4a}{}\index{Main\+Window@{Main\+Window}!slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}} \index{slot\+\_\+netw\+Manager\+Finished@{slot\+\_\+netw\+Manager\+Finished}!Main\+Window@{Main\+Window}} \subsubsection[{slot\+\_\+netw\+Manager\+Finished}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::slot\+\_\+netw\+Manager\+Finished ( \begin{DoxyParamCaption} \item[{Q\+Network\+Reply $\ast$}]{reply} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [slot]}}\label{class_main_window_a2f24448c7c8a017443d7c9e248802c4a} This slot is called when an image is successfuly retreived. The image is then added to the G\+U\+I display. \begin{DoxyParams}{Parameters} {\em reply} & object that contains the reply to our request. \\ \hline \end{DoxyParams} \subsection{Member Data Documentation} \hypertarget{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d}{}\index{Main\+Window@{Main\+Window}!image\+List@{image\+List}} \index{image\+List@{image\+List}!Main\+Window@{Main\+Window}} \subsubsection[{image\+List}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String\+List Main\+Window\+::image\+List\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ae55a34c6c58b0e8b7c853969dfa52f1d} List of images / lista de imagenes \hypertarget{class_main_window_a9ed781aae28b5e872e53e38f140b26eb}{}\index{Main\+Window@{Main\+Window}!mutex@{mutex}} \index{mutex@{mutex}!Main\+Window@{Main\+Window}} \subsubsection[{mutex}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Mutex Main\+Window\+::mutex\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a9ed781aae28b5e872e53e38f140b26eb} Protect critical region / protege region critica \hypertarget{class_main_window_ad2def9b9a717131ec554e32e9fc258c1}{}\index{Main\+Window@{Main\+Window}!net\+Manager@{net\+Manager}} \index{net\+Manager@{net\+Manager}!Main\+Window@{Main\+Window}} \subsubsection[{net\+Manager}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Network\+Access\+Manager$\ast$ Main\+Window\+::net\+Manager\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ad2def9b9a717131ec554e32e9fc258c1} to request http images / para solicitar imagenes http \hypertarget{class_main_window_ac784fe4304c97d6866554bca82d8d8f1}{}\index{Main\+Window@{Main\+Window}!pause@{pause}} \index{pause@{pause}!Main\+Window@{Main\+Window}} \subsubsection[{pause}]{\setlength{\rightskip}{0pt plus 5cm}int Main\+Window\+::pause\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ac784fe4304c97d6866554bca82d8d8f1} flag to pause / bandera para pausar \hypertarget{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752}{}\index{Main\+Window@{Main\+Window}!sniff@{sniff}} \index{sniff@{sniff}!Main\+Window@{Main\+Window}} \subsubsection[{sniff}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sniffer}$\ast$ Main\+Window\+::sniff\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_abfaf76caab7ff83ed2c2d33ed8a10752} pointer to the sniffer class / apuntador a la clase sniffer \hypertarget{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5}{}\index{Main\+Window@{Main\+Window}!sniff\+\_\+thread@{sniff\+\_\+thread}} \index{sniff\+\_\+thread@{sniff\+\_\+thread}!Main\+Window@{Main\+Window}} \subsubsection[{sniff\+\_\+thread}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Thread Main\+Window\+::sniff\+\_\+thread\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_ae5a6ffcdcfd6861b30b6437cc26bd2b5} thread for the sniffer / hilo para el sniffer \hypertarget{class_main_window_a2a035505d0e0d67620a0959430d25b28}{}\index{Main\+Window@{Main\+Window}!wait\+\_\+pause@{wait\+\_\+pause}} \index{wait\+\_\+pause@{wait\+\_\+pause}!Main\+Window@{Main\+Window}} \subsubsection[{wait\+\_\+pause}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Wait\+Condition Main\+Window\+::wait\+\_\+pause\hspace{0.3cm}{\ttfamily [private]}}\label{class_main_window_a2a035505d0e0d67620a0959430d25b28} to pause the sniffer / para pausar el sniffer The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item mainwindow.\+h\item mainwindow.\+cpp\end{DoxyCompactItemize}