⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qwtknob.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtKnob" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtKnob \- .SH SYNOPSIS.br.PPInherits \fBQwtSliderBase\fP, and \fBQwtScaleIf\fP..PP.SH "Detailed Description".PP The Knob Widget. The QwtKnob widget imitates look and behaviour of a volume knob on a radio. It contains a scale around the knob which is set up automatically or can be configured manually (see \fBQwtScaleIf\fP). Automatic scrolling is enabled when the user presses a mouse button on the scale. For a description of signals, slots and other members, see \fBQwtSliderBase\fP..PP .PP\fBSee also:\fP.RS 4\fBQwtSliderBase\fP and \fBQwtScaleIf\fP for the descriptions of the inherited members. .RE.PP.PPDefinition at line 32 of file qwt_knob.h..SS "Public Types".in +1c.ti -1c.RI "enum \fBSymbol\fP { \fBLine\fP, \fBDot\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtKnob\fP (QWidget *parent=0, const char *name=0)".br.ti -1c.RI "virtual \fB~QwtKnob\fP ()".br.ti -1c.RI "void \fBsetKnobWidth\fP (int w)".br.ti -1c.RI "void \fBsetTotalAngle\fP (double angle)".br.ti -1c.RI "void \fBsetBorderWidth\fP (int bw)".br.ti -1c.RI "int \fBknobWidth\fP () const".br.ti -1c.RI "double \fBtotalAngle\fP () const".br.ti -1c.RI "int \fBborderWidth\fP () const".br.ti -1c.RI "void \fBsetSymbol\fP (\fBSymbol\fP)".br.ti -1c.RI "\fBSymbol\fP \fBsymbol\fP () const".br.ti -1c.RI "virtual QSize \fBsizeHint\fP () const".br.ti -1c.RI "virtual QSize \fBminimumSizeHint\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "virtual void \fBpaintEvent\fP (QPaintEvent *e)".br.ti -1c.RI "virtual void \fBresizeEvent\fP (QResizeEvent *e)".br.ti -1c.RI "void \fBdraw\fP (QPainter *p, const QRect &ur)".br.ti -1c.RI "void \fBdrawKnob\fP (QPainter *p, const QRect &r)".br.ti -1c.RI "void \fBdrawMarker\fP (QPainter *p, double arc, const QColor &c)".br.in -1c.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtKnob::Symbol\fP".PPSymbol .PP\fBSee also:\fP.RS 4\fBQwtKnob::QwtKnob()\fP .RE.PPDefinition at line 47 of file qwt_knob.h..PPReferenced by symbol()..SH "Constructor & Destructor Documentation".PP .SS "QwtKnob::QwtKnob (QWidget * parent = \fC0\fP, const char * name = \fC0\fP)".PPConstructor. .PP\fBParameters:\fP.RS 4\fIparent\fP Parent widget .br\fIname\fP Name .RE.PPDefinition at line 23 of file qwt_knob.cpp..PPReferences QwtScaleIf::scaleDraw(), QwtScaleDraw::setGeometry(), setTotalAngle(), and QwtSliderBase::setUpdateTime()..SS "QwtKnob::~\fBQwtKnob\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 49 of file qwt_knob.cpp..SH "Member Function Documentation".PP .SS "int QwtKnob::borderWidth () const".PPReturn the border width. .PPDefinition at line 61 of file qwt_knob.h..SS "void QwtKnob::draw (QPainter * painter, const QRect & ur)\fC [protected]\fP".PPRepaint the knob. .PPDefinition at line 275 of file qwt_knob.cpp..PPReferences QwtScaleDraw::draw(), drawKnob(), and QwtScaleIf::scaleDraw()..PPReferenced by paintEvent()..SS "void QwtKnob::drawKnob (QPainter * p, const QRect & r)\fC [protected]\fP".PPDraw the knob. .PP\fBParameters:\fP.RS 4\fIp\fP painter .br\fIr\fP borders of the knob .RE.PPDefinition at line 99 of file qwt_knob.cpp..PPReferences drawMarker(), and QwtSliderBase::isValid()..PPReferenced by draw()..SS "void QwtKnob::drawMarker (QPainter * p, double arc, const QColor & c)\fC [protected]\fP".PPDraw the marker at the knob's front. .PP\fBParameters:\fP.RS 4\fIp\fP Painter .br\fIarc\fP Angle of the marker .br\fIc\fP Marker color .RE.PPDefinition at line 301 of file qwt_knob.cpp..PPReferenced by drawKnob()..SS "int QwtKnob::knobWidth () const".PPReturn the width of the knob. .PPDefinition at line 57 of file qwt_knob.h..SS "QSize QwtKnob::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. .PP\fBWarning:\fP.RS 4The return value of \fBQwtKnob::minimumSizeHint()\fP depends on the font and the scale. .RE.PPDefinition at line 424 of file qwt_knob.cpp..PPReferences QwtScaleDraw::minHeight(), and QwtScaleIf::scaleDraw()..PPReferenced by sizeHint()..SS "void QwtKnob::paintEvent (QPaintEvent * e)\fC [protected, virtual]\fP".PPRepaint the knob. .PPDefinition at line 262 of file qwt_knob.cpp..PPReferences draw(), and QwtPaintBuffer::painter()..SS "void QwtKnob::resizeEvent (QResizeEvent * e)\fC [protected, virtual]\fP".PPQt Resize Event. .PPDefinition at line 228 of file qwt_knob.cpp..SS "void QwtKnob::setBorderWidth (int bw)".PPSet the knob's border width. .PP\fBParameters:\fP.RS 4\fIbw\fP new border width .RE.PPDefinition at line 360 of file qwt_knob.cpp..SS "void QwtKnob::setKnobWidth (int w)".PPChange the knob's width. .PPThe specified width must be >= 5, or it will be clipped. .PP\fBParameters:\fP.RS 4\fIw\fP New width .RE.PPDefinition at line 350 of file qwt_knob.cpp..SS "void QwtKnob::setSymbol (\fBQwtKnob::Symbol\fP s)".PPSet the symbol of the knob. .PP\fBSee also:\fP.RS 4\fBQwtKnob::symbol()\fP .RE.PPDefinition at line 57 of file qwt_knob.cpp..SS "void QwtKnob::setTotalAngle (double angle)".PPSet the total angle by which the knob can be turned. .PP\fBParameters:\fP.RS 4\fIangle\fP Angle in degrees..RE.PPThe default angle is 270 degrees. It is possible to specify an angle of more than 360 degrees so that the knob can be turned several times around its axis. Definition at line 83 of file qwt_knob.cpp..PPReferences QwtScaleIf::scaleDraw(), and QwtScaleDraw::setAngleRange()..PPReferenced by QwtKnob()..SS "QSize QwtKnob::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4\fBQwtKnob::minimumSizeHint()\fP .RE.PPDefinition at line 414 of file qwt_knob.cpp..PPReferences minimumSizeHint()..SS "\fBQwtKnob::Symbol\fP QwtKnob::symbol () const".PP\fBReturns:\fP.RS 4symbol of the knob .RE.PP\fBSee also:\fP.RS 4\fBQwtKnob::setSymbol()\fP .RE.PPDefinition at line 70 of file qwt_knob.cpp..PPReferences Symbol..SS "double QwtKnob::totalAngle () const".PPReturn the total angle. .PPDefinition at line 59 of file qwt_knob.h..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 + -