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

📄 qwtscaleif.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtScaleIf" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtScaleIf \- .SH SYNOPSIS.br.PPInherited by \fBQwtKnob\fP, \fBQwtSlider\fP, and \fBQwtThermo\fP..PP.SH "Detailed Description".PP An interface class for widgets containing a scale. This interface class is used to provide classes a \fBQwtScaleDraw\fP and an interface to access that scale. .PPDefinition at line 40 of file qwt_sclif.h..SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtScaleIf\fP ()".br.ti -1c.RI "virtual \fB~QwtScaleIf\fP ()".br.ti -1c.RI "void \fBsetScale\fP (double vmin, double vmax, int logarithmic=0)".br.ti -1c.RI "void \fBsetScale\fP (double vmin, double vmax, double step, int logarithmic=0)".br.ti -1c.RI "void \fBsetScale\fP (const \fBQwtScaleDiv\fP &s)".br.ti -1c.RI "void \fBsetScaleMaxMajor\fP (int ticks)".br.ti -1c.RI "void \fBsetScaleMaxMinor\fP (int ticks)".br.ti -1c.RI "void \fBautoScale\fP ()".br.ti -1c.RI "int \fBscaleMaxMinor\fP () const".br.ti -1c.RI "int \fBscaleMaxMajor\fP () const".br.ti -1c.RI "void \fBsetScaleDraw\fP (\fBQwtScaleDraw\fP *)".br.ti -1c.RI "const \fBQwtScaleDraw\fP * \fBscaleDraw\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "bool \fBhasUserScale\fP ()".br.ti -1c.RI "virtual void \fBscaleChange\fP ()=0".br.ti -1c.RI "\fBQwtScaleDraw\fP * \fBscaleDraw\fP ()".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtScaleIf::QwtScaleIf ()".PPConstructor. .PPDefinition at line 13 of file qwt_sclif.cpp..PPReferences QwtScaleDraw::setScale()..SS "QwtScaleIf::~\fBQwtScaleIf\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 24 of file qwt_sclif.cpp..SH "Member Function Documentation".PP .SS "void QwtScaleIf::autoScale ()".PPAdvise the widget to control the scale range internally. .PPAutoscaling is on by default. .PP\fBSee also:\fP.RS 4\fBQwtScaleIf::setScale()\fP .RE.PPDefinition at line 99 of file qwt_sclif.cpp..PPReferences scaleChange()..SS "bool QwtScaleIf::hasUserScale ()\fC [protected]\fP".PPCheck for user-defined scale. .PPDefinition at line 62 of file qwt_sclif.h..PPReferenced by QwtSlider::rangeChange(), QwtSlider::scaleChange(), and QwtThermo::setRange()..SS "virtual void QwtScaleIf::scaleChange ()\fC [protected, pure virtual]\fP".PPNotify changed scale. .PPImplemented in \fBQwtSlider\fP, and \fBQwtThermo\fP..PPReferenced by autoScale(), setScale(), setScaleMaxMajor(), and setScaleMaxMinor()..SS "\fBQwtScaleDraw\fP * QwtScaleIf::scaleDraw ()\fC [protected]\fP".PP\fBReturns:\fP.RS 4scale draw .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleIf::setScaleDraw\fP .RE.PPDefinition at line 168 of file qwt_sclif.cpp..SS "const \fBQwtScaleDraw\fP * QwtScaleIf::scaleDraw () const".PP\fBReturns:\fP.RS 4scale draw .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleIf::setScaleDraw\fP .RE.PPDefinition at line 177 of file qwt_sclif.cpp..PPReferenced by QwtThermo::draw(), QwtSlider::draw(), QwtKnob::draw(), QwtSlider::getScrollMode(), QwtSlider::getValue(), QwtSlider::layoutSlider(), QwtThermo::layoutThermo(), QwtThermo::minimumSizeHint(), QwtSlider::minimumSizeHint(), QwtKnob::minimumSizeHint(), QwtKnob::QwtKnob(), QwtSlider::QwtSlider(), QwtSlider::rangeChange(), QwtSlider::scaleChange(), QwtThermo::setRange(), QwtKnob::setTotalAngle(), QwtThermo::sizePolicy(), and QwtSlider::xyPosition()..SS "int QwtScaleIf::scaleMaxMajor () const".PP\fBReturns:\fP.RS 4max. number of major tick intervals .RE.PPDefinition at line 55 of file qwt_sclif.h..PPReferenced by QwtSlider::rangeChange(), QwtSlider::scaleChange(), and QwtThermo::setRange()..SS "int QwtScaleIf::scaleMaxMinor () const".PP\fBReturns:\fP.RS 4max. number of minor tick intervals .RE.PPDefinition at line 53 of file qwt_sclif.h..PPReferenced by QwtSlider::rangeChange(), QwtSlider::scaleChange(), and QwtThermo::setRange()..SS "void QwtScaleIf::setScale (const \fBQwtScaleDiv\fP & s)".PPAssign a user-defined scale division .PP\fBParameters:\fP.RS 4\fIs\fP scale division .RE.PPDefinition at line 81 of file qwt_sclif.cpp..PPReferences QwtScaleDiv::majCnt(), QwtScaleDiv::minCnt(), scaleChange(), QwtScaleDraw::scaleDiv(), and QwtScaleDraw::setScale()..SS "void QwtScaleIf::setScale (double vmin, double vmax, double step, int logarithmic = \fC0\fP)".PPSpecify a user-defined scale. .PPBy default, the widget is supposed to control the range of its scale automatically, but sometimes it is desirable to have a user-defined scale which is not in sync with the widget's range, e.g. if a logarithmic scale is needed (sliders don't support that) or if the scale is required to have a fixed range (say 0...100%), independent of the widget's range. .PP\fBParameters:\fP.RS 4\fIvmin\fP .br\fIvmax\fP interval boundaries .br\fIstep\fP major step size .br\fIlogarithmic\fP If != 0, build a logarithmic scale .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleIf::autoScale()\fP .RE.PPDefinition at line 66 of file qwt_sclif.cpp..PPReferences scaleChange(), QwtScaleDraw::scaleDiv(), and QwtScaleDraw::setScale()..SS "void QwtScaleIf::setScale (double vmin, double vmax, int logarithmic = \fC0\fP)".PPSpecify a user-defined scale. .PPBy default, the widget is supposed to control the range of its scale automatically, but sometimes it is desirable to have a user-defined scale which is not in sync with the widget's range, e.g. if a logarithmic scale is needed (sliders don't support that) or if the scale is required to have a fixed range (say 0...100%), independent of the widget's range. .PP\fBParameters:\fP.RS 4\fIvmin\fP .br\fIvmax\fP boundary values .br\fIlogarithmic\fP If != 0, Build a logarithmic scale .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleIf::autoScale()\fP .RE.PPDefinition at line 44 of file qwt_sclif.cpp..SS "void QwtScaleIf::setScaleDraw (\fBQwtScaleDraw\fP * sd)".PPSet a scale draw sd has to be created with new and will be deleted in \fBQwtScaleIf::~QwtScaleIf\fP or the next call of \fBQwtScaleIf::setScaleDraw\fP. .PPDefinition at line 155 of file qwt_sclif.cpp..SS "void QwtScaleIf::setScaleMaxMajor (int ticks)".PPSet the maximum number of major tick intervals. .PPThe scale's major ticks are calculated automatically such that the number of major intervals does not exceed ticks. The default value is 5. .PP\fBParameters:\fP.RS 4\fIticks\fP maximal number of major ticks. .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleDraw\fP .RE.PPDefinition at line 117 of file qwt_sclif.cpp..PPReferences QwtScaleDiv::hBound(), QwtScaleDiv::lBound(), QwtScaleDiv::logScale(), scaleChange(), QwtScaleDraw::scaleDiv(), and QwtScaleDraw::setScale()..SS "void QwtScaleIf::setScaleMaxMinor (int ticks)".PPSet the maximum number of minor tick intervals. .PPThe scale's minor ticks are calculated automatically such that the number of minor intervals does not exceed ticks. The default value is 3. .PP\fBParameters:\fP.RS 4\fIticks\fP .RE.PP\fBSee also:\fP.RS 4\fBQwtScaleDraw\fP .RE.PPDefinition at line 138 of file qwt_sclif.cpp..PPReferences QwtScaleDiv::hBound(), QwtScaleDiv::lBound(), QwtScaleDiv::logScale(), scaleChange(), QwtScaleDraw::scaleDiv(), and QwtScaleDraw::setScale()..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 + -