📄 qwtcompassmagnetneedle.3
字号:
.TH "QwtCompassMagnetNeedle" 3 "16 Nov 2004" "Version 4.2.0" "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.PPDefinition at line 123 of file qwt_dial_needle.h..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 = \fCTriangleStyle\fP, const QColor & light = \fCQt::white\fP, const QColor & dark = \fCQt::red\fP)".PPConstructor. .PPDefinition at line 268 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::setPalette()..SH "Member Function Documentation".PP .SS "void QwtCompassMagnetNeedle::draw (QPainter * painter, const QPoint & center, int length, double direction, QPalette::ColorGroup cg = \fCQPalette::Active\fP) 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.PP.PPImplements \fBQwtDialNeedle\fP..PPDefinition at line 295 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::colorGroup(), drawThinNeedle(), and drawTriangleNeedle()..SS "void QwtCompassMagnetNeedle::drawPointer (QPainter * painter, const QBrush & brush, int colorOffset, const QPoint & center, int length, int width, double direction)\fC [static, protected]\fP".PPDraw a compass needle Definition at line 394 of file qwt_dial_needle.cpp..PPReferenced by drawThinNeedle()..SS "void QwtCompassMagnetNeedle::drawThinNeedle (QPainter * painter, const QColorGroup & cg, const QPoint & center, int length, double direction)\fC [static]\fP".PPDraw a compass needle Definition at line 369 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::drawKnob(), and drawPointer()..PPReferenced by draw()..SS "void QwtCompassMagnetNeedle::drawTriangleNeedle (QPainter * painter, const QColorGroup & cg, const QPoint & center, int length, double direction)\fC [static]\fP".PPDraw a compass needle Definition at line 313 of file qwt_dial_needle.cpp..PPReferenced by draw()..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 + -