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

📄 qwtdial.3

📁 软件无线电的平台
💻 3
📖 第 1 页 / 共 2 页
字号:
.RS 4\fBQwtDial::showBackground\fP, QWidget::setMask .RE.PP.SS "void QwtDial::keyPressEvent (QKeyEvent * e)\fC [protected, virtual]\fP".PPHandles key events.PP.IP "\(bu" 2Key_Down, KeyLeft.br Decrement by 1.IP "\(bu" 2Key_Prior.br Decrement by \fBpageSize()\fP.IP "\(bu" 2Key_Home.br Set the value to \fBminValue()\fP.PP.PP.IP "\(bu" 2Key_Up, KeyRight.br Increment by 1.IP "\(bu" 2Key_Next.br Increment by \fBpageSize()\fP.IP "\(bu" 2Key_End.br Set the value to \fBmaxValue()\fP.PP.PP\fBSee also:\fP.RS 4\fBisReadOnly()\fP .RE.PPReimplemented from \fBQwtSliderBase\fP..PPReimplemented in \fBQwtCompass\fP..SS "int QwtDial::lineWidth () const".PP\fBReturns:\fP.RS 4Line width of the frame .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setLineWidth\fP, \fBQwtDial::frameShadow\fP, QFrame::lineWidth .RE.PP.SS "double QwtDial::maxScaleArc () const".PPReturn the upper limit of the scale arc. .SS "QSize QwtDial::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. \fBWarning:\fP.RS 4The return value of \fBQwtDial::minimumSizeHint()\fP depends on the font and the scale. .RE.PP.SS "double QwtDial::minScaleArc () const".PPReturn the lower limit of the scale arc. .SS "\fBQwtDial::Mode\fP QwtDial::mode () const".PP\fBReturns:\fP.RS 4mode of the dial..RE.PPThe value of the dial is indicated by the difference between the origin and the direction of the needle. In case of QwtDial::RotateNeedle the scale arc is fixed to the \fBorigin()\fP and the needle is rotating, in case of QwtDial::RotateScale, the needle points to \fBorigin()\fP and the scale is rotating..PPThe default mode is QwtDial::RotateNeedle..PP\fBSee also:\fP.RS 4\fBQwtDial::setMode\fP, \fBQwtDial::origin\fP, \fBQwtDial::setScaleArc\fP, \fBQwtDial::value\fP .RE.PP.SS "\fBQwtDialNeedle\fP * QwtDial::needle ()".PP\fBReturns:\fP.RS 4needle .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setNeedle\fP .RE.PP.SS "const  \fBQwtDialNeedle\fP * QwtDial::needle () const".PP\fBReturns:\fP.RS 4needle .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setNeedle\fP .RE.PP.SS "double QwtDial::origin () const".PPThe origin is the angle where scale and needle is relative to..PP\fBReturns:\fP.RS 4Origin of the dial .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setOrigin()\fP .RE.PP.SS "void QwtDial::paintEvent (QPaintEvent *)\fC [protected, virtual]\fP".PPRepaint the dial. .SS "void QwtDial::rangeChange ()\fC [protected, virtual]\fP".PP\fBQwtDblRange\fP update hook. Reimplemented from \fBQwtDblRange\fP..SS "void QwtDial::resizeEvent (QResizeEvent *)\fC [protected, virtual]\fP".PPResize the dial widget. .SS "QRect QwtDial::scaleContentsRect () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4rect inside the scale .RE.PP\fBSee also:\fP.RS 4\fBsetLineWidth\fP, \fBQwtDial::boundingRect\fP, \fBQwtDial::contentsRect\fP .RE.PP.SS "const \fBQwtDialScaleDraw\fP* QwtDial::scaleDraw () const".PPReturn the scale draw. .SS "\fBQwtDialScaleDraw\fP* QwtDial::scaleDraw ()".PPReturn the scale draw. .SS "QString QwtDial::scaleLabel (double value) const\fC [protected, virtual]\fP".PP\fBReturns:\fP.RS 4the label for a value .RE.PPReimplemented in \fBQwtAnalogClock\fP, and \fBQwtCompass\fP..SS "void QwtDial::setFrameShadow (\fBShadow\fP shadow)".PPSets the frame shadow value from the frame style. .PP\fBParameters:\fP.RS 4\fIshadow\fP Frame shadow .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setLineWidth\fP, QFrame::setFrameShadow .RE.PP.SS "void QwtDial::setLineWidth (int lineWidth)".PPSets the line width.PP\fBParameters:\fP.RS 4\fIlineWidth\fP Line width .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::setFrameShadow\fP .RE.PP.SS "void QwtDial::setMode (\fBMode\fP mode)".PPChange the mode of the meter. \fBParameters:\fP.RS 4\fImode\fP New mode.RE.PPThe value of the meter is indicated by the difference between north of the scale and the direction of the needle. In case of QwtDial::RotateNeedle north is pointing to the \fBorigin()\fP and the needle is rotating, in case of QwtDial::RotateScale, the needle points to \fBorigin()\fP and the scale is rotating..PPThe default mode is QwtDial::RotateNeedle..PP\fBSee also:\fP.RS 4\fBQwtDial::mode\fP, \fBQwtDial::setValue\fP, \fBQwtDial::setOrigin\fP .RE.PP.SS "void QwtDial::setNeedle (\fBQwtDialNeedle\fP * needle)\fC [virtual]\fP".PPSet a needle for the dial.PPQwt is missing a set of good looking needles. Contributions are very welcome..PP\fBParameters:\fP.RS 4\fIneedle\fP Needle .RE.PP\fBWarning:\fP.RS 4The needle will be deleted, when a different needle is set or in ~QwtDial .RE.PP.SS "void QwtDial::setOrigin (double origin)\fC [virtual]\fP".PPChange the origin. The origin is the angle where scale and needle is relative to..PP\fBParameters:\fP.RS 4\fIorigin\fP New origin .RE.PP\fBSee also:\fP.RS 4\fBQwtDial::origin()\fP .RE.PP.SS "void QwtDial::setScale (int maxMajIntv, int maxMinIntv, double step = 0.0)\fC [virtual]\fP".PPChange the intervals of the scale .PP\fBSee also:\fP.RS 4\fBQwtScaleDraw::setScale\fP .RE.PP.SS "void QwtDial::setScaleArc (double minArc, double maxArc)".PPChange the arc of the scale.PP\fBParameters:\fP.RS 4\fIminArc\fP Lower limit .br\fImaxArc\fP Upper limit .RE.PP.SS "void QwtDial::setScaleDraw (\fBQwtDialScaleDraw\fP * scaleDraw)\fC [virtual]\fP".PPSet an individual scale draw.PP\fBWarning:\fP.RS 4The previous scale draw is deleted .RE.PP.SS "void QwtDial::setScaleOptions (int options)".PPA wrapper method for accessing the scale draw..PP.IP "\(bu" 2options == 0.br No visible scale: setScaleDraw(NULL).IP "\(bu" 2options & ScaleBackbone.br En/disable the backbone of the scale..IP "\(bu" 2options & ScaleTicks.br Don磘 change anything. Otherwise set all tick lengths to 0..IP "\(bu" 2options & ScaleLabel.br En/disable scale labels.PP.PP\fBSee also:\fP.RS 4\fBQwtScaleDraw\fP:.setOptions, \fBQwtScaleDraw::setTickLength\fP, \fBQwtDialScaleDraw::showLabels\fP .RE.PP.SS "void QwtDial::setScaleTicks (int minLen, int medLen, int majLen, int penWidth = 1)".PPSee: \fBQwtScaleDraw::setTickLength\fP, \fBQwtDialScaleDraw::setPenWidth\fP. .SS "void QwtDial::setWrapping (bool wrapping)\fC [virtual]\fP".PPSets whether it is possible to step the value from the highest value to the lowest value and vice versa to on..PP\fBParameters:\fP.RS 4\fIwrapping\fP en/disables wrapping.RE.PP\fBSee also:\fP.RS 4\fBQwtDial::wrapping\fP, \fBQwtDblRange::periodic\fP .RE.PP\fBNote:\fP.RS 4The meaning of wrapping is like the wrapping property of QSpinBox, but not like it is used in QDial. .RE.PP.SS "void QwtDial::showBackground (bool show)".PPShow/Hide the area outside of the frame .PP\fBParameters:\fP.RS 4\fIshow\fP Show if TRUE, hide if FALSE.RE.PP\fBSee also:\fP.RS 4\fBQwtDial::hasVisibleBackground\fP, QWidget::setMask .RE.PP\fBWarning:\fP.RS 4When QwtDial is a toplevel widget the window border might disappear too. .RE.PP.SS "QSize QwtDial::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4\fBQwtDial::sizeHint()\fP .RE.PP.SS "void QwtDial::updateScale ()\fC [protected]\fP".PPUpdate the scale with the current attributes .PP\fBSee also:\fP.RS 4\fBQwtDial::setScale\fP .RE.PP.SS "void QwtDial::valueChange ()\fC [protected, virtual]\fP".PP\fBQwtDblRange\fP update hook. Reimplemented from \fBQwtSliderBase\fP..SS "bool QwtDial::wrapping () const".PP\fBwrapping()\fP holds whether it is possible to step the value from the highest value to the lowest value and vice versa..PP\fBSee also:\fP.RS 4\fBQwtDial::setWrapping\fP, \fBQwtDblRange::setPeriodic\fP .RE.PP\fBNote:\fP.RS 4The meaning of wrapping is like the wrapping property of QSpinBox, but not like it is used in QDial. .RE.PP.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 + -