\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 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}\item 
void \hyperlink{class_main_window_ab1b4a39f385986867a81a7aec75773b9}{read\+Pass} (const string \&pass)
\begin{DoxyCompactList}\small\item\em Main function, where all the other Password\+Strength functions are executed. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a968091246b497caed068dfce217a7ad8}{strength\+Display} (string strength, int total\+Score)
\begin{DoxyCompactList}\small\item\em Function to set the computed strength and total score password strength in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a446d59bac8e5d533261a067e65146658}{set\+Number\+Of\+Characters} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a22cb1afe77926a65b5b59a8c680a6410}{set\+Upper\+Characters} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of upper case characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a2cd3c31dbf17a010b48af5bc2216408c}{set\+Lower\+Characters} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of lower case characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_af692794e1fade43a9f9fb08c28f9e6ac}{set\+Digits} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of digits characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_aa4e946a608b65ac08e342e8d26b8bd29}{set\+Symbols} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of symbols characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a17c0605c528cbd30b006714fb2d86a20}{set\+Middle\+Digits\+Or\+Symbols} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of middle digits or symbols and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a1631baa3c142b0c3f9a5c465f0b51795}{set\+Requirements} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number password strength requirements met and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a2e27b990ce24938fdc5779ae66281dfc}{set\+Letters\+Only} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of letters if there were only letters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_ae628e71bcc38338007b10675dc7f789e}{set\+Digits\+Only} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of digits if there were only digits and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a2d300c442d6efd3c47516f701e592dc2}{set\+Consecutive\+Upper} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of consecutive upper characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a68eb232f03bba6a94a96b9346a7e6f2a}{set\+Consecutive\+Lower} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of consecutive lower characters and score in the G\+U\+I. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_a6ee69c6c0fe7b5c480626b252cb701d5}{set\+Consecutive\+Digits} (int count, int score)
\begin{DoxyCompactList}\small\item\em Function to set the number of consecutive digits and score in the G\+U\+I. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_main_window_a14cd3219da80377d08d8f972ed6e9120}{}vector$<$ char $>$ {\bfseries V}\label{class_main_window_a14cd3219da80377d08d8f972ed6e9120}

\end{DoxyCompactItemize}
\subsection*{Private Slots}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_main_window_af679b5f4773b48738fc67c5d5179751d}{on\+\_\+line\+Edit\+\_\+text\+Changed} (const Q\+String \&arg1)
\begin{DoxyCompactList}\small\item\em Function that is called every time the password text box field is changed. \end{DoxyCompactList}\item 
void \hyperlink{class_main_window_accc2eba940b629f535c63e5ddea176c4}{on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked} (bool checked)
\begin{DoxyCompactList}\small\item\em Function that is called when the password hidden checkbox is selected. \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}

\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_main_window_accc2eba940b629f535c63e5ddea176c4}{}\index{Main\+Window@{Main\+Window}!on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked@{on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked}}
\index{on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked@{on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked}!Main\+Window@{Main\+Window}}
\subsubsection[{on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+\+Hidden\+Check\+Box\+\_\+clicked (
\begin{DoxyParamCaption}
\item[{bool}]{checked}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_accc2eba940b629f535c63e5ddea176c4}


Function that is called when the password hidden checkbox is selected. 


\begin{DoxyParams}{Parameters}
{\em checked} & boolean value \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_af679b5f4773b48738fc67c5d5179751d}{}\index{Main\+Window@{Main\+Window}!on\+\_\+line\+Edit\+\_\+text\+Changed@{on\+\_\+line\+Edit\+\_\+text\+Changed}}
\index{on\+\_\+line\+Edit\+\_\+text\+Changed@{on\+\_\+line\+Edit\+\_\+text\+Changed}!Main\+Window@{Main\+Window}}
\subsubsection[{on\+\_\+line\+Edit\+\_\+text\+Changed}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::on\+\_\+line\+Edit\+\_\+text\+Changed (
\begin{DoxyParamCaption}
\item[{const Q\+String \&}]{arg1}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}, {\ttfamily [slot]}}\label{class_main_window_af679b5f4773b48738fc67c5d5179751d}


Function that is called every time the password text box field is changed. 


\begin{DoxyParams}{Parameters}
{\em arg1} & string with the current value of the password text box \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_ab1b4a39f385986867a81a7aec75773b9}{}\index{Main\+Window@{Main\+Window}!read\+Pass@{read\+Pass}}
\index{read\+Pass@{read\+Pass}!Main\+Window@{Main\+Window}}
\subsubsection[{read\+Pass}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::read\+Pass (
\begin{DoxyParamCaption}
\item[{const string \&}]{pass}
\end{DoxyParamCaption}
)}\label{class_main_window_ab1b4a39f385986867a81a7aec75773b9}


