📄 qwtdialsimpleneedle.3
字号:
.TH "QwtDialSimpleNeedle" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtDialSimpleNeedle \- .SH SYNOPSIS.br.PPInherits \fBQwtDialNeedle\fP..PP.SH "Detailed Description".PP A needle for dial widgets.PPThe following colors are used:.IP "\(bu" 2QColorGroup::Mid.br Pointer.IP "\(bu" 2QColorGroup::base.br Knob.PP.PP\fBSee also:\fP.RS 4\fBQwtDial\fP, \fBQwtCompass\fP .RE.PP.PPDefinition at line 74 of file qwt_dial_needle.h..SS "Public Types".in +1c.ti -1c.RI "enum \fBStyle\fP { \fBArrow\fP, \fBRay\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtDialSimpleNeedle\fP (Style, bool hasKnob=TRUE, const QColor &mid=Qt::gray, const QColor &base=Qt::darkGray)".br.ti -1c.RI "virtual void \fBdraw\fP (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const".br.ti -1c.RI "void \fBsetWidth\fP (int width)".br.ti -1c.RI "int \fBwidth\fP () const".br.in -1c.SS "Static Public Member Functions".in +1c.ti -1c.RI "void \fBdrawArrowNeedle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, int width, double direction, bool hasKnob)".br.ti -1c.RI "void \fBdrawRayNeedle\fP (QPainter *, const QColorGroup &, const QPoint &, int length, int width, double direction, bool hasKnob)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtDialSimpleNeedle::QwtDialSimpleNeedle (Style style, bool hasKnob = \fCTRUE\fP, const QColor & mid = \fCQt::gray\fP, const QColor & base = \fCQt::darkGray\fP)".PPConstructor Definition at line 101 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::setPalette()..SH "Member Function Documentation".PP .SS "void QwtDialSimpleNeedle::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 142 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::colorGroup(), drawArrowNeedle(), and drawRayNeedle()..SS "void QwtDialSimpleNeedle::drawArrowNeedle (QPainter * painter, const QColorGroup & cg, const QPoint & center, int length, int width, double direction, bool hasKnob)\fC [static]\fP".PPDraw a needle looking like an arrow Definition at line 208 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::drawKnob()..PPReferenced by draw()..SS "void QwtDialSimpleNeedle::drawRayNeedle (QPainter * painter, const QColorGroup & cg, const QPoint & center, int length, int width, double direction, bool hasKnob)\fC [static]\fP".PPDraw a needle looking like a ray Definition at line 160 of file qwt_dial_needle.cpp..PPReferences QwtDialNeedle::drawKnob()..PPReferenced by draw()..SS "void QwtDialSimpleNeedle::setWidth (int width)".PPSet the width of the needle. .PPDefinition at line 120 of file qwt_dial_needle.cpp..PPReferenced by QwtAnalogClock::QwtAnalogClock()..SS "int QwtDialSimpleNeedle::width () const".PP\fBReturns:\fP.RS 4the width of the needle .RE.PPDefinition at line 128 of file qwt_dial_needle.cpp..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 + -