Ei kuvausta

class_clickable_label.html 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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: ClickableLabel 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="#signals">Signals</a> &#124;
  86. <a href="#pub-methods">Public Member Functions</a> &#124;
  87. <a href="#pub-attribs">Public Attributes</a> &#124;
  88. <a href="class_clickable_label-members.html">List of all members</a> </div>
  89. <div class="headertitle">
  90. <div class="title">ClickableLabel Class Reference</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p><code>#include &lt;<a class="el" href="_clickable_label_8h_source.html">ClickableLabel.h</a>&gt;</code></p>
  94. <div class="dynheader">
  95. Inheritance diagram for ClickableLabel:</div>
  96. <div class="dyncontent">
  97. <div class="center">
  98. <img src="class_clickable_label.png" usemap="#ClickableLabel_map" alt=""/>
  99. <map id="ClickableLabel_map" name="ClickableLabel_map">
  100. </map>
  101. </div></div>
  102. <table class="memberdecls">
  103. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  104. Signals</h2></td></tr>
  105. <tr class="memitem:a6921078a370cf6289bc029ff92c6239c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6921078a370cf6289bc029ff92c6239c"></a>
  106. void&#160;</td><td class="memItemRight" valign="bottom"><b>Mouse_Pressed</b> ()</td></tr>
  107. <tr class="separator:a6921078a370cf6289bc029ff92c6239c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a7f7b212c028f557c801ce57425cbdba8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f7b212c028f557c801ce57425cbdba8"></a>
  109. void&#160;</td><td class="memItemRight" valign="bottom"><b>Mouse_Pos</b> ()</td></tr>
  110. <tr class="separator:a7f7b212c028f557c801ce57425cbdba8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:abab95f014364c2fc02b6e8c1f1794b5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abab95f014364c2fc02b6e8c1f1794b5c"></a>
  112. void&#160;</td><td class="memItemRight" valign="bottom"><b>Mouse_Left</b> ()</td></tr>
  113. <tr class="separator:abab95f014364c2fc02b6e8c1f1794b5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table><table class="memberdecls">
  115. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  116. Public Member Functions</h2></td></tr>
  117. <tr class="memitem:a62b23a9a7f7aed36692db03640561072"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62b23a9a7f7aed36692db03640561072"></a>
  118. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clickable_label.html#a62b23a9a7f7aed36692db03640561072">ClickableLabel</a> (QWidget *parent=0)</td></tr>
  119. <tr class="memdesc:a62b23a9a7f7aed36692db03640561072"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
  120. <tr class="separator:a62b23a9a7f7aed36692db03640561072"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a6207e08167257d9a0505a219a659c53f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6207e08167257d9a0505a219a659c53f"></a>
  122. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clickable_label.html#a6207e08167257d9a0505a219a659c53f">mouseMoveEvent</a> (QMouseEvent *ev)</td></tr>
  123. <tr class="memdesc:a6207e08167257d9a0505a219a659c53f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funtion to add mouse event to the labelWidget. <br /></td></tr>
  124. <tr class="separator:a6207e08167257d9a0505a219a659c53f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:adfec8a6c2ddd87b673f3a734ea6afa2b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfec8a6c2ddd87b673f3a734ea6afa2b"></a>
  126. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clickable_label.html#adfec8a6c2ddd87b673f3a734ea6afa2b">mousePressEvent</a> (QMouseEvent *ev)</td></tr>
  127. <tr class="memdesc:adfec8a6c2ddd87b673f3a734ea6afa2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funtion to add mouse event to the labelWidget. <br /></td></tr>
  128. <tr class="separator:adfec8a6c2ddd87b673f3a734ea6afa2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:ad884c3cdc7a6c16af19143e84c79b5da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad884c3cdc7a6c16af19143e84c79b5da"></a>
  130. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_clickable_label.html#ad884c3cdc7a6c16af19143e84c79b5da">leaveEvent</a> (QEvent *)</td></tr>
  131. <tr class="memdesc:ad884c3cdc7a6c16af19143e84c79b5da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Funtion to add mouse event to the labelWidget. <br /></td></tr>
  132. <tr class="separator:ad884c3cdc7a6c16af19143e84c79b5da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. </table><table class="memberdecls">
  134. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  135. Public Attributes</h2></td></tr>
  136. <tr class="memitem:ac4efea912d411bc2ab98b4ea06cb076a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4efea912d411bc2ab98b4ea06cb076a"></a>
  137. int&#160;</td><td class="memItemRight" valign="bottom"><b>x</b></td></tr>
  138. <tr class="separator:ac4efea912d411bc2ab98b4ea06cb076a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:ad59a3ac94dbad08ac2f60d70b063d130"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad59a3ac94dbad08ac2f60d70b063d130"></a>
  140. int&#160;</td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
  141. <tr class="separator:ad59a3ac94dbad08ac2f60d70b063d130"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. </table>
  143. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  144. <div class="textblock"><p>A class that permits a label to be clicked.</p>
  145. <p>With this class we can determine de mouse position when is pressed and when the mouse left the label. </p>
  146. </div><hr/>The documentation for this class was generated from the following files:<ul>
  147. <li><a class="el" href="_clickable_label_8h_source.html">ClickableLabel.h</a></li>
  148. <li>ClickableLabel.cpp</li>
  149. </ul>
  150. </div><!-- contents -->
  151. <!-- start footer part -->
  152. <hr class="footer"/><address class="footer"><small>
  153. Generated on Fri Jun 12 2015 14:32:24 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  154. <img class="footer" src="doxygen.png" alt="doxygen"/>
  155. </a> 1.8.9.1
  156. </small></address>
  157. </body>
  158. </html>