Main function, where all the other Password\+Strength functions are executed. 


\begin{DoxyParams}{Parameters}
{\em pass} & string by reference to analyze \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a6ee69c6c0fe7b5c480626b252cb701d5}{}\index{Main\+Window@{Main\+Window}!set\+Consecutive\+Digits@{set\+Consecutive\+Digits}}
\index{set\+Consecutive\+Digits@{set\+Consecutive\+Digits}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Consecutive\+Digits}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Consecutive\+Digits (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a6ee69c6c0fe7b5c480626b252cb701d5}


Function to set the number of consecutive digits and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of consecutive digits found. \\
\hline
{\em score} & the score given by the count of consecutive digits found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a68eb232f03bba6a94a96b9346a7e6f2a}{}\index{Main\+Window@{Main\+Window}!set\+Consecutive\+Lower@{set\+Consecutive\+Lower}}
\index{set\+Consecutive\+Lower@{set\+Consecutive\+Lower}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Consecutive\+Lower}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Consecutive\+Lower (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a68eb232f03bba6a94a96b9346a7e6f2a}


Function to set the number of consecutive lower characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of consecutive lower characters found. \\
\hline
{\em score} & the score given by the count of consecutive lower characters found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a2d300c442d6efd3c47516f701e592dc2}{}\index{Main\+Window@{Main\+Window}!set\+Consecutive\+Upper@{set\+Consecutive\+Upper}}
\index{set\+Consecutive\+Upper@{set\+Consecutive\+Upper}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Consecutive\+Upper}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Consecutive\+Upper (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a2d300c442d6efd3c47516f701e592dc2}


Function to set the number of consecutive upper characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of consecutive upper characters found. \\
\hline
{\em score} & the score given by the count of consecutive upper characters found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_af692794e1fade43a9f9fb08c28f9e6ac}{}\index{Main\+Window@{Main\+Window}!set\+Digits@{set\+Digits}}
\index{set\+Digits@{set\+Digits}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Digits}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Digits (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_af692794e1fade43a9f9fb08c28f9e6ac}


Function to set the number of digits characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of digits found. \\
\hline
{\em score} & the score given by the count of digit characters. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_ae628e71bcc38338007b10675dc7f789e}{}\index{Main\+Window@{Main\+Window}!set\+Digits\+Only@{set\+Digits\+Only}}
\index{set\+Digits\+Only@{set\+Digits\+Only}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Digits\+Only}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Digits\+Only (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_ae628e71bcc38338007b10675dc7f789e}


Function to set the number of digits if there were only digits and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of digits only found. \\
\hline
{\em score} & the score given by digits only found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a2e27b990ce24938fdc5779ae66281dfc}{}\index{Main\+Window@{Main\+Window}!set\+Letters\+Only@{set\+Letters\+Only}}
\index{set\+Letters\+Only@{set\+Letters\+Only}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Letters\+Only}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Letters\+Only (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a2e27b990ce24938fdc5779ae66281dfc}


Function to set the number of letters if there were only letters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of letters only found. \\
\hline
{\em score} & the score given by letters only found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a2cd3c31dbf17a010b48af5bc2216408c}{}\index{Main\+Window@{Main\+Window}!set\+Lower\+Characters@{set\+Lower\+Characters}}
\index{set\+Lower\+Characters@{set\+Lower\+Characters}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Lower\+Characters}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Lower\+Characters (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a2cd3c31dbf17a010b48af5bc2216408c}


