QwtDialSimpleNeedle.3 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .TH "QwtDialSimpleNeedle" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtDialSimpleNeedle \- A needle for dial widgets\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_dial_needle\&.h>\fP
  11. .PP
  12. Inherits \fBQwtDialNeedle\fP\&.
  13. .SS "Public Types"
  14. .in +1c
  15. .ti -1c
  16. .RI "enum \fBStyle\fP { \fBArrow\fP, \fBRay\fP }"
  17. .br
  18. .RI "Style of the needle\&. "
  19. .in -1c
  20. .SS "Public Member Functions"
  21. .in +1c
  22. .ti -1c
  23. .RI "\fBQwtDialSimpleNeedle\fP (\fBStyle\fP, bool hasKnob=true, const QColor &mid=Qt::gray, const QColor &base=Qt::darkGray)"
  24. .br
  25. .ti -1c
  26. .RI "void \fBsetWidth\fP (double \fBwidth\fP)"
  27. .br
  28. .ti -1c
  29. .RI "double \fBwidth\fP () const"
  30. .br
  31. .in -1c
  32. .SS "Protected Member Functions"
  33. .in +1c
  34. .ti -1c
  35. .RI "virtual void \fBdrawNeedle\fP (QPainter *, double length, QPalette::ColorGroup) const"
  36. .br
  37. .in -1c
  38. .SH "Detailed Description"
  39. .PP
  40. A needle for dial widgets\&.
  41. The following colors are used:
  42. .PP
  43. .IP "\(bu" 2
  44. QPalette::Mid
  45. .br
  46. Pointer
  47. .IP "\(bu" 2
  48. QPalette::Base
  49. .br
  50. Knob
  51. .PP
  52. .PP
  53. \fBSee also\fP
  54. .RS 4
  55. \fBQwtDial\fP, \fBQwtCompass\fP
  56. .RE
  57. .PP
  58. .SH "Member Enumeration Documentation"
  59. .PP
  60. .SS "enum \fBQwtDialSimpleNeedle::Style\fP"
  61. .PP
  62. Style of the needle\&.
  63. .PP
  64. \fBEnumerator\fP
  65. .in +1c
  66. .TP
  67. \fB\fIArrow \fP\fP
  68. Arrow\&.
  69. .TP
  70. \fB\fIRay \fP\fP
  71. A straight line from the center\&.
  72. .SH "Constructor & Destructor Documentation"
  73. .PP
  74. .SS "QwtDialSimpleNeedle::QwtDialSimpleNeedle (\fBStyle\fP style, bool hasKnob = \fCtrue\fP, const QColor & mid = \fCQt::gray\fP, const QColor & base = \fCQt::darkGray\fP)"
  75. Constructor
  76. .PP
  77. \fBParameters\fP
  78. .RS 4
  79. \fIstyle\fP Style
  80. .br
  81. \fIhasKnob\fP With/Without knob
  82. .br
  83. \fImid\fP Middle color
  84. .br
  85. \fIbase\fP Base color
  86. .RE
  87. .PP
  88. .SH "Member Function Documentation"
  89. .PP
  90. .SS "void QwtDialSimpleNeedle::drawNeedle (QPainter * painter, double length, QPalette::ColorGroup colorGroup) const\fC [protected]\fP, \fC [virtual]\fP"
  91. Draw the needle
  92. .PP
  93. \fBParameters\fP
  94. .RS 4
  95. \fIpainter\fP Painter
  96. .br
  97. \fIlength\fP Length of the needle
  98. .br
  99. \fIcolorGroup\fP Color group, used for painting
  100. .RE
  101. .PP
  102. .PP
  103. Implements \fBQwtDialNeedle\fP\&.
  104. .SS "void QwtDialSimpleNeedle::setWidth (double width)"
  105. Set the width of the needle
  106. .PP
  107. \fBParameters\fP
  108. .RS 4
  109. \fIwidth\fP Width
  110. .RE
  111. .PP
  112. \fBSee also\fP
  113. .RS 4
  114. \fBwidth()\fP
  115. .RE
  116. .PP
  117. .SS "double QwtDialSimpleNeedle::width () const"
  118. .PP
  119. \fBReturns\fP
  120. .RS 4
  121. the width of the needle
  122. .RE
  123. .PP
  124. \fBSee also\fP
  125. .RS 4
  126. \fBsetWidth()\fP
  127. .RE
  128. .PP
  129. .SH "Author"
  130. .PP
  131. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.