📄 qwtcompasswindarrow.3
字号:
.TH "QwtCompassWindArrow" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtCompassWindArrow \- .SH SYNOPSIS.br.PPInherits \fBQwtDialNeedle\fP..PP.SH "Detailed Description".PP An indicator for the wind direction. QwtCompassWindArrow shows the direction where the wind comes from..PP.IP "\(bu" 2QColorGroup::Light.br Used for Style1, or the light half of Style2.IP "\(bu" 2QColorGroup::Dark.br Used for the dark half of Style2.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 { \fBStyle1\fP, \fBStyle2\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtCompassWindArrow\fP (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray)".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 \fBdrawStyle1Needle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, double direction)".br.ti -1c.RI "void \fBdrawStyle2Needle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, double direction)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtCompassWindArrow::QwtCompassWindArrow (Style, const QColor & light = Qt::white, const QColor & dark = Qt::gray)".PPConstructor. .SH "Member Function Documentation".PP .SS "void QwtCompassWindArrow::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 + -