📄 qwtscale.3
字号:
.PPReferences layoutScale()..SS "void QwtScale::scaleChange ()\fC [protected]\fP".PPNotify a change of the scale. .PPThis virtual function can be overloaded by derived classes. The default implementation updates the geometry and repaints the widget. Definition at line 591 of file qwt_scale.cpp..PPReferences layoutScale()..SS "const \fBQwtScaleDraw\fP * QwtScale::scaleDraw () const".PPscaleDraw of this scale .PP\fBSee also:\fP.RS 4QwtScaleDraw::setScaleDraw .RE.PPDefinition at line 333 of file qwt_scale.cpp..PPReferenced by QwtPlot::axisScaleDraw(), QwtPlotLayout::minimumSizeHint(), position(), QwtPlot::printScale(), and QwtPlot::sizeHint()..SS "void QwtScale::setBaselineDist (int bd)".PPSpecify the border distance of the scale's base line. .PP\fBParameters:\fP.RS 4\fIbd\fP border distance of the baseline .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::baseLineDist\fP .RE.PPDefinition at line 188 of file qwt_scale.cpp..PPReferences layoutScale()..PPReferenced by QwtPlot::print()..SS "void QwtScale::setBorderDist (int dist1, int dist2)".PPSpecify distances of the scale's endpoints from the widget's borders. The actual borders will never be less than minimum border distance. .PP\fBParameters:\fP.RS 4\fIdist1\fP Left or top Distance .br\fIdist2\fP Right or bottom distance .RE.PP\fBSee also:\fP.RS 4QwtScale::borderDist .RE.PPDefinition at line 173 of file qwt_scale.cpp..PPReferences layoutScale()..PPReferenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::updateAxes()..SS "void QwtScale::setLabelAlignment (int align)".PPChange the alignment for the labels. .PPSee \fBQwtScaleDraw::setLabelAlignment()\fP. .PP\fBSee also:\fP.RS 4\fBQwtScaleDraw::setLabelAlignment()\fP, \fBQwtScale::setLabelRotation()\fP .RE.PPDefinition at line 278 of file qwt_scale.cpp..PPReferences layoutScale(), and QwtScaleDraw::setLabelAlignment()..PPReferenced by QwtPlot::setAxisLabelAlignment()..SS "void QwtScale::setLabelFormat (char f, int prec, int fieldwidth)".PPSet the number format for the major scale labels. .PPFormat character and precision have the same meaning as for the QString class. .PP\fBParameters:\fP.RS 4\fIf\fP format character .br\fIprec\fP precision .br\fIfieldwidth\fP minimum fieldwidth .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::labelFormat\fP, QString::sprintf in the Qt manual .RE.PPDefinition at line 265 of file qwt_scale.cpp..PPReferences layoutScale(), and QwtScaleDraw::setLabelFormat()..PPReferenced by QwtPlot::setAxisLabelFormat()..SS "void QwtScale::setLabelRotation (double rotation)".PPChange the rotation for the labels. See \fBQwtScaleDraw::setLabelRotation()\fP. .PP\fBSee also:\fP.RS 4\fBQwtScaleDraw::setLabelRotation()\fP, \fBQwtScale::setLabelAlignment()\fP .RE.PPDefinition at line 289 of file qwt_scale.cpp..PPReferences layoutScale(), and QwtScaleDraw::setLabelRotation()..PPReferenced by QwtPlot::setAxisLabelRotation()..SS "void QwtScale::setPosition (\fBPosition\fP pos)".PPAssign a position. .PP\fBParameters:\fP.RS 4\fIpos\fP new position .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::position\fP .RE.PPDefinition at line 113 of file qwt_scale.cpp..PPReferences layoutScale(), and QwtScaleDraw::setGeometry()..SS "void QwtScale::setScaleDiv (const \fBQwtScaleDiv\fP & sd)".PPAssign a scale division. .PPThe scale division determines where to set the tick marks. .PP\fBParameters:\fP.RS 4\fIsd\fP Scale Division .RE.PP\fBSee also:\fP.RS 4For more information about scale divisions, see \fBQwtScaleDiv\fP. .RE.PPDefinition at line 746 of file qwt_scale.cpp..PPReferences layoutScale(), QwtScaleDraw::scaleDiv(), and QwtScaleDraw::setScale()..PPReferenced by QwtPlot::updateAxes()..SS "void QwtScale::setScaleDraw (\fBQwtScaleDraw\fP * sd)".PPSet a scale draw sd has to be created with new and will be deleted in \fBQwtScale::~QwtScale\fP or the next call of \fBQwtScale::setScaleDraw\fP. .PPDefinition at line 300 of file qwt_scale.cpp..PPReferences layoutScale()..PPReferenced by QwtPlot::setAxisScaleDraw()..SS "void QwtScale::setTitle (const QString & text)".PPGive title new text contents. .PP\fBParameters:\fP.RS 4\fItext\fP New text .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::title\fP .RE.PPDefinition at line 94 of file qwt_scale.cpp..PPReferences QwtText::alignment(), QwtText::color(), QwtText::font(), layoutScale(), QwtText::makeText(), and title()..PPReferenced by QwtPlot::setAxisTitle()..SS "void QwtScale::setTitleAlignment (int flags)".PPChange the title alignment. .PP\fBParameters:\fP.RS 4\fIflags\fP see Qt::AlignmentFlags. flags are interpreted in direction of the label, AlignTop, AlignBottom can't be set as the title will always be aligned to the scale. .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::titleAlignment\fP, Qt::AlignmentFlags .RE.PPDefinition at line 247 of file qwt_scale.cpp..PPReferences layoutScale(), and QwtText::setAlignment()..PPReferenced by QwtPlot::setAxisTitleAlignment()..SS "void QwtScale::setTitleColor (const QColor & c)".PPChange the title color. .PP\fBParameters:\fP.RS 4\fIc\fP new title color .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::titleColor\fP .RE.PPDefinition at line 233 of file qwt_scale.cpp..PPReferences QwtText::setColor()..PPReferenced by QwtPlotPrintFilter::apply(), and QwtPlotPrintFilter::reset()..SS "void QwtScale::setTitleDist (int td)".PPSpecify the distance between scale and title. .PP\fBParameters:\fP.RS 4\fItd\fP Title distance .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::titleDist\fP .RE.PPDefinition at line 203 of file qwt_scale.cpp..PPReferences layoutScale()..SS "void QwtScale::setTitleFont (const QFont & f)".PPChange the title font. .PP\fBParameters:\fP.RS 4\fIf\fP new font .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::title\fP .RE.PPDefinition at line 219 of file qwt_scale.cpp..PPReferences QwtText::font(), layoutScale(), and QwtText::setFont()..PPReferenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::setAxisTitleFont()..SS "QSize QwtScale::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4a size hint .RE.PPDefinition at line 620 of file qwt_scale.cpp..PPReferences minimumSizeHint()..SS "QSizePolicy QwtScale::sizePolicy () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4Fixed/MinimumExpanding for vertical, MinimumExpanding/Fixed for horizontal scales. .RE.PPDefinition at line 600 of file qwt_scale.cpp..PPReferences QwtScaleDraw::orientation()..SS "int QwtScale::startBorderDist () const".PP\fBReturns:\fP.RS 4start border distance .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setBorderDist\fP .RE.PPDefinition at line 378 of file qwt_scale.cpp..PPReferenced by QwtPlot::canvasMap(), and QwtPlot::print()..SS "const QString QwtScale::title () const".PP\fBReturns:\fP.RS 4title .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setTitle\fP .RE.PPDefinition at line 369 of file qwt_scale.cpp..PPReferences QwtText::text()..PPReferenced by QwtPlot::axisTitle(), and setTitle()..SS "int QwtScale::titleAlignment () const".PP\fBReturns:\fP.RS 4alignment .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setTitleAlignment\fP, Qt::AlignmentFlags .RE.PPDefinition at line 342 of file qwt_scale.cpp..PPReferences QwtText::alignment()..PPReferenced by QwtPlot::axisTitleAlignment()..SS "const QColor QwtScale::titleColor () const".PP\fBReturns:\fP.RS 4title color .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setTitleColor\fP .RE.PPDefinition at line 360 of file qwt_scale.cpp..PPReferences QwtText::color()..PPReferenced by QwtPlotPrintFilter::apply()..SS "int QwtScale::titleDist () const".PP\fBReturns:\fP.RS 4distance between scale and title .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setBaselineDist\fP .RE.PPDefinition at line 405 of file qwt_scale.cpp..SS "const QFont QwtScale::titleFont () const".PP\fBReturns:\fP.RS 4title font .RE.PP\fBSee also:\fP.RS 4\fBQwtScale::setTitleFont\fP .RE.PPDefinition at line 351 of file qwt_scale.cpp..PPReferences QwtText::font()..PPReferenced by QwtPlotPrintFilter::apply(), and QwtPlot::axisTitleFont()..SS "int QwtScale::titleHeightForWidth (int width) const".PPFind the height of the title for a given width. .PP\fBParameters:\fP.RS 4\fIwidth\fP Width .RE.PP\fBReturns:\fP.RS 4height Height .RE.PPDefinition at line 672 of file qwt_scale.cpp..PPReferences QwtText::heightForWidth()..PPReferenced by dimForLength()..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 + -