qwtdialsimpleneedle.3

来自「This a framework to test new ideas in tr」· 3 代码 · 共 94 行

3
94
字号
.TH "QwtDialSimpleNeedle" 3 "4 Nov 2003" "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.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, bool hasKnob = TRUE, const QColor & mid = Qt::gray, const QColor & base = Qt::darkGray)".PPConstructor. .SH "Member Function Documentation".PP .SS "void QwtDialSimpleNeedle::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 + =
减小字号Ctrl + -
显示快捷键?