Brak opisu

class_main_window.html 34KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: MainWindow Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  65. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  66. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  67. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  68. </ul>
  69. </div>
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. </div><!-- top -->
  83. <div class="header">
  84. <div class="summary">
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="#pub-attribs">Public Attributes</a> &#124;
  87. <a href="#pri-slots">Private Slots</a> &#124;
  88. <a href="#pri-attribs">Private Attributes</a> &#124;
  89. <a href="class_main_window-members.html">List of all members</a> </div>
  90. <div class="headertitle">
  91. <div class="title">MainWindow Class Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <div class="dynheader">
  95. Inheritance diagram for MainWindow:</div>
  96. <div class="dyncontent">
  97. <div class="center">
  98. <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
  99. <map id="MainWindow_map" name="MainWindow_map">
  100. </map>
  101. </div></div>
  102. <table class="memberdecls">
  103. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  104. Public Member Functions</h2></td></tr>
  105. <tr class="memitem:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
  106. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
  107. <tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  108. <tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98d00a93bc118200eeef9f9bba1dba7"></a>
  110. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a> ()</td></tr>
  111. <tr class="memdesc:ae98d00a93bc118200eeef9f9bba1dba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  112. <tr class="separator:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ab1b4a39f385986867a81a7aec75773b9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab1b4a39f385986867a81a7aec75773b9">readPass</a> (const string &amp;pass)</td></tr>
  114. <tr class="memdesc:ab1b4a39f385986867a81a7aec75773b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function, where all the other PasswordStrength functions are executed. <a href="#ab1b4a39f385986867a81a7aec75773b9">More...</a><br /></td></tr>
  115. <tr class="separator:ab1b4a39f385986867a81a7aec75773b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a968091246b497caed068dfce217a7ad8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a968091246b497caed068dfce217a7ad8">strengthDisplay</a> (string strength, int totalScore)</td></tr>
  117. <tr class="memdesc:a968091246b497caed068dfce217a7ad8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the computed strength and total score password strength in the GUI. <a href="#a968091246b497caed068dfce217a7ad8">More...</a><br /></td></tr>
  118. <tr class="separator:a968091246b497caed068dfce217a7ad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a446d59bac8e5d533261a067e65146658"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a446d59bac8e5d533261a067e65146658">setNumberOfCharacters</a> (int count, int score)</td></tr>
  120. <tr class="memdesc:a446d59bac8e5d533261a067e65146658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of characters and score in the GUI. <a href="#a446d59bac8e5d533261a067e65146658">More...</a><br /></td></tr>
  121. <tr class="separator:a446d59bac8e5d533261a067e65146658"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a22cb1afe77926a65b5b59a8c680a6410"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a22cb1afe77926a65b5b59a8c680a6410">setUpperCharacters</a> (int count, int score)</td></tr>
  123. <tr class="memdesc:a22cb1afe77926a65b5b59a8c680a6410"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of upper case characters and score in the GUI. <a href="#a22cb1afe77926a65b5b59a8c680a6410">More...</a><br /></td></tr>
  124. <tr class="separator:a22cb1afe77926a65b5b59a8c680a6410"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a2cd3c31dbf17a010b48af5bc2216408c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2cd3c31dbf17a010b48af5bc2216408c">setLowerCharacters</a> (int count, int score)</td></tr>
  126. <tr class="memdesc:a2cd3c31dbf17a010b48af5bc2216408c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of lower case characters and score in the GUI. <a href="#a2cd3c31dbf17a010b48af5bc2216408c">More...</a><br /></td></tr>
  127. <tr class="separator:a2cd3c31dbf17a010b48af5bc2216408c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:af692794e1fade43a9f9fb08c28f9e6ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af692794e1fade43a9f9fb08c28f9e6ac">setDigits</a> (int count, int score)</td></tr>
  129. <tr class="memdesc:af692794e1fade43a9f9fb08c28f9e6ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of digits characters and score in the GUI. <a href="#af692794e1fade43a9f9fb08c28f9e6ac">More...</a><br /></td></tr>
  130. <tr class="separator:af692794e1fade43a9f9fb08c28f9e6ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:aa4e946a608b65ac08e342e8d26b8bd29"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#aa4e946a608b65ac08e342e8d26b8bd29">setSymbols</a> (int count, int score)</td></tr>
  132. <tr class="memdesc:aa4e946a608b65ac08e342e8d26b8bd29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of symbols characters and score in the GUI. <a href="#aa4e946a608b65ac08e342e8d26b8bd29">More...</a><br /></td></tr>
  133. <tr class="separator:aa4e946a608b65ac08e342e8d26b8bd29"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a17c0605c528cbd30b006714fb2d86a20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a17c0605c528cbd30b006714fb2d86a20">setMiddleDigitsOrSymbols</a> (int count, int score)</td></tr>
  135. <tr class="memdesc:a17c0605c528cbd30b006714fb2d86a20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of middle digits or symbols and score in the GUI. <a href="#a17c0605c528cbd30b006714fb2d86a20">More...</a><br /></td></tr>
  136. <tr class="separator:a17c0605c528cbd30b006714fb2d86a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a1631baa3c142b0c3f9a5c465f0b51795"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a1631baa3c142b0c3f9a5c465f0b51795">setRequirements</a> (int count, int score)</td></tr>
  138. <tr class="memdesc:a1631baa3c142b0c3f9a5c465f0b51795"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number password strength requirements met and score in the GUI. <a href="#a1631baa3c142b0c3f9a5c465f0b51795">More...</a><br /></td></tr>
  139. <tr class="separator:a1631baa3c142b0c3f9a5c465f0b51795"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a2e27b990ce24938fdc5779ae66281dfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2e27b990ce24938fdc5779ae66281dfc">setLettersOnly</a> (int count, int score)</td></tr>
  141. <tr class="memdesc:a2e27b990ce24938fdc5779ae66281dfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of letters if there were only letters and score in the GUI. <a href="#a2e27b990ce24938fdc5779ae66281dfc">More...</a><br /></td></tr>
  142. <tr class="separator:a2e27b990ce24938fdc5779ae66281dfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:ae628e71bcc38338007b10675dc7f789e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae628e71bcc38338007b10675dc7f789e">setDigitsOnly</a> (int count, int score)</td></tr>
  144. <tr class="memdesc:ae628e71bcc38338007b10675dc7f789e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of digits if there were only digits and score in the GUI. <a href="#ae628e71bcc38338007b10675dc7f789e">More...</a><br /></td></tr>
  145. <tr class="separator:ae628e71bcc38338007b10675dc7f789e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a2d300c442d6efd3c47516f701e592dc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a2d300c442d6efd3c47516f701e592dc2">setConsecutiveUpper</a> (int count, int score)</td></tr>
  147. <tr class="memdesc:a2d300c442d6efd3c47516f701e592dc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of consecutive upper characters and score in the GUI. <a href="#a2d300c442d6efd3c47516f701e592dc2">More...</a><br /></td></tr>
  148. <tr class="separator:a2d300c442d6efd3c47516f701e592dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a68eb232f03bba6a94a96b9346a7e6f2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a68eb232f03bba6a94a96b9346a7e6f2a">setConsecutiveLower</a> (int count, int score)</td></tr>
  150. <tr class="memdesc:a68eb232f03bba6a94a96b9346a7e6f2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of consecutive lower characters and score in the GUI. <a href="#a68eb232f03bba6a94a96b9346a7e6f2a">More...</a><br /></td></tr>
  151. <tr class="separator:a68eb232f03bba6a94a96b9346a7e6f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a6ee69c6c0fe7b5c480626b252cb701d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a6ee69c6c0fe7b5c480626b252cb701d5">setConsecutiveDigits</a> (int count, int score)</td></tr>
  153. <tr class="memdesc:a6ee69c6c0fe7b5c480626b252cb701d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function to set the number of consecutive digits and score in the GUI. <a href="#a6ee69c6c0fe7b5c480626b252cb701d5">More...</a><br /></td></tr>
  154. <tr class="separator:a6ee69c6c0fe7b5c480626b252cb701d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. </table><table class="memberdecls">
  156. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  157. Public Attributes</h2></td></tr>
  158. <tr class="memitem:a14cd3219da80377d08d8f972ed6e9120"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a14cd3219da80377d08d8f972ed6e9120"></a>
  159. vector&lt; char &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>V</b></td></tr>
  160. <tr class="separator:a14cd3219da80377d08d8f972ed6e9120"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. </table><table class="memberdecls">
  162. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-slots"></a>
  163. Private Slots</h2></td></tr>
  164. <tr class="memitem:af679b5f4773b48738fc67c5d5179751d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#af679b5f4773b48738fc67c5d5179751d">on_lineEdit_textChanged</a> (const QString &amp;arg1)</td></tr>
  165. <tr class="memdesc:af679b5f4773b48738fc67c5d5179751d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that is called every time the password text box field is changed. <a href="#af679b5f4773b48738fc67c5d5179751d">More...</a><br /></td></tr>
  166. <tr class="separator:af679b5f4773b48738fc67c5d5179751d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:accc2eba940b629f535c63e5ddea176c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#accc2eba940b629f535c63e5ddea176c4">on_HiddenCheckBox_clicked</a> (bool checked)</td></tr>
  168. <tr class="memdesc:accc2eba940b629f535c63e5ddea176c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Function that is called when the password hidden checkbox is selected. <a href="#accc2eba940b629f535c63e5ddea176c4">More...</a><br /></td></tr>
  169. <tr class="separator:accc2eba940b629f535c63e5ddea176c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. </table><table class="memberdecls">
  171. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  172. Private Attributes</h2></td></tr>
  173. <tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
  174. Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
  175. <tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. </table>
  177. <h2 class="groupheader">Member Function Documentation</h2>
  178. <a class="anchor" id="accc2eba940b629f535c63e5ddea176c4"></a>
  179. <div class="memitem">
  180. <div class="memproto">
  181. <table class="mlabels">
  182. <tr>
  183. <td class="mlabels-left">
  184. <table class="memname">
  185. <tr>
  186. <td class="memname">void MainWindow::on_HiddenCheckBox_clicked </td>
  187. <td>(</td>
  188. <td class="paramtype">bool&#160;</td>
  189. <td class="paramname"><em>checked</em></td><td>)</td>
  190. <td></td>
  191. </tr>
  192. </table>
  193. </td>
  194. <td class="mlabels-right">
  195. <span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
  196. </tr>
  197. </table>
  198. </div><div class="memdoc">
  199. <p>Function that is called when the password hidden checkbox is selected. </p>
  200. <dl class="params"><dt>Parameters</dt><dd>
  201. <table class="params">
  202. <tr><td class="paramname">checked</td><td>boolean value </td></tr>
  203. </table>
  204. </dd>
  205. </dl>
  206. </div>
  207. </div>
  208. <a class="anchor" id="af679b5f4773b48738fc67c5d5179751d"></a>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <table class="mlabels">
  212. <tr>
  213. <td class="mlabels-left">
  214. <table class="memname">
  215. <tr>
  216. <td class="memname">void MainWindow::on_lineEdit_textChanged </td>
  217. <td>(</td>
  218. <td class="paramtype">const QString &amp;&#160;</td>
  219. <td class="paramname"><em>arg1</em></td><td>)</td>
  220. <td></td>
  221. </tr>
  222. </table>
  223. </td>
  224. <td class="mlabels-right">
  225. <span class="mlabels"><span class="mlabel">private</span><span class="mlabel">slot</span></span> </td>
  226. </tr>
  227. </table>
  228. </div><div class="memdoc">
  229. <p>Function that is called every time the password text box field is changed. </p>
  230. <dl class="params"><dt>Parameters</dt><dd>
  231. <table class="params">
  232. <tr><td class="paramname">arg1</td><td>string with the current value of the password text box </td></tr>
  233. </table>
  234. </dd>
  235. </dl>
  236. </div>
  237. </div>
  238. <a class="anchor" id="ab1b4a39f385986867a81a7aec75773b9"></a>
  239. <div class="memitem">
  240. <div class="memproto">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">void MainWindow::readPass </td>
  244. <td>(</td>
  245. <td class="paramtype">const string &amp;&#160;</td>
  246. <td class="paramname"><em>pass</em></td><td>)</td>
  247. <td></td>
  248. </tr>
  249. </table>
  250. </div><div class="memdoc">
  251. <p>Main function, where all the other PasswordStrength functions are executed. </p>
  252. <dl class="params"><dt>Parameters</dt><dd>
  253. <table class="params">
  254. <tr><td class="paramname">pass</td><td>string by reference to analyze </td></tr>
  255. </table>
  256. </dd>
  257. </dl>
  258. </div>
  259. </div>
  260. <a class="anchor" id="a6ee69c6c0fe7b5c480626b252cb701d5"></a>
  261. <div class="memitem">
  262. <div class="memproto">
  263. <table class="memname">
  264. <tr>
  265. <td class="memname">void MainWindow::setConsecutiveDigits </td>
  266. <td>(</td>
  267. <td class="paramtype">int&#160;</td>
  268. <td class="paramname"><em>count</em>, </td>
  269. </tr>
  270. <tr>
  271. <td class="paramkey"></td>
  272. <td></td>
  273. <td class="paramtype">int&#160;</td>
  274. <td class="paramname"><em>score</em>&#160;</td>
  275. </tr>
  276. <tr>
  277. <td></td>
  278. <td>)</td>
  279. <td></td><td></td>
  280. </tr>
  281. </table>
  282. </div><div class="memdoc">
  283. <p>Function to set the number of consecutive digits and score in the GUI. </p>
  284. <dl class="params"><dt>Parameters</dt><dd>
  285. <table class="params">
  286. <tr><td class="paramname">count</td><td>the number of consecutive digits found. </td></tr>
  287. <tr><td class="paramname">score</td><td>the score given by the count of consecutive digits found. </td></tr>
  288. </table>
  289. </dd>
  290. </dl>
  291. </div>
  292. </div>
  293. <a class="anchor" id="a68eb232f03bba6a94a96b9346a7e6f2a"></a>
  294. <div class="memitem">
  295. <div class="memproto">
  296. <table class="memname">
  297. <tr>
  298. <td class="memname">void MainWindow::setConsecutiveLower </td>
  299. <td>(</td>
  300. <td class="paramtype">int&#160;</td>
  301. <td class="paramname"><em>count</em>, </td>
  302. </tr>
  303. <tr>
  304. <td class="paramkey"></td>
  305. <td></td>
  306. <td class="paramtype">int&#160;</td>
  307. <td class="paramname"><em>score</em>&#160;</td>
  308. </tr>
  309. <tr>
  310. <td></td>
  311. <td>)</td>
  312. <td></td><td></td>
  313. </tr>
  314. </table>
  315. </div><div class="memdoc">
  316. <p>Function to set the number of consecutive lower characters and score in the GUI. </p>
  317. <dl class="params"><dt>Parameters</dt><dd>
  318. <table class="params">
  319. <tr><td class="paramname">count</td><td>the number of consecutive lower characters found. </td></tr>
  320. <tr><td class="paramname">score</td><td>the score given by the count of consecutive lower characters found. </td></tr>
  321. </table>
  322. </dd>
  323. </dl>
  324. </div>
  325. </div>
  326. <a class="anchor" id="a2d300c442d6efd3c47516f701e592dc2"></a>
  327. <div class="memitem">
  328. <div class="memproto">
  329. <table class="memname">
  330. <tr>
  331. <td class="memname">void MainWindow::setConsecutiveUpper </td>
  332. <td>(</td>
  333. <td class="paramtype">int&#160;</td>
  334. <td class="paramname"><em>count</em>, </td>
  335. </tr>
  336. <tr>
  337. <td class="paramkey"></td>
  338. <td></td>
  339. <td class="paramtype">int&#160;</td>
  340. <td class="paramname"><em>score</em>&#160;</td>
  341. </tr>
  342. <tr>
  343. <td></td>
  344. <td>)</td>
  345. <td></td><td></td>
  346. </tr>
  347. </table>
  348. </div><div class="memdoc">
  349. <p>Function to set the number of consecutive upper characters and score in the GUI. </p>
  350. <dl class="params"><dt>Parameters</dt><dd>
  351. <table class="params">
  352. <tr><td class="paramname">count</td><td>the number of consecutive upper characters found. </td></tr>
  353. <tr><td class="paramname">score</td><td>the score given by the count of consecutive upper characters found. </td></tr>
  354. </table>
  355. </dd>
  356. </dl>
  357. </div>
  358. </div>
  359. <a class="anchor" id="af692794e1fade43a9f9fb08c28f9e6ac"></a>
  360. <div class="memitem">
  361. <div class="memproto">
  362. <table class="memname">
  363. <tr>
  364. <td class="memname">void MainWindow::setDigits </td>
  365. <td>(</td>
  366. <td class="paramtype">int&#160;</td>
  367. <td class="paramname"><em>count</em>, </td>
  368. </tr>
  369. <tr>
  370. <td class="paramkey"></td>
  371. <td></td>
  372. <td class="paramtype">int&#160;</td>
  373. <td class="paramname"><em>score</em>&#160;</td>
  374. </tr>
  375. <tr>
  376. <td></td>
  377. <td>)</td>
  378. <td></td><td></td>
  379. </tr>
  380. </table>
  381. </div><div class="memdoc">
  382. <p>Function to set the number of digits characters and score in the GUI. </p>
  383. <dl class="params"><dt>Parameters</dt><dd>
  384. <table class="params">
  385. <tr><td class="paramname">count</td><td>the number of digits found. </td></tr>
  386. <tr><td class="paramname">score</td><td>the score given by the count of digit characters. </td></tr>
  387. </table>
  388. </dd>
  389. </dl>
  390. </div>
  391. </div>
  392. <a class="anchor" id="ae628e71bcc38338007b10675dc7f789e"></a>
  393. <div class="memitem">
  394. <div class="memproto">
  395. <table class="memname">
  396. <tr>
  397. <td class="memname">void MainWindow::setDigitsOnly </td>
  398. <td>(</td>
  399. <td class="paramtype">int&#160;</td>
  400. <td class="paramname"><em>count</em>, </td>
  401. </tr>
  402. <tr>
  403. <td class="paramkey"></td>
  404. <td></td>
  405. <td class="paramtype">int&#160;</td>
  406. <td class="paramname"><em>score</em>&#160;</td>
  407. </tr>
  408. <tr>
  409. <td></td>
  410. <td>)</td>
  411. <td></td><td></td>
  412. </tr>
  413. </table>
  414. </div><div class="memdoc">
  415. <p>Function to set the number of digits if there were only digits and score in the GUI. </p>
  416. <dl class="params"><dt>Parameters</dt><dd>
  417. <table class="params">
  418. <tr><td class="paramname">count</td><td>the number of digits only found. </td></tr>
  419. <tr><td class="paramname">score</td><td>the score given by digits only found. </td></tr>
  420. </table>
  421. </dd>
  422. </dl>
  423. </div>
  424. </div>
  425. <a class="anchor" id="a2e27b990ce24938fdc5779ae66281dfc"></a>
  426. <div class="memitem">
  427. <div class="memproto">
  428. <table class="memname">
  429. <tr>
  430. <td class="memname">void MainWindow::setLettersOnly </td>
  431. <td>(</td>
  432. <td class="paramtype">int&#160;</td>
  433. <td class="paramname"><em>count</em>, </td>
  434. </tr>
  435. <tr>
  436. <td class="paramkey"></td>
  437. <td></td>
  438. <td class="paramtype">int&#160;</td>
  439. <td class="paramname"><em>score</em>&#160;</td>
  440. </tr>
  441. <tr>
  442. <td></td>
  443. <td>)</td>
  444. <td></td><td></td>
  445. </tr>
  446. </table>
  447. </div><div class="memdoc">
  448. <p>Function to set the number of letters if there were only letters and score in the GUI. </p>
  449. <dl class="params"><dt>Parameters</dt><dd>
  450. <table class="params">
  451. <tr><td class="paramname">count</td><td>the number of letters only found. </td></tr>
  452. <tr><td class="paramname">score</td><td>the score given by letters only found. </td></tr>
  453. </table>
  454. </dd>
  455. </dl>
  456. </div>
  457. </div>
  458. <a class="anchor" id="a2cd3c31dbf17a010b48af5bc2216408c"></a>
  459. <div class="memitem">
  460. <div class="memproto">
  461. <table class="memname">
  462. <tr>
  463. <td class="memname">void MainWindow::setLowerCharacters </td>
  464. <td>(</td>
  465. <td class="paramtype">int&#160;</td>
  466. <td class="paramname"><em>count</em>, </td>
  467. </tr>
  468. <tr>
  469. <td class="paramkey"></td>
  470. <td></td>
  471. <td class="paramtype">int&#160;</td>
  472. <td class="paramname"><em>score</em>&#160;</td>
  473. </tr>
  474. <tr>
  475. <td></td>
  476. <td>)</td>
  477. <td></td><td></td>
  478. </tr>
  479. </table>
  480. </div><div class="memdoc">
  481. <p>Function to set the number of lower case characters and score in the GUI. </p>
  482. <dl class="params"><dt>Parameters</dt><dd>
  483. <table class="params">
  484. <tr><td class="paramname">count</td><td>the number of lower case characters found. </td></tr>
  485. <tr><td class="paramname">score</td><td>the score given by the count of lower case characters. </td></tr>
  486. </table>
  487. </dd>
  488. </dl>
  489. </div>
  490. </div>
  491. <a class="anchor" id="a17c0605c528cbd30b006714fb2d86a20"></a>
  492. <div class="memitem">
  493. <div class="memproto">
  494. <table class="memname">
  495. <tr>
  496. <td class="memname">void MainWindow::setMiddleDigitsOrSymbols </td>
  497. <td>(</td>
  498. <td class="paramtype">int&#160;</td>
  499. <td class="paramname"><em>count</em>, </td>
  500. </tr>
  501. <tr>
  502. <td class="paramkey"></td>
  503. <td></td>
  504. <td class="paramtype">int&#160;</td>
  505. <td class="paramname"><em>score</em>&#160;</td>
  506. </tr>
  507. <tr>
  508. <td></td>
  509. <td>)</td>
  510. <td></td><td></td>
  511. </tr>
  512. </table>
  513. </div><div class="memdoc">
  514. <p>Function to set the number of middle digits or symbols and score in the GUI. </p>
  515. <dl class="params"><dt>Parameters</dt><dd>
  516. <table class="params">
  517. <tr><td class="paramname">count</td><td>the number of middle digits or symbols found. </td></tr>
  518. <tr><td class="paramname">score</td><td>the score given by the count of middle digits or symbols. </td></tr>
  519. </table>
  520. </dd>
  521. </dl>
  522. </div>
  523. </div>
  524. <a class="anchor" id="a446d59bac8e5d533261a067e65146658"></a>
  525. <div class="memitem">
  526. <div class="memproto">
  527. <table class="memname">
  528. <tr>
  529. <td class="memname">void MainWindow::setNumberOfCharacters </td>
  530. <td>(</td>
  531. <td class="paramtype">int&#160;</td>
  532. <td class="paramname"><em>count</em>, </td>
  533. </tr>
  534. <tr>
  535. <td class="paramkey"></td>
  536. <td></td>
  537. <td class="paramtype">int&#160;</td>
  538. <td class="paramname"><em>score</em>&#160;</td>
  539. </tr>
  540. <tr>
  541. <td></td>
  542. <td>)</td>
  543. <td></td><td></td>
  544. </tr>
  545. </table>
  546. </div><div class="memdoc">
  547. <p>Function to set the number of characters and score in the GUI. </p>
  548. <dl class="params"><dt>Parameters</dt><dd>
  549. <table class="params">
  550. <tr><td class="paramname">count</td><td>the number of characters found. </td></tr>
  551. <tr><td class="paramname">score</td><td>the score given by the count of characters found. </td></tr>
  552. </table>
  553. </dd>
  554. </dl>
  555. </div>
  556. </div>
  557. <a class="anchor" id="a1631baa3c142b0c3f9a5c465f0b51795"></a>
  558. <div class="memitem">
  559. <div class="memproto">
  560. <table class="memname">
  561. <tr>
  562. <td class="memname">void MainWindow::setRequirements </td>
  563. <td>(</td>
  564. <td class="paramtype">int&#160;</td>
  565. <td class="paramname"><em>count</em>, </td>
  566. </tr>
  567. <tr>
  568. <td class="paramkey"></td>
  569. <td></td>
  570. <td class="paramtype">int&#160;</td>
  571. <td class="paramname"><em>score</em>&#160;</td>
  572. </tr>
  573. <tr>
  574. <td></td>
  575. <td>)</td>
  576. <td></td><td></td>
  577. </tr>
  578. </table>
  579. </div><div class="memdoc">
  580. <p>Function to set the number password strength requirements met and score in the GUI. </p>
  581. <dl class="params"><dt>Parameters</dt><dd>
  582. <table class="params">
  583. <tr><td class="paramname">count</td><td>the number of requirements met. </td></tr>
  584. <tr><td class="paramname">score</td><td>the score given by requirements. </td></tr>
  585. </table>
  586. </dd>
  587. </dl>
  588. </div>
  589. </div>
  590. <a class="anchor" id="aa4e946a608b65ac08e342e8d26b8bd29"></a>
  591. <div class="memitem">
  592. <div class="memproto">
  593. <table class="memname">
  594. <tr>
  595. <td class="memname">void MainWindow::setSymbols </td>
  596. <td>(</td>
  597. <td class="paramtype">int&#160;</td>
  598. <td class="paramname"><em>count</em>, </td>
  599. </tr>
  600. <tr>
  601. <td class="paramkey"></td>
  602. <td></td>
  603. <td class="paramtype">int&#160;</td>
  604. <td class="paramname"><em>score</em>&#160;</td>
  605. </tr>
  606. <tr>
  607. <td></td>
  608. <td>)</td>
  609. <td></td><td></td>
  610. </tr>
  611. </table>
  612. </div><div class="memdoc">
  613. <p>Function to set the number of symbols characters and score in the GUI. </p>
  614. <dl class="params"><dt>Parameters</dt><dd>
  615. <table class="params">
  616. <tr><td class="paramname">count</td><td>the number of symbols found. </td></tr>
  617. <tr><td class="paramname">score</td><td>the score given by the count of symbols. </td></tr>
  618. </table>
  619. </dd>
  620. </dl>
  621. </div>
  622. </div>
  623. <a class="anchor" id="a22cb1afe77926a65b5b59a8c680a6410"></a>
  624. <div class="memitem">
  625. <div class="memproto">
  626. <table class="memname">
  627. <tr>
  628. <td class="memname">void MainWindow::setUpperCharacters </td>
  629. <td>(</td>
  630. <td class="paramtype">int&#160;</td>
  631. <td class="paramname"><em>count</em>, </td>
  632. </tr>
  633. <tr>
  634. <td class="paramkey"></td>
  635. <td></td>
  636. <td class="paramtype">int&#160;</td>
  637. <td class="paramname"><em>score</em>&#160;</td>
  638. </tr>
  639. <tr>
  640. <td></td>
  641. <td>)</td>
  642. <td></td><td></td>
  643. </tr>
  644. </table>
  645. </div><div class="memdoc">
  646. <p>Function to set the number of upper case characters and score in the GUI. </p>
  647. <dl class="params"><dt>Parameters</dt><dd>
  648. <table class="params">
  649. <tr><td class="paramname">count</td><td>the number of upper case characters found. </td></tr>
  650. <tr><td class="paramname">score</td><td>the score given by the count of upper case characters. </td></tr>
  651. </table>
  652. </dd>
  653. </dl>
  654. </div>
  655. </div>
  656. <a class="anchor" id="a968091246b497caed068dfce217a7ad8"></a>
  657. <div class="memitem">
  658. <div class="memproto">
  659. <table class="memname">
  660. <tr>
  661. <td class="memname">void MainWindow::strengthDisplay </td>
  662. <td>(</td>
  663. <td class="paramtype">string&#160;</td>
  664. <td class="paramname"><em>strength</em>, </td>
  665. </tr>
  666. <tr>
  667. <td class="paramkey"></td>
  668. <td></td>
  669. <td class="paramtype">int&#160;</td>
  670. <td class="paramname"><em>totalScore</em>&#160;</td>
  671. </tr>
  672. <tr>
  673. <td></td>
  674. <td>)</td>
  675. <td></td><td></td>
  676. </tr>
  677. </table>
  678. </div><div class="memdoc">
  679. <p>Function to set the computed strength and total score password strength in the GUI. </p>
  680. <dl class="params"><dt>Parameters</dt><dd>
  681. <table class="params">
  682. <tr><td class="paramname">strength</td><td>Computed strenght of the password. </td></tr>
  683. <tr><td class="paramname">totalScore</td><td>Total score of the strength of the password. </td></tr>
  684. </table>
  685. </dd>
  686. </dl>
  687. </div>
  688. </div>
  689. <hr/>The documentation for this class was generated from the following files:<ul>
  690. <li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
  691. <li><a class="el" href="mainwindow_8cpp.html">mainwindow.cpp</a></li>
  692. <li><a class="el" href="readpassword_8cpp.html">readpassword.cpp</a></li>
  693. </ul>
  694. </div><!-- contents -->
  695. <!-- start footer part -->
  696. <hr class="footer"/><address class="footer"><small>
  697. Generated on Wed Jun 3 2015 15:04:11 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  698. <img class="footer" src="doxygen.png" alt="doxygen"/>
  699. </a> 1.8.9.1
  700. </small></address>
  701. </body>
  702. </html>