Нема описа

class_main_window.html 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#ab23dfe8c817b34fc7e0e2a6f8b915755">addBird</a> (int x, int y, <a class="el" href="class_bird.html">Bird</a> &amp;b)</td></tr>
  111. <tr class="memdesc:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. <a href="#ab23dfe8c817b34fc7e0e2a6f8b915755">More...</a><br /></td></tr>
  112. <tr class="separator:ab23dfe8c817b34fc7e0e2a6f8b915755"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a94e721694e346cd56f20a16617befc66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_window.html#a94e721694e346cd56f20a16617befc66">addBird</a> (<a class="el" href="class_bird.html">Bird</a> &amp;b)</td></tr>
  114. <tr class="memdesc:a94e721694e346cd56f20a16617befc66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. <a href="#a94e721694e346cd56f20a16617befc66">More...</a><br /></td></tr>
  115. <tr class="separator:a94e721694e346cd56f20a16617befc66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. </table><table class="memberdecls">
  117. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  118. Private Attributes</h2></td></tr>
  119. <tr class="memitem:a35466a70ed47252a0191168126a352a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35466a70ed47252a0191168126a352a5"></a>
  120. Ui::MainWindow *&#160;</td><td class="memItemRight" valign="bottom"><b>ui</b></td></tr>
  121. <tr class="separator:a35466a70ed47252a0191168126a352a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a51ac2b126495216832501cea3929c6f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51ac2b126495216832501cea3929c6f6"></a>
  123. QGraphicsScene *&#160;</td><td class="memItemRight" valign="bottom"><b>scene</b></td></tr>
  124. <tr class="separator:a51ac2b126495216832501cea3929c6f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. </table>
  126. <h2 class="groupheader">Member Function Documentation</h2>
  127. <a class="anchor" id="ab23dfe8c817b34fc7e0e2a6f8b915755"></a>
  128. <div class="memitem">
  129. <div class="memproto">
  130. <table class="memname">
  131. <tr>
  132. <td class="memname">void MainWindow::addBird </td>
  133. <td>(</td>
  134. <td class="paramtype">int&#160;</td>
  135. <td class="paramname"><em>x</em>, </td>
  136. </tr>
  137. <tr>
  138. <td class="paramkey"></td>
  139. <td></td>
  140. <td class="paramtype">int&#160;</td>
  141. <td class="paramname"><em>y</em>, </td>
  142. </tr>
  143. <tr>
  144. <td class="paramkey"></td>
  145. <td></td>
  146. <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
  147. <td class="paramname"><em>b</em>&#160;</td>
  148. </tr>
  149. <tr>
  150. <td></td>
  151. <td>)</td>
  152. <td></td><td></td>
  153. </tr>
  154. </table>
  155. </div><div class="memdoc">
  156. <p>Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. </p>
  157. <dl class="params"><dt>Parameters</dt><dd>
  158. <table class="params">
  159. <tr><td class="paramname">x</td><td>X coordinate of the Main Window </td></tr>
  160. <tr><td class="paramname">y</td><td>Y coordinate of the Main Window </td></tr>
  161. <tr><td class="paramname">b</td><td><a class="el" href="class_bird.html">Bird</a> object to be painted </td></tr>
  162. </table>
  163. </dd>
  164. </dl>
  165. </div>
  166. </div>
  167. <a class="anchor" id="a94e721694e346cd56f20a16617befc66"></a>
  168. <div class="memitem">
  169. <div class="memproto">
  170. <table class="memname">
  171. <tr>
  172. <td class="memname">void MainWindow::addBird </td>
  173. <td>(</td>
  174. <td class="paramtype"><a class="el" href="class_bird.html">Bird</a> &amp;&#160;</td>
  175. <td class="paramname"><em>b</em></td><td>)</td>
  176. <td></td>
  177. </tr>
  178. </table>
  179. </div><div class="memdoc">
  180. <p>Paints a bird into the <a class="el" href="class_main_window.html">MainWindow</a>. </p>
  181. <dl class="params"><dt>Parameters</dt><dd>
  182. <table class="params">
  183. <tr><td class="paramname">b</td><td><a class="el" href="class_bird.html">Bird</a> object to be painted </td></tr>
  184. </table>
  185. </dd>
  186. </dl>
  187. </div>
  188. </div>
  189. <hr/>The documentation for this class was generated from the following files:<ul>
  190. <li><a class="el" href="mainwindow_8h_source.html">mainwindow.h</a></li>
  191. <li>mainwindow.cpp</li>
  192. </ul>
  193. </div><!-- contents -->
  194. <!-- start footer part -->
  195. <hr class="footer"/><address class="footer"><small>
  196. Generated on Fri Jun 5 2015 15:14:19 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  197. <img class="footer" src="doxygen.png" alt="doxygen"/>
  198. </a> 1.8.9.1
  199. </small></address>
  200. </body>
  201. </html>