Nessuna descrizione

class_main_window.html 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pri-attribs">Private Attributes</a> &#124;
  86. <a href="class_main_window-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">MainWindow Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <div class="dynheader">
  92. Inheritance diagram for MainWindow:</div>
  93. <div class="dyncontent">
  94. <div class="center">
  95. <img src="class_main_window.png" usemap="#MainWindow_map" alt=""/>
  96. <map id="MainWindow_map" name="MainWindow_map">
  97. </map>
  98. </div></div>
  99. <table class="memberdecls">
  100. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  101. Public Member Functions</h2></td></tr>
  102. <tr class="memitem:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b244be8b7b7db1b08de2a2acb9409db"></a>
  103. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a8b244be8b7b7db1b08de2a2acb9409db">MainWindow</a> (QWidget *parent=0)</td></tr>
  104. <tr class="memdesc:a8b244be8b7b7db1b08de2a2acb9409db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  105. <tr class="separator:a8b244be8b7b7db1b08de2a2acb9409db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae98d00a93bc118200eeef9f9bba1dba7"></a>
  107. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ae98d00a93bc118200eeef9f9bba1dba7">~MainWindow</a> ()</td></tr>
  108. <tr class="memdesc:ae98d00a93bc118200eeef9f9bba1dba7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  109. <tr class="separator:ae98d00a93bc118200eeef9f9bba1dba7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a5c85ca7958a6f153399e71215041d19f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a5c85ca7958a6f153399e71215041d19f">histo</a> (string names[], double values[], int size, string xAxisLabel, string yAxisLabel)</td></tr>
  111. <tr class="memdesc:a5c85ca7958a6f153399e71215041d19f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function receives information about the ticks and values for a bar chart, then displays it using the customPlot widget from qcustomplot. <a href="#a5c85ca7958a6f153399e71215041d19f">More...</a><br /></td></tr>
  112. <tr class="separator:a5c85ca7958a6f153399e71215041d19f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. </table><table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  115. Private Attributes</h2></td></tr>
  116. <tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
  117. Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
  118. <tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a7f94530c7d510da48c5a211720d2db3a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f94530c7d510da48c5a211720d2db3a"></a>
  120. QCustomPlot *&#160;</td><td class="memItemRight" valign="bottom"><b>myPlot</b></td></tr>
  121. <tr class="separator:a7f94530c7d510da48c5a211720d2db3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. </table>
  123. <h2 class="groupheader">Member Function Documentation</h2>
  124. <a class="anchor" id="a5c85ca7958a6f153399e71215041d19f"></a>
  125. <div class="memitem">
  126. <div class="memproto">
  127. <table class="memname">
  128. <tr>
  129. <td class="memname">void MainWindow::histo </td>
  130. <td>(</td>
  131. <td class="paramtype">string&#160;</td>
  132. <td class="paramname"><em>names</em>[], </td>
  133. </tr>
  134. <tr>
  135. <td class="paramkey"></td>
  136. <td></td>
  137. <td class="paramtype">double&#160;</td>
  138. <td class="paramname"><em>values</em>[], </td>
  139. </tr>
  140. <tr>
  141. <td class="paramkey"></td>
  142. <td></td>
  143. <td class="paramtype">int&#160;</td>
  144. <td class="paramname"><em>size</em>, </td>
  145. </tr>
  146. <tr>
  147. <td class="paramkey"></td>
  148. <td></td>
  149. <td class="paramtype">string&#160;</td>
  150. <td class="paramname"><em>xAxisLabel</em>, </td>
  151. </tr>
  152. <tr>
  153. <td class="paramkey"></td>
  154. <td></td>
  155. <td class="paramtype">string&#160;</td>
  156. <td class="paramname"><em>yAxisLabel</em>&#160;</td>
  157. </tr>
  158. <tr>
  159. <td></td>
  160. <td>)</td>
  161. <td></td><td></td>
  162. </tr>
  163. </table>
  164. </div><div class="memdoc">
  165. <p>This function receives information about the ticks and values for a bar chart, then displays it using the customPlot widget from qcustomplot. </p>
  166. <dl class="params"><dt>Parameters</dt><dd>
  167. <table class="params">
  168. <tr><td class="paramname">names</td><td>an array of strings for the names of the x-axis ticks </td></tr>
  169. <tr><td class="paramname">values</td><td>an array of doubles for the values of y-axis </td></tr>
  170. <tr><td class="paramname">size</td><td>the size of the names (and values) arrays </td></tr>
  171. <tr><td class="paramname">xAxisLabel</td><td>a string for the x-axis title </td></tr>
  172. <tr><td class="paramname">yAxisLabel</td><td>a string for the y-axis title </td></tr>
  173. </table>
  174. </dd>
  175. </dl>
  176. </div>
  177. </div>
  178. <hr/>The documentation for this class was generated from the following files:<ul>
  179. <li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
  180. <li>mainwindow.cpp</li>
  181. </ul>
  182. </div><!-- contents -->
  183. <!-- start footer part -->
  184. <hr class="footer"/><address class="footer"><small>
  185. Generated on Tue Aug 11 2015 13:05:14 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  186. <img class="footer" src="doxygen.png" alt="doxygen"/>
  187. </a> 1.8.9.1
  188. </small></address>
  189. </body>
  190. </html>