📄 qwtcompassmagnetneedle.3
字号:
.TH "QwtCompassMagnetNeedle" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtCompassMagnetNeedle \- .SH SYNOPSIS.br.PPInherits \fBQwtDialNeedle\fP..PP.SH "Detailed Description".PP A magnet needle for compass widgets. A magnet needle points to two opposite directions indicating north and south..PPThe following colors are used:.IP "\(bu" 2QColorGroup::Light.br Used for pointing south.IP "\(bu" 2QColorGroup::Dark.br Used for pointing north.IP "\(bu" 2QColorGroup::Base.br Knob (ThinStyle only).PP.PP\fBSee also:\fP.RS 4\fBQwtDial\fP, \fBQwtCompass\fP .RE.PP.PP.SS "Public Types".in +1c.ti -1c.RI "enum \fBStyle\fP { \fBTriangleStyle\fP, \fBThinStyle\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtCompassMagnetNeedle\fP (Style=TriangleStyle, const QColor &light=Qt::white, const QColor &dark=Qt::red)".br.ti -1c.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const ".br.in -1c.SS "Static Public Member Functions".in +1c.ti -1c.RI "void \fBdrawTriangleNeedle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, double direction)".br.ti -1c.RI "void \fBdrawThinNeedle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, double direction)".br.in -1c.SS "Static Protected Member Functions".in +1c.ti -1c.RI "void \fBdrawPointer\fP (QPainter *painter, const QBrush &brush, int colorOffset, const QPoint ¢er, int length, int width, double direction)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtCompassMagnetNeedle::QwtCompassMagnetNeedle (Style = TriangleStyle, const QColor & light = Qt::white, const QColor & dark = Qt::red)".PPConstructor. .SH "Member Function Documentation".PP .SS "void QwtCompassMagnetNeedle::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup cg = QPalette::Active) const\fC [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.PPImplements \fBQwtDialNeedle\fP..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 + -