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

📄 qwtwheel.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtWheel" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtWheel \- .SH SYNOPSIS.br.PPInherits \fBQwtSliderBase\fP..PP.SH "Detailed Description".PP The Wheel Widget. The wheel widget can be used to change values over a very large range in very small steps. Using the setMass member, it can be configured as a flywheel..PP\fBSee also:\fP.RS 4The radio example. .RE.PP.PPDefinition at line 25 of file qwt_wheel.h..SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtWheel\fP (QWidget *parent=0, const char *name=0)".br.ti -1c.RI "virtual \fB~QwtWheel\fP ()".br.ti -1c.RI "virtual void \fBsetOrientation\fP (Qt::Orientation)".br.ti -1c.RI "double \fBtotalAngle\fP () const".br.ti -1c.RI "double \fBviewAngle\fP () const".br.ti -1c.RI "int \fBtickCnt\fP () const".br.ti -1c.RI "int \fBinternalBorder\fP () const".br.ti -1c.RI "double \fBmass\fP () const".br.ti -1c.RI "void \fBsetTotalAngle\fP (double angle)".br.ti -1c.RI "void \fBsetTickCnt\fP (int cnt)".br.ti -1c.RI "void \fBsetViewAngle\fP (double angle)".br.ti -1c.RI "void \fBsetInternalBorder\fP (int width)".br.ti -1c.RI "void \fBsetMass\fP (double val)".br.ti -1c.RI "void \fBsetWheelWidth\fP (int w)".br.ti -1c.RI "virtual QSize \fBsizeHint\fP () const".br.ti -1c.RI "virtual QSize \fBminimumSizeHint\fP () const".br.ti -1c.RI "virtual QSizePolicy \fBsizePolicy\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "virtual void \fBresizeEvent\fP (QResizeEvent *e)".br.ti -1c.RI "virtual void \fBpaintEvent\fP (QPaintEvent *e)".br.ti -1c.RI "void \fBlayoutWheel\fP (bool update=TRUE)".br.ti -1c.RI "void \fBdraw\fP (QPainter *p, const QRect &update_rect)".br.ti -1c.RI "void \fBdrawWheel\fP (QPainter *p, const QRect &r)".br.ti -1c.RI "void \fBdrawWheelBackground\fP (QPainter *p, const QRect &r)".br.ti -1c.RI "void \fBsetColorArray\fP ()".br.ti -1c.RI "virtual void \fBvalueChange\fP ()".br.ti -1c.RI "virtual void \fBpaletteChange\fP (const QPalette &)".br.ti -1c.RI "virtual double \fBgetValue\fP (const QPoint &p)".br.ti -1c.RI "virtual void \fBgetScrollMode\fP (const QPoint &p, int &scrollMode, int &direction)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtWheel::QwtWheel (QWidget * parent = \fC0\fP, const char * name = \fC0\fP)".PPConstructor. .PPDefinition at line 20 of file qwt_wheel.cpp..PPReferences QwtSliderBase::setUpdateTime()..SS "QwtWheel::~\fBQwtWheel\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 37 of file qwt_wheel.cpp..SH "Member Function Documentation".PP .SS "void QwtWheel::draw (QPainter * p, const QRect & update_rect)\fC [protected]\fP".PPRedraw panel and wheel. .PPDefinition at line 437 of file qwt_wheel.cpp..PPReferences drawWheel()..PPReferenced by paintEvent()..SS "void QwtWheel::drawWheel (QPainter * p, const QRect & r)\fC [protected]\fP".PPRedraw the wheel. .PP\fBParameters:\fP.RS 4\fIp\fP painter .br\fIr\fP contents rectangle .RE.PPDefinition at line 265 of file qwt_wheel.cpp..PPReferences drawWheelBackground(), QwtDblRange::maxValue(), QwtDblRange::minValue(), QwtSliderBase::orientation(), and QwtDblRange::value()..PPReferenced by draw()..SS "void QwtWheel::drawWheelBackground (QPainter * p, const QRect & r)\fC [protected]\fP".PPDraw the Wheel's background gradient. .PPDefinition at line 123 of file qwt_wheel.cpp..PPReferences QwtSliderBase::orientation(), and setColorArray()..PPReferenced by drawWheel()..SS "void QwtWheel::getScrollMode (const QPoint & p, int & scrollMode, int & direction)\fC [protected, virtual]\fP".PPDetermine the scrolling mode and direction corresponding to a specified point. .PP\fBParameters:\fP.RS 4\fIp\fP point .br\fIscrollMode\fP scrolling mode .br\fIdirection\fP direction .RE.PP.PPImplements \fBQwtSliderBase\fP..PPDefinition at line 481 of file qwt_wheel.cpp..SS "double QwtWheel::getValue (const QPoint & p)\fC [protected, virtual]\fP".PPDetermine the value corresponding to a specified point. .PPImplements \fBQwtSliderBase\fP..PPDefinition at line 372 of file qwt_wheel.cpp..PPReferences QwtDblRange::maxValue(), QwtDblRange::minValue(), and QwtSliderBase::orientation()..SS "void QwtWheel::layoutWheel (bool update = \fCTRUE\fP)\fC [protected]\fP".PPRecalculate the slider's geometry and layout based on. .PPDefinition at line 411 of file qwt_wheel.cpp..PPReferenced by resizeEvent(), setInternalBorder(), setOrientation(), and setWheelWidth()..SS "double QwtWheel::mass () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4mass .RE.PP.PPReimplemented from \fBQwtSliderBase\fP..PPDefinition at line 97 of file qwt_wheel.cpp..PPReferences QwtSliderBase::mass()..SS "QSize QwtWheel::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. .PP\fBWarning:\fP.RS 4The return value is based on the wheel width. .RE.PPDefinition at line 548 of file qwt_wheel.cpp..PPReferences QwtSliderBase::orientation()..PPReferenced by sizeHint()..SS "void QwtWheel::paintEvent (QPaintEvent * e)\fC [protected, virtual]\fP".PPQt Paint Event. .PPDefinition at line 425 of file qwt_wheel.cpp..PPReferences draw(), and QwtPaintBuffer::painter()..SS "void QwtWheel::paletteChange (const QPalette &)\fC [protected, virtual]\fP".PPCall update() when the palette changes. .PPDefinition at line 560 of file qwt_wheel.cpp..SS "void QwtWheel::resizeEvent (QResizeEvent * e)\fC [protected, virtual]\fP".PPQt Resize Event. .PPDefinition at line 402 of file qwt_wheel.cpp..PPReferences layoutWheel()..SS "void QwtWheel::setColorArray ()\fC [protected]\fP".PPSet up the color array for the background pixmap. .PPDefinition at line 45 of file qwt_wheel.cpp..PPReferenced by drawWheelBackground()..SS "void QwtWheel::setInternalBorder (int w)".PPSet the internal border width of the wheel. .PPThe internal border must not be smaller than 1 and is limited in dependence on the wheel's size. Values outside the allowed range will be clipped..PPThe internal border defaults to 2. .PP\fBParameters:\fP.RS 4\fIw\fP border width .RE.PPDefinition at line 114 of file qwt_wheel.cpp..PPReferences layoutWheel()..SS "void QwtWheel::setMass (double val)\fC [virtual]\fP".PPSet the mass of the wheel. .PPAssigning a mass turns the wheel into a flywheel. .PP\fBParameters:\fP.RS 4\fIval\fP the wheel's mass .RE.PP.PPReimplemented from \fBQwtSliderBase\fP..PPDefinition at line 497 of file qwt_wheel.cpp..PPReferences QwtSliderBase::setMass()..SS "void QwtWheel::setOrientation (Qt::Orientation o)\fC [virtual]\fP".PPSet the wheel's orientation. .PP\fBParameters:\fP.RS 4\fIo\fP Orientation. Allowed values are Qt::Horizontal and Qt::Vertical. Defaults to Qt::Horizontal. .RE.PP\fBSee also:\fP.RS 4\fBQwtSliderBase::orientation()\fP .RE.PPDefinition at line 237 of file qwt_wheel.cpp..PPReferences layoutWheel(), QwtSliderBase::orientation(), and QwtSliderBase::setOrientation()..SS "void QwtWheel::setTickCnt (int cnt)".PPAdjust the number of grooves in the wheel's surface. .PPThe number of grooves is limited to 6 <= cnt <= 50. Values outside this range will be clipped. The default value is 10. .PP\fBParameters:\fP.RS 4\fIcnt\fP Number of grooves per 360 degrees .RE.PPDefinition at line 88 of file qwt_wheel.cpp..PPReferences qwtLim()..SS "void QwtWheel::setTotalAngle (double angle)".PPSet the total angle which the wheel can be turned. .PPOne full turn of the wheel corresponds to an angle of 360 degrees. A total angle of n*360 degrees means that the wheel has to be turned n times around its axis to get from the minimum value to the maximum value..PPThe default setting of the total angle is 360 degrees. .PP\fBParameters:\fP.RS 4\fIangle\fP total angle in degrees .RE.PPDefinition at line 224 of file qwt_wheel.cpp..PPReferences qwtLim()..SS "void QwtWheel::setViewAngle (double angle)".PPSpecify the visible portion of the wheel. .PPYou may use this function for fine-tuning the appearance of the wheel. The default value is 175 degrees. The value is limited from 10 to 175 degrees. .PP\fBParameters:\fP.RS 4\fIangle\fP Visible angle in degrees .RE.PPDefinition at line 254 of file qwt_wheel.cpp..PPReferences qwtLim()..SS "void QwtWheel::setWheelWidth (int w)".PPSet the width of the wheel. .PPCorresponds to the wheel height for horizontal orientation, and the wheel width for vertical orientation. .PP\fBParameters:\fP.RS 4\fIw\fP the wheel's width .RE.PPDefinition at line 509 of file qwt_wheel.cpp..PPReferences layoutWheel()..SS "QSize QwtWheel::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4a size hint .RE.PPDefinition at line 539 of file qwt_wheel.cpp..PPReferences minimumSizeHint()..SS "QSizePolicy QwtWheel::sizePolicy () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4Preferred/Fixed for horizontal, Fixed/Preferred for vertical scales. .RE.PPDefinition at line 520 of file qwt_wheel.cpp..PPReferences QwtSliderBase::orientation()..SS "void QwtWheel::valueChange ()\fC [protected, virtual]\fP".PPNotify value change. .PPReimplemented from \fBQwtSliderBase\fP..PPDefinition at line 467 of file qwt_wheel.cpp..PPReferences QwtSliderBase::valueChange()..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 + -