Function to set the number of lower case characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of lower case characters found. \\
\hline
{\em score} & the score given by the count of lower case characters. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a17c0605c528cbd30b006714fb2d86a20}{}\index{Main\+Window@{Main\+Window}!set\+Middle\+Digits\+Or\+Symbols@{set\+Middle\+Digits\+Or\+Symbols}}
\index{set\+Middle\+Digits\+Or\+Symbols@{set\+Middle\+Digits\+Or\+Symbols}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Middle\+Digits\+Or\+Symbols}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Middle\+Digits\+Or\+Symbols (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a17c0605c528cbd30b006714fb2d86a20}


Function to set the number of middle digits or symbols and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of middle digits or symbols found. \\
\hline
{\em score} & the score given by the count of middle digits or symbols. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a446d59bac8e5d533261a067e65146658}{}\index{Main\+Window@{Main\+Window}!set\+Number\+Of\+Characters@{set\+Number\+Of\+Characters}}
\index{set\+Number\+Of\+Characters@{set\+Number\+Of\+Characters}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Number\+Of\+Characters}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Number\+Of\+Characters (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a446d59bac8e5d533261a067e65146658}


Function to set the number of characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of characters found. \\
\hline
{\em score} & the score given by the count of characters found. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a1631baa3c142b0c3f9a5c465f0b51795}{}\index{Main\+Window@{Main\+Window}!set\+Requirements@{set\+Requirements}}
\index{set\+Requirements@{set\+Requirements}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Requirements}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Requirements (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a1631baa3c142b0c3f9a5c465f0b51795}


Function to set the number password strength requirements met and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of requirements met. \\
\hline
{\em score} & the score given by requirements. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_aa4e946a608b65ac08e342e8d26b8bd29}{}\index{Main\+Window@{Main\+Window}!set\+Symbols@{set\+Symbols}}
\index{set\+Symbols@{set\+Symbols}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Symbols}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Symbols (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_aa4e946a608b65ac08e342e8d26b8bd29}


Function to set the number of symbols characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of symbols found. \\
\hline
{\em score} & the score given by the count of symbols. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a22cb1afe77926a65b5b59a8c680a6410}{}\index{Main\+Window@{Main\+Window}!set\+Upper\+Characters@{set\+Upper\+Characters}}
\index{set\+Upper\+Characters@{set\+Upper\+Characters}!Main\+Window@{Main\+Window}}
\subsubsection[{set\+Upper\+Characters}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::set\+Upper\+Characters (
\begin{DoxyParamCaption}
\item[{int}]{count, }
\item[{int}]{score}
\end{DoxyParamCaption}
)}\label{class_main_window_a22cb1afe77926a65b5b59a8c680a6410}


Function to set the number of upper case characters and score in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em count} & the number of upper case characters found. \\
\hline
{\em score} & the score given by the count of upper case characters. \\
\hline
\end{DoxyParams}
\hypertarget{class_main_window_a968091246b497caed068dfce217a7ad8}{}\index{Main\+Window@{Main\+Window}!strength\+Display@{strength\+Display}}
\index{strength\+Display@{strength\+Display}!Main\+Window@{Main\+Window}}
\subsubsection[{strength\+Display}]{\setlength{\rightskip}{0pt plus 5cm}void Main\+Window\+::strength\+Display (
\begin{DoxyParamCaption}
\item[{string}]{strength, }
\item[{int}]{total\+Score}
\end{DoxyParamCaption}
)}\label{class_main_window_a968091246b497caed068dfce217a7ad8}


Function to set the computed strength and total score password strength in the G\+U\+I. 


\begin{DoxyParams}{Parameters}
{\em strength} & Computed strenght of the password. \\
\hline
{\em total\+Score} & Total score of the strength of the password. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
mainwindow.\+h\item 
\hyperlink{mainwindow_8cpp}{mainwindow.\+cpp}\item 
\hyperlink{readpassword_8cpp}{readpassword.\+cpp}\end{DoxyCompactItemize}