classPVRShellMainWindow.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  3. <title>PowerVR SDK</title>
  4. <link href="doxygen.css" rel="stylesheet" type="text/css">
  5. <link href="tabs.css" rel="stylesheet" type="text/css">
  6. <table width="100%">
  7. <tr>
  8. <td width="33%">
  9. <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
  10. </td>
  11. <td width="33%">
  12. <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
  13. </td>
  14. <td width="34%">
  15. <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
  16. </td>
  17. </tr>
  18. </table>
  19. <hr>
  20. </head><body>
  21. <!-- Generated by Doxygen 1.3.6 -->
  22. <div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
  23. <h1>PVRShellMainWindow Class Reference</h1><code>#include &lt;<a class="el" href="PVRShellOS_8h-source.html">PVRShellOS.h</a>&gt;</code>
  24. <p>
  25. Collaboration diagram for PVRShellMainWindow:<p><center><img src="classPVRShellMainWindow__coll__graph.png" border="0" usemap="#PVRShellMainWindow__coll__map" alt="Collaboration graph"></center>
  26. <map name="PVRShellMainWindow__coll__map">
  27. <area href="classPVRShellInitOS.html" shape="rect" coords="111,97,228,124" alt="">
  28. <area href="classPVRShellInit.html" shape="rect" coords="120,188,219,215" alt="">
  29. <area href="classPVRShell.html" shape="rect" coords="213,279,293,305" alt="">
  30. <area href="classPVRShellInitAPI.html" shape="rect" coords="103,460,223,487" alt="">
  31. <area href="classPVRShellGLWidget.html" shape="rect" coords="165,369,304,396" alt="">
  32. <area href="structPVRShellData.html" shape="rect" coords="311,188,417,215" alt="">
  33. <area href="classPVRShellCommandLine.html" shape="rect" coords="252,97,417,124" alt="">
  34. <area href="structSCmdLineOpt.html" shape="rect" coords="281,7,388,33" alt="">
  35. </map>
  36. <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classPVRShellMainWindow-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
  37. <tr><td></td></tr>
  38. <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
  39. <tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a0">PVRShellMainWindow</a> (<a class="el" href="classPVRShellInit.html">PVRShellInit</a> *pInit)</td></tr>
  40. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a1">keyPressEvent</a> (QKeyEvent *keyEvent)</td></tr>
  41. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a2">mousePressEvent</a> (QMouseEvent *mouseEvent)</td></tr>
  42. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a3">mouseReleaseEvent</a> (QMouseEvent *mouseEvent)</td></tr>
  43. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a4">mouseMoveEvent</a> (QMouseEvent *mouseEvent)</td></tr>
  44. <tr><td class="memItemLeft" nowrap align=right valign=top>virtual QSize&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a5">sizeHint</a> ()</td></tr>
  45. <tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a6">IsTouched</a> ()</td></tr>
  46. <tr><td class="memItemLeft" nowrap align=right valign=top>float *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#a7">GetTouchPosition</a> ()</td></tr>
  47. <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
  48. <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classPVRShellInit.html">PVRShellInit</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#p0">m_pInit</a></td></tr>
  49. <tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#p1">m_bTouch</a></td></tr>
  50. <tr><td class="memItemLeft" nowrap align=right valign=top>float&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classPVRShellMainWindow.html#p2">m_fVec2PointerLocation</a> [2]</td></tr>
  51. </table>
  52. <hr><h2>Constructor &amp; Destructor Documentation</h2>
  53. <a class="anchor" name="a0" doxytag="PVRShellMainWindow::PVRShellMainWindow" ></a><p>
  54. <br><br><h3>PVRShellMainWindow</h3><br><div>
  55. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  56. <tr>
  57. <td class="mdRow">
  58. <table cellpadding="0" cellspacing="0" border="0">
  59. <tr>
  60. <td class="md" nowrap valign="top"> PVRShellMainWindow::PVRShellMainWindow </td>
  61. <td class="md" valign="top">(&nbsp;</td>
  62. <td class="md" nowrap valign="top"><a class="el" href="classPVRShellInit.html">PVRShellInit</a> *&nbsp;</td>
  63. <td class="mdname1" valign="top" nowrap> <em>pInit</em> </td>
  64. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  65. <td class="md" nowrap></td>
  66. </tr>
  67. </table>
  68. </td>
  69. </tr>
  70. </table>
  71. <table cellspacing=5 cellpadding=0 border=0>
  72. <tr>
  73. <td>
  74. &nbsp;
  75. </td>
  76. <td>
  77. <p>
  78. </td>
  79. </tr>
  80. </table>
  81. <hr><h2>Member Function Documentation</h2>
  82. <a class="anchor" name="a7" doxytag="PVRShellMainWindow::GetTouchPosition" ></a><p>
  83. <br><br><h3>GetTouchPosition</h3><br><div>
  84. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  85. <tr>
  86. <td class="mdRow">
  87. <table cellpadding="0" cellspacing="0" border="0">
  88. <tr>
  89. <td class="md" nowrap valign="top"> float * PVRShellMainWindow::GetTouchPosition </td>
  90. <td class="md" valign="top">(&nbsp;</td>
  91. <td class="mdname1" valign="top" nowrap> </td>
  92. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  93. <td class="md" nowrap></td>
  94. </tr>
  95. </table>
  96. </td>
  97. </tr>
  98. </table>
  99. <table cellspacing=5 cellpadding=0 border=0>
  100. <tr>
  101. <td>
  102. &nbsp;
  103. </td>
  104. <td>
  105. <p>
  106. </td>
  107. </tr>
  108. </table>
  109. <a class="anchor" name="a6" doxytag="PVRShellMainWindow::IsTouched" ></a><p>
  110. <br><br><h3>IsTouched</h3><br><div>
  111. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  112. <tr>
  113. <td class="mdRow">
  114. <table cellpadding="0" cellspacing="0" border="0">
  115. <tr>
  116. <td class="md" nowrap valign="top"> bool PVRShellMainWindow::IsTouched </td>
  117. <td class="md" valign="top">(&nbsp;</td>
  118. <td class="mdname1" valign="top" nowrap> </td>
  119. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  120. <td class="md" nowrap></td>
  121. </tr>
  122. </table>
  123. </td>
  124. </tr>
  125. </table>
  126. <table cellspacing=5 cellpadding=0 border=0>
  127. <tr>
  128. <td>
  129. &nbsp;
  130. </td>
  131. <td>
  132. <p>
  133. </td>
  134. </tr>
  135. </table>
  136. <a class="anchor" name="a1" doxytag="PVRShellMainWindow::keyPressEvent" ></a><p>
  137. <br><br><h3>keyPressEvent</h3><br><div>
  138. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  139. <tr>
  140. <td class="mdRow">
  141. <table cellpadding="0" cellspacing="0" border="0">
  142. <tr>
  143. <td class="md" nowrap valign="top"> void PVRShellMainWindow::keyPressEvent </td>
  144. <td class="md" valign="top">(&nbsp;</td>
  145. <td class="md" nowrap valign="top">QKeyEvent *&nbsp;</td>
  146. <td class="mdname1" valign="top" nowrap> <em>keyEvent</em> </td>
  147. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  148. <td class="md" nowrap><code> [virtual]</code></td>
  149. </tr>
  150. </table>
  151. </td>
  152. </tr>
  153. </table>
  154. <table cellspacing=5 cellpadding=0 border=0>
  155. <tr>
  156. <td>
  157. &nbsp;
  158. </td>
  159. <td>
  160. <p>
  161. </td>
  162. </tr>
  163. </table>
  164. <a class="anchor" name="a4" doxytag="PVRShellMainWindow::mouseMoveEvent" ></a><p>
  165. <br><br><h3>mouseMoveEvent</h3><br><div>
  166. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  167. <tr>
  168. <td class="mdRow">
  169. <table cellpadding="0" cellspacing="0" border="0">
  170. <tr>
  171. <td class="md" nowrap valign="top"> void PVRShellMainWindow::mouseMoveEvent </td>
  172. <td class="md" valign="top">(&nbsp;</td>
  173. <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>
  174. <td class="mdname1" valign="top" nowrap> <em>mouseEvent</em> </td>
  175. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  176. <td class="md" nowrap><code> [virtual]</code></td>
  177. </tr>
  178. </table>
  179. </td>
  180. </tr>
  181. </table>
  182. <table cellspacing=5 cellpadding=0 border=0>
  183. <tr>
  184. <td>
  185. &nbsp;
  186. </td>
  187. <td>
  188. <p>
  189. </td>
  190. </tr>
  191. </table>
  192. <a class="anchor" name="a2" doxytag="PVRShellMainWindow::mousePressEvent" ></a><p>
  193. <br><br><h3>mousePressEvent</h3><br><div>
  194. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  195. <tr>
  196. <td class="mdRow">
  197. <table cellpadding="0" cellspacing="0" border="0">
  198. <tr>
  199. <td class="md" nowrap valign="top"> void PVRShellMainWindow::mousePressEvent </td>
  200. <td class="md" valign="top">(&nbsp;</td>
  201. <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>
  202. <td class="mdname1" valign="top" nowrap> <em>mouseEvent</em> </td>
  203. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  204. <td class="md" nowrap><code> [virtual]</code></td>
  205. </tr>
  206. </table>
  207. </td>
  208. </tr>
  209. </table>
  210. <table cellspacing=5 cellpadding=0 border=0>
  211. <tr>
  212. <td>
  213. &nbsp;
  214. </td>
  215. <td>
  216. <p>
  217. </td>
  218. </tr>
  219. </table>
  220. <a class="anchor" name="a3" doxytag="PVRShellMainWindow::mouseReleaseEvent" ></a><p>
  221. <br><br><h3>mouseReleaseEvent</h3><br><div>
  222. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  223. <tr>
  224. <td class="mdRow">
  225. <table cellpadding="0" cellspacing="0" border="0">
  226. <tr>
  227. <td class="md" nowrap valign="top"> void PVRShellMainWindow::mouseReleaseEvent </td>
  228. <td class="md" valign="top">(&nbsp;</td>
  229. <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>
  230. <td class="mdname1" valign="top" nowrap> <em>mouseEvent</em> </td>
  231. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  232. <td class="md" nowrap><code> [virtual]</code></td>
  233. </tr>
  234. </table>
  235. </td>
  236. </tr>
  237. </table>
  238. <table cellspacing=5 cellpadding=0 border=0>
  239. <tr>
  240. <td>
  241. &nbsp;
  242. </td>
  243. <td>
  244. <p>
  245. </td>
  246. </tr>
  247. </table>
  248. <a class="anchor" name="a5" doxytag="PVRShellMainWindow::sizeHint" ></a><p>
  249. <br><br><h3>sizeHint</h3><br><div>
  250. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  251. <tr>
  252. <td class="mdRow">
  253. <table cellpadding="0" cellspacing="0" border="0">
  254. <tr>
  255. <td class="md" nowrap valign="top"> QSize PVRShellMainWindow::sizeHint </td>
  256. <td class="md" valign="top">(&nbsp;</td>
  257. <td class="mdname1" valign="top" nowrap> </td>
  258. <td class="md" valign="top">&nbsp;)&nbsp;</td>
  259. <td class="md" nowrap><code> [virtual]</code></td>
  260. </tr>
  261. </table>
  262. </td>
  263. </tr>
  264. </table>
  265. <table cellspacing=5 cellpadding=0 border=0>
  266. <tr>
  267. <td>
  268. &nbsp;
  269. </td>
  270. <td>
  271. <p>
  272. </td>
  273. </tr>
  274. </table>
  275. <hr><h2>Member Data Documentation</h2>
  276. <a class="anchor" name="p1" doxytag="PVRShellMainWindow::m_bTouch" ></a><p>
  277. <br><br><h3>m_bTouch</h3><br><div>
  278. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  279. <tr>
  280. <td class="mdRow">
  281. <table cellpadding="0" cellspacing="0" border="0">
  282. <tr>
  283. <td class="md" nowrap valign="top"> bool <a class="el" href="classPVRShellMainWindow.html#p1">PVRShellMainWindow::m_bTouch</a><code> [protected]</code>
  284. </table>
  285. </td>
  286. </tr>
  287. </table>
  288. <table cellspacing=5 cellpadding=0 border=0>
  289. <tr>
  290. <td>
  291. &nbsp;
  292. </td>
  293. <td>
  294. <p>
  295. </td>
  296. </tr>
  297. </table>
  298. <a class="anchor" name="p2" doxytag="PVRShellMainWindow::m_fVec2PointerLocation" ></a><p>
  299. <br><br><h3>m_fVec2PointerLocation</h3><br><div>
  300. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  301. <tr>
  302. <td class="mdRow">
  303. <table cellpadding="0" cellspacing="0" border="0">
  304. <tr>
  305. <td class="md" nowrap valign="top"> float <a class="el" href="classPVRShellMainWindow.html#p2">PVRShellMainWindow::m_fVec2PointerLocation</a>[2]<code> [protected]</code>
  306. </table>
  307. </td>
  308. </tr>
  309. </table>
  310. <table cellspacing=5 cellpadding=0 border=0>
  311. <tr>
  312. <td>
  313. &nbsp;
  314. </td>
  315. <td>
  316. <p>
  317. </td>
  318. </tr>
  319. </table>
  320. <a class="anchor" name="p0" doxytag="PVRShellMainWindow::m_pInit" ></a><p>
  321. <br><br><h3>m_pInit</h3><br><div>
  322. <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  323. <tr>
  324. <td class="mdRow">
  325. <table cellpadding="0" cellspacing="0" border="0">
  326. <tr>
  327. <td class="md" nowrap valign="top"> <a class="el" href="classPVRShellInit.html">PVRShellInit</a>* <a class="el" href="classPVRShellMainWindow.html#p0">PVRShellMainWindow::m_pInit</a><code> [protected]</code>
  328. </table>
  329. </td>
  330. </tr>
  331. </table>
  332. <table cellspacing=5 cellpadding=0 border=0>
  333. <tr>
  334. <td>
  335. &nbsp;
  336. </td>
  337. <td>
  338. <p>
  339. </td>
  340. </tr>
  341. </table>
  342. <hr>The documentation for this class was generated from the following files:<ul>
  343. <li><a class="el" href="PVRShellOS_8h-source.html">PVRShellOS.h</a><li><a class="el" href="PVRShellOS_8cpp.html">PVRShellOS.cpp</a></ul>
  344. <br>
  345. <br>
  346. <P align=left><FONT size=2><STRONG><A
  347. href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> ©
  348. 1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
  349. <hr>
  350. <address style="align: left;"><small><FONT color=f0f>
  351. Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
  352. </body>
  353. </html>