📄 qwtdialneedle.3
字号:
.TH "QwtDialNeedle" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtDialNeedle \- .SH SYNOPSIS.br.PPInherited by \fBQwtCompassMagnetNeedle\fP, \fBQwtCompassWindArrow\fP, and \fBQwtDialSimpleNeedle\fP..PP.SH "Detailed Description".PP Base class for needles that can be used in a \fBQwtDial\fP. QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction..PPQwt is missing a set of good looking needles. Contributions are very welcome..PP\fBSee also:\fP.RS 4\fBQwtDial\fP, \fBQwtCompass\fP .RE.PP.PP.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtDialNeedle\fP ()".br.ti -1c.RI "virtual \fB~QwtDialNeedle\fP ()".br.ti -1c.RI "virtual void \fBdraw\fP (QPainter *painter, const QPoint ¢er, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0".br.ti -1c.RI "virtual void \fBsetPalette\fP (const QPalette &)".br.ti -1c.RI "const QPalette & \fBpalette\fP () const ".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "const QColorGroup & \fBcolorGroup\fP (QPalette::ColorGroup) const ".br.in -1c.SS "Static Protected Member Functions".in +1c.ti -1c.RI "void \fBdrawKnob\fP (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtDialNeedle::QwtDialNeedle ()".PPConstructor. .SS "QwtDialNeedle::~\fBQwtDialNeedle\fP ()\fC [virtual]\fP".PPDestructor. .SH "Member Function Documentation".PP .SS "const QColorGroup & QwtDialNeedle::colorGroup (QPalette::ColorGroup cg) const\fC [protected]\fP".PP\fBParameters:\fP.RS 4\fIcg\fP Identifier of the color group .RE.PP\fBReturns:\fP.RS 4The color group of the palette. .RE.PP.SS "virtual void QwtDialNeedle::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup cg = QPalette::Active) const\fC [pure virtual]\fP".PPDraw the needle.PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIcenter\fP Center of the dial, start position for the needle .br\fIlength\fP Length of the needle .br\fIdirection\fP Direction of the needle, in degrees counter clockwise .br\fIcg\fP Color group, used for painting .RE.PPImplemented in \fBQwtDialSimpleNeedle\fP, \fBQwtCompassMagnetNeedle\fP, and \fBQwtCompassWindArrow\fP..SS "const QPalette & QwtDialNeedle::palette () const".PPReturn the palette of the needle. .SS "void QwtDialNeedle::setPalette (const QPalette & palette)\fC [virtual]\fP".PPSets the palette for the needle..PP\fBParameters:\fP.RS 4\fIpalette\fP New Palette .RE.PP.SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -