QwtPolarCanvas.3 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. .TH "QwtPolarCanvas" 3 "Fri Sep 19 2014" "Version 1.1.1" "Qwt Polar User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtPolarCanvas \-
  6. .PP
  7. Canvas of a \fBQwtPolarPlot\fP\&.
  8. .SH SYNOPSIS
  9. .br
  10. .PP
  11. .PP
  12. \fC#include <qwt_polar_canvas\&.h>\fP
  13. .PP
  14. Inherits QFrame\&.
  15. .SS "Public Types"
  16. .in +1c
  17. .ti -1c
  18. .RI "enum \fBPaintAttribute\fP { \fBBackingStore\fP = 0x01 }"
  19. .br
  20. .RI "\fIPaint attributes\&. \fP"
  21. .ti -1c
  22. .RI "typedef QFlags< \fBPaintAttribute\fP > \fBPaintAttributes\fP"
  23. .br
  24. .RI "\fIPaint attributes\&. \fP"
  25. .in -1c
  26. .SS "Public Member Functions"
  27. .in +1c
  28. .ti -1c
  29. .RI "\fBQwtPolarCanvas\fP (\fBQwtPolarPlot\fP *)"
  30. .br
  31. .RI "\fIConstructor\&. \fP"
  32. .ti -1c
  33. .RI "virtual \fB~QwtPolarCanvas\fP ()"
  34. .br
  35. .RI "\fIDestructor\&. \fP"
  36. .ti -1c
  37. .RI "\fBQwtPolarPlot\fP * \fBplot\fP ()"
  38. .br
  39. .ti -1c
  40. .RI "const \fBQwtPolarPlot\fP * \fBplot\fP () const "
  41. .br
  42. .ti -1c
  43. .RI "void \fBsetPaintAttribute\fP (\fBPaintAttribute\fP, bool on=true)"
  44. .br
  45. .RI "\fIChanging the paint attributes\&. \fP"
  46. .ti -1c
  47. .RI "bool \fBtestPaintAttribute\fP (\fBPaintAttribute\fP) const "
  48. .br
  49. .ti -1c
  50. .RI "const QPixmap * \fBbackingStore\fP () const "
  51. .br
  52. .ti -1c
  53. .RI "void \fBinvalidateBackingStore\fP ()"
  54. .br
  55. .RI "\fIInvalidate the internal backing store\&. \fP"
  56. .ti -1c
  57. .RI "QwtPointPolar \fBinvTransform\fP (const QPoint &) const "
  58. .br
  59. .ti -1c
  60. .RI "QPoint \fBtransform\fP (const QwtPointPolar &) const "
  61. .br
  62. .in -1c
  63. .SS "Protected Member Functions"
  64. .in +1c
  65. .ti -1c
  66. .RI "virtual void \fBpaintEvent\fP (QPaintEvent *)"
  67. .br
  68. .ti -1c
  69. .RI "virtual void \fBresizeEvent\fP (QResizeEvent *)"
  70. .br
  71. .in -1c
  72. .SH "Detailed Description"
  73. .PP
  74. Canvas of a \fBQwtPolarPlot\fP\&.
  75. The canvas is the widget, where all polar items are painted to\&.
  76. .PP
  77. \fBNote:\fP
  78. .RS 4
  79. In opposite to QwtPlot all axes are painted on the canvas\&.
  80. .RE
  81. .PP
  82. \fBSee Also:\fP
  83. .RS 4
  84. \fBQwtPolarPlot\fP
  85. .RE
  86. .PP
  87. .SH "Member Enumeration Documentation"
  88. .PP
  89. .SS "enum \fBQwtPolarCanvas::PaintAttribute\fP"
  90. .PP
  91. Paint attributes\&. The default setting enables BackingStore
  92. .PP
  93. \fBSee Also:\fP
  94. .RS 4
  95. \fBsetPaintAttribute()\fP, \fBtestPaintAttribute()\fP, \fBbackingStore()\fP
  96. .RE
  97. .PP
  98. .PP
  99. \fBEnumerator\fP
  100. .in +1c
  101. .TP
  102. \fB\fIBackingStore \fP\fP
  103. Paint double buffered and reuse the content of the pixmap buffer for some spontaneous repaints that happen when a plot gets unhidden, deiconified or changes the focus\&.
  104. .SH "Member Function Documentation"
  105. .PP
  106. .SS "const QPixmap * QwtPolarCanvas::backingStore () const"
  107. .PP
  108. \fBReturns:\fP
  109. .RS 4
  110. Backing store, might be null
  111. .RE
  112. .PP
  113. .SS "QwtPointPolar QwtPolarCanvas::invTransform (const QPoint &pos) const"
  114. Translate a point from widget into plot coordinates
  115. .PP
  116. \fBParameters:\fP
  117. .RS 4
  118. \fIpos\fP Point in widget coordinates of the plot canvas
  119. .RE
  120. .PP
  121. \fBReturns:\fP
  122. .RS 4
  123. Point in plot coordinates
  124. .RE
  125. .PP
  126. \fBSee Also:\fP
  127. .RS 4
  128. \fBtransform()\fP
  129. .RE
  130. .PP
  131. .SS "void QwtPolarCanvas::paintEvent (QPaintEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
  132. Paint event
  133. .PP
  134. \fBParameters:\fP
  135. .RS 4
  136. \fIevent\fP Paint event
  137. .RE
  138. .PP
  139. .SS "\fBQwtPolarPlot\fP * QwtPolarCanvas::plot ()"
  140. .PP
  141. \fBReturns:\fP
  142. .RS 4
  143. Parent plot widget
  144. .RE
  145. .PP
  146. .SS "const \fBQwtPolarPlot\fP * QwtPolarCanvas::plot () const"
  147. .PP
  148. \fBReturns:\fP
  149. .RS 4
  150. Parent plot widget
  151. .RE
  152. .PP
  153. .SS "void QwtPolarCanvas::resizeEvent (QResizeEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
  154. Resize event
  155. .PP
  156. \fBParameters:\fP
  157. .RS 4
  158. \fIevent\fP Resize event
  159. .RE
  160. .PP
  161. .SS "void QwtPolarCanvas::setPaintAttribute (\fBPaintAttribute\fPattribute, boolon = \fCtrue\fP)"
  162. .PP
  163. Changing the paint attributes\&.
  164. .PP
  165. \fBParameters:\fP
  166. .RS 4
  167. \fIattribute\fP Paint attribute
  168. .br
  169. \fIon\fP On/Off
  170. .RE
  171. .PP
  172. The default setting enables BackingStore
  173. .PP
  174. \fBSee Also:\fP
  175. .RS 4
  176. \fBtestPaintAttribute()\fP, paintCache()
  177. .RE
  178. .PP
  179. .SS "bool QwtPolarCanvas::testPaintAttribute (\fBPaintAttribute\fPattribute) const"
  180. Test wether a paint attribute is enabled
  181. .PP
  182. \fBParameters:\fP
  183. .RS 4
  184. \fIattribute\fP Paint attribute
  185. .RE
  186. .PP
  187. \fBReturns:\fP
  188. .RS 4
  189. true if the attribute is enabled
  190. .RE
  191. .PP
  192. \fBSee Also:\fP
  193. .RS 4
  194. \fBsetPaintAttribute()\fP
  195. .RE
  196. .PP
  197. .SS "QPoint QwtPolarCanvas::transform (const QwtPointPolar &polarPos) const"
  198. Translate a point from plot into widget coordinates
  199. .PP
  200. \fBParameters:\fP
  201. .RS 4
  202. \fIpolarPos\fP Point in plot coordinates
  203. .RE
  204. .PP
  205. \fBReturns:\fP
  206. .RS 4
  207. Point in widget coordinates
  208. .RE
  209. .PP
  210. \fBSee Also:\fP
  211. .RS 4
  212. \fBtransform()\fP
  213. .RE
  214. .PP
  215. .SH "Author"
  216. .PP
  217. Generated automatically by Doxygen for Qwt Polar User's Guide from the source code\&.