.TH "QwtPlotScaleItem" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*- .ad l .nh .SH NAME QwtPlotScaleItem \- .PP A class which draws a scale inside the plot canvas. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBQwtPlotItem\fP. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBItemAttribute\fP { \fBLegend\fP = 1, \fBAutoScale\fP = 2 }" .br .ti -1c .RI "enum \fBRenderHint\fP { \fBRenderAntialiased\fP = 1 }" .br .ti -1c .RI "enum \fBRttiValues\fP { \fBRtti_PlotItem\fP = 0, \fBRtti_PlotGrid\fP, \fBRtti_PlotScale\fP, \fBRtti_PlotMarker\fP, \fBRtti_PlotCurve\fP, \fBRtti_PlotHistogram\fP, \fBRtti_PlotSpectrogram\fP, \fBRtti_PlotSVG\fP, \fBRtti_PlotUserItem\fP = 1000 }" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "void \fBattach\fP (\fBQwtPlot\fP *plot)" .br .ti -1c .RI "int \fBborderDistance\fP () const " .br .ti -1c .RI "virtual QwtDoubleRect \fBboundingRect\fP () const " .br .ti -1c .RI "void \fBdetach\fP ()" .br .ti -1c .RI "virtual void \fBdraw\fP (QPainter *p, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRect &rect) const " .br .ti -1c .RI "QFont \fBfont\fP () const " .br .ti -1c .RI "void \fBhide\fP ()" .br .ti -1c .RI "QwtDoubleRect \fBinvTransform\fP (const \fBQwtScaleMap\fP &, const \fBQwtScaleMap\fP &, const QRect &) const " .br .ti -1c .RI "bool \fBisScaleDivFromAxis\fP () const " .br .ti -1c .RI "bool \fBisVisible\fP () const " .br .ti -1c .RI "virtual void \fBitemChanged\fP ()" .br .ti -1c .RI "virtual QWidget * \fBlegendItem\fP () const " .br .ti -1c .RI "QRect \fBpaintRect\fP (const \fBQwtScaleMap\fP &, const \fBQwtScaleMap\fP &) const " .br .ti -1c .RI "QPalette \fBpalette\fP () const " .br .ti -1c .RI "\fBQwtPlot\fP * \fBplot\fP () const " .br .ti -1c .RI "double \fBposition\fP () const " .br .ti -1c .RI "\fBQwtPlotScaleItem\fP (\fBQwtScaleDraw::Alignment\fP=QwtScaleDraw::BottomScale, const double pos=0.0)" .br .ti -1c .RI "virtual int \fBrtti\fP () const " .br .ti -1c .RI "const \fBQwtScaleDiv\fP & \fBscaleDiv\fP () const " .br .ti -1c .RI "const \fBQwtScaleDraw\fP * \fBscaleDraw\fP () const " .br .ti -1c .RI "\fBQwtScaleDraw\fP * \fBscaleDraw\fP ()" .br .ti -1c .RI "QwtDoubleRect \fBscaleRect\fP (const \fBQwtScaleMap\fP &, const \fBQwtScaleMap\fP &) const " .br .ti -1c .RI "void \fBsetAlignment\fP (\fBQwtScaleDraw::Alignment\fP)" .br .ti -1c .RI "void \fBsetAxis\fP (int xAxis, int yAxis)" .br .ti -1c .RI "void \fBsetBorderDistance\fP (int numPixels)" .br .ti -1c .RI "void \fBsetFont\fP (const QFont &)" .br .ti -1c .RI "void \fBsetItemAttribute\fP (\fBItemAttribute\fP, bool on=true)" .br .ti -1c .RI "void \fBsetPalette\fP (const QPalette &)" .br .ti -1c .RI "void \fBsetPosition\fP (double pos)" .br .ti -1c .RI "void \fBsetRenderHint\fP (\fBRenderHint\fP, bool on=true)" .br .ti -1c .RI "void \fBsetScaleDiv\fP (const \fBQwtScaleDiv\fP &)" .br .ti -1c .RI "void \fBsetScaleDivFromAxis\fP (bool on)" .br .ti -1c .RI "void \fBsetScaleDraw\fP (\fBQwtScaleDraw\fP *)" .br .ti -1c .RI "void \fBsetTitle\fP (const QString &title)" .br .ti -1c .RI "void \fBsetTitle\fP (const \fBQwtText\fP &title)" .br .ti -1c .RI "virtual void \fBsetVisible\fP (bool)" .br .ti -1c .RI "void \fBsetXAxis\fP (int axis)" .br .ti -1c .RI "void \fBsetYAxis\fP (int axis)" .br .ti -1c .RI "void \fBsetZ\fP (double z)" .br .ti -1c .RI "void \fBshow\fP ()" .br .ti -1c .RI "bool \fBtestItemAttribute\fP (\fBItemAttribute\fP) const " .br .ti -1c .RI "bool \fBtestRenderHint\fP (\fBRenderHint\fP) const " .br .ti -1c .RI "const \fBQwtText\fP & \fBtitle\fP () const " .br .ti -1c .RI "QRect \fBtransform\fP (const \fBQwtScaleMap\fP &, const \fBQwtScaleMap\fP &, const QwtDoubleRect &) const " .br .ti -1c .RI "virtual void \fBupdateLegend\fP (\fBQwtLegend\fP *) const " .br .ti -1c .RI "virtual void \fBupdateScaleDiv\fP (const \fBQwtScaleDiv\fP &, const \fBQwtScaleDiv\fP &)" .br .ti -1c .RI "int \fBxAxis\fP () const " .br .ti -1c .RI "int \fByAxis\fP () const " .br .ti -1c .RI "double \fBz\fP () const " .br .ti -1c .RI "virtual \fB~QwtPlotScaleItem\fP ()" .br .in -1c .SH "Detailed Description" .PP A class which draws a scale inside the plot canvas. \fBQwtPlotScaleItem\fP can be used to draw an axis inside the plot canvas. It might by synchronized to one of the axis of the plot, but can also display its own ticks and labels. .PP It is allowed to synchronize the scale item with a disabled axis. In plots with vertical and horizontal scale items, it might be necessary to remove ticks at the intersections, by overloading \fBupdateScaleDiv()\fP. .PP The scale might be at a specific position (f.e 0.0) or it might be aligned to a canvas border. .PP \fBExample\fP .RS 4 The following example shows how to replace the left axis, by a scale item at the x position 0.0. .PP .nf QwtPlotScaleItem *scaleItem = new QwtPlotScaleItem(QwtScaleDraw::RightScale, 0.0); scaleItem->setFont(plot->axisWidget(QwtPlot::yLeft)->font()); scaleItem->attach(plot); plot->enableAxis(QwtPlot::yLeft, false); .fi .PP .RE .PP .SH "Member Enumeration Documentation" .PP .SS "enum \fBQwtPlotItem::ItemAttribute\fP\fC [inherited]\fP"Plot Item Attributes .PP .IP "\(bu" 2 Legend .br The item is represented on the legend. .IP "\(bu" 2 AutoScale .br The \fBboundingRect()\fP of the item is included in the autoscaling calculation. .PP .PP \fBSee also:\fP .RS 4 \fBsetItemAttribute()\fP, \fBtestItemAttribute()\fP .RE .PP .SS "enum \fBQwtPlotItem::RenderHint\fP\fC [inherited]\fP" .PP Render hints. .SS "enum \fBQwtPlotItem::RttiValues\fP\fC [inherited]\fP" .PP Runtime type information. RttiValues is used to cast plot items, without having to enable runtime type information of the compiler. .SH "Constructor & Destructor Documentation" .PP .SS "QwtPlotScaleItem::QwtPlotScaleItem (\fBQwtScaleDraw::Alignment\fPalignment = \fCQwtScaleDraw::BottomScale\fP, const doublepos = \fC0.0\fP)\fC [explicit]\fP" .PP Constructor for scale item at the position pos. \fBParameters:\fP .RS 4 \fIalignment\fP In case of QwtScaleDraw::BottomScale/QwtScaleDraw::TopScale the scale item is corresponding to the \fBxAxis()\fP, otherwise it corresponds to the \fByAxis()\fP. .br \fIpos\fP x or y position, depending on the corresponding axis. .RE .PP \fBSee also:\fP .RS 4 \fBsetPosition()\fP, \fBsetAlignment()\fP .RE .PP .SS "QwtPlotScaleItem::~QwtPlotScaleItem ()\fC [virtual]\fP" .PP Destructor. .SH "Member Function Documentation" .PP .SS "void QwtPlotItem::attach (\fBQwtPlot\fP *plot)\fC [inherited]\fP" .PP Attach the item to a plot. This method will attach a \fBQwtPlotItem\fP to the \fBQwtPlot\fP argument. It will first detach the \fBQwtPlotItem\fP from any plot from a previous call to attach (if necessary). If a NULL argument is passed, it will detach from any \fBQwtPlot\fP it was attached to. .PP \fBParameters:\fP .RS 4 \fIplot\fP Plot widget .RE .PP \fBSee also:\fP .RS 4 \fBQwtPlotItem::detach()\fP .RE .PP .SS "int QwtPlotScaleItem::borderDistance () const"\fBReturns:\fP .RS 4 Distance from a canvas border .RE .PP \fBSee also:\fP .RS 4 \fBsetBorderDistance()\fP, \fBsetPosition()\fP .RE .PP .SS "QwtDoubleRect QwtPlotItem::boundingRect () const\fC [virtual, inherited]\fP"\fBReturns:\fP .RS 4 An invalid bounding rect: QwtDoubleRect(1.0, 1.0, \-2.0, \-2.0) .RE .PP .PP Reimplemented in \fBQwtPlotCurve\fP, \fBQwtPlotMarker\fP, \fBQwtPlotSpectrogram\fP, and \fBQwtPlotSvgItem\fP. .SS "void QwtPlotItem::detach ()\fC [inline, inherited]\fP" .PP This method detaches a \fBQwtPlotItem\fP from any \fBQwtPlot\fP it has been associated with. \fBdetach()\fP is equivalent to calling attach( NULL ) .PP \fBSee also:\fP .RS 4 \fBattach( QwtPlot* plot )\fP .RE .PP .SS "void QwtPlotScaleItem::draw (QPainter *p, const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRect &rect) const\fC [virtual]\fP" .PP Draw the scale. .PP Implements \fBQwtPlotItem\fP. .SS "QFont QwtPlotScaleItem::font () const"\fBReturns:\fP .RS 4 tick label font .RE .PP \fBSee also:\fP .RS 4 \fBsetFont()\fP .RE .PP .SS "void QwtPlotItem::hide ()\fC [inherited]\fP" .PP Hide the item. .SS "QwtDoubleRect QwtPlotItem::invTransform (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QRect &rect) const\fC [inherited]\fP"Transform a rectangle from paint to scale coordinates .PP \fBParameters:\fP .RS 4 \fIxMap\fP X map .br \fIyMap\fP Y map .br \fIrect\fP Rectangle in paint coordinates .RE .PP \fBReturns:\fP .RS 4 Rectangle in scale coordinates .RE .PP \fBSee also:\fP .RS 4 \fBtransform()\fP .RE .PP .SS "bool QwtPlotScaleItem::isScaleDivFromAxis () const"\fBReturns:\fP .RS 4 True, if the synchronization of the scale division with the corresponding axis is enabled. .RE .PP \fBSee also:\fP .RS 4 \fBsetScaleDiv()\fP, \fBsetScaleDivFromAxis()\fP .RE .PP .SS "bool QwtPlotItem::isVisible () const\fC [inherited]\fP"\fBReturns:\fP .RS 4 true if visible .RE .PP \fBSee also:\fP .RS 4 \fBsetVisible()\fP, \fBshow()\fP, \fBhide()\fP .RE .PP .SS "void QwtPlotItem::itemChanged ()\fC [virtual, inherited]\fP"Update the legend and call \fBQwtPlot::autoRefresh\fP for the parent plot. .PP \fBSee also:\fP .RS 4 \fBupdateLegend()\fP .RE .PP .SS "QWidget * QwtPlotItem::legendItem () const\fC [virtual, inherited]\fP" .PP Allocate the widget that represents the item on the legend. The default implementation is made for \fBQwtPlotCurve\fP and returns a QwtLegendItem(), but an item could be represented by any type of widget, by overloading \fBlegendItem()\fP and \fBupdateLegend()\fP. .PP \fBReturns:\fP .RS 4 QwtLegendItem() .RE .PP \fBSee also:\fP .RS 4 \fBupdateLegend()\fP QwtLegend() .RE .PP .PP Implements \fBQwtLegendItemManager\fP. .SS "QRect QwtPlotItem::paintRect (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap) const\fC [inherited]\fP" .PP Calculate the bounding paint rect of 2 maps. \fBParameters:\fP .RS 4 \fIxMap\fP X map .br \fIyMap\fP X map .RE .PP \fBReturns:\fP .RS 4 Bounding rect of the scale maps .RE .PP .SS "QPalette QwtPlotScaleItem::palette () const"\fBReturns:\fP .RS 4 palette .RE .PP \fBSee also:\fP .RS 4 \fBsetPalette()\fP .RE .PP .SS "\fBQwtPlot\fP * QwtPlotItem::plot () const\fC [inherited]\fP" .PP Return attached plot. .SS "double QwtPlotScaleItem::position () const"\fBReturns:\fP .RS 4 Position of the scale .RE .PP \fBSee also:\fP .RS 4 \fBsetPosition()\fP, \fBsetAlignment()\fP .RE .PP .SS "int QwtPlotScaleItem::rtti () const\fC [virtual]\fP"\fBReturns:\fP .RS 4 QwtPlotItem::Rtti_PlotScale .RE .PP .PP Reimplemented from \fBQwtPlotItem\fP. .SS "const \fBQwtScaleDiv\fP & QwtPlotScaleItem::scaleDiv () const"\fBReturns:\fP .RS 4 Scale division .RE .PP .SS "const \fBQwtScaleDraw\fP * QwtPlotScaleItem::scaleDraw () const"\fBReturns:\fP .RS 4 Scale draw .RE .PP \fBSee also:\fP .RS 4 \fBsetScaleDraw()\fP .RE .PP .SS "\fBQwtScaleDraw\fP * QwtPlotScaleItem::scaleDraw ()"\fBReturns:\fP .RS 4 Scale draw .RE .PP \fBSee also:\fP .RS 4 \fBsetScaleDraw()\fP .RE .PP .SS "QwtDoubleRect QwtPlotItem::scaleRect (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap) const\fC [inherited]\fP" .PP Calculate the bounding scale rect of 2 maps. \fBParameters:\fP .RS 4 \fIxMap\fP X map .br \fIyMap\fP X map .RE .PP \fBReturns:\fP .RS 4 Bounding rect of the scale maps .RE .PP .SS "void QwtPlotScaleItem::setAlignment (\fBQwtScaleDraw::Alignment\fPalignment)"Change the alignment of the scale .PP The alignment sets the orientation of the scale and the position of the ticks: .PP .IP "\(bu" 2 QwtScaleDraw::BottomScale: horizontal, ticks below .IP "\(bu" 2 QwtScaleDraw::TopScale: horizontal, ticks above .IP "\(bu" 2 QwtScaleDraw::LeftScale: vertical, ticks left .IP "\(bu" 2 QwtScaleDraw::RightScale: vertical, ticks right .PP .PP For horizontal scales the position corresponds to \fBQwtPlotItem::yAxis()\fP, otherwise to \fBQwtPlotItem::xAxis()\fP. .PP \fBSee also:\fP .RS 4 \fBscaleDraw()\fP, \fBQwtScaleDraw::alignment()\fP, \fBsetPosition()\fP .RE .PP .SS "void QwtPlotItem::setAxis (intxAxis, intyAxis)\fC [inherited]\fP"Set X and Y axis .PP The item will painted according to the coordinates its Axes. .PP \fBParameters:\fP .RS 4 \fIxAxis\fP X Axis .br \fIyAxis\fP Y Axis .RE .PP \fBSee also:\fP .RS 4 \fBsetXAxis()\fP, \fBsetYAxis()\fP, \fBxAxis()\fP, \fByAxis()\fP .RE .PP .SS "void QwtPlotScaleItem::setBorderDistance (intdistance)" .PP Align the scale to the canvas. If distance is >= 0 the scale will be aligned to a border of the contents rect of the canvas. If alignment() is QwtScaleDraw::LeftScale, the scale will be aligned to the right border, if it is QwtScaleDraw::TopScale it will be aligned to the bottom (and vice versa), .PP If distance is < 0 the scale will be at the \fBposition()\fP. .PP \fBParameters:\fP .RS 4 \fIdistance\fP Number of pixels between the canvas border and the backbone of the scale. .RE .PP \fBSee also:\fP .RS 4 \fBsetPosition()\fP, \fBborderDistance()\fP .RE .PP .SS "void QwtPlotScaleItem::setFont (const QFont &font)"Change the tick label font .PP \fBSee also:\fP .RS 4 \fBfont()\fP .RE .PP .SS "void QwtPlotItem::setItemAttribute (\fBItemAttribute\fPattribute, boolon = \fCtrue\fP)\fC [inherited]\fP"Toggle an item attribute .PP \fBParameters:\fP .RS 4 \fIattribute\fP Attribute type .br \fIon\fP true/false .RE .PP \fBSee also:\fP .RS 4 \fBtestItemAttribute()\fP, \fBItemAttribute\fP .RE .PP .SS "void QwtPlotScaleItem::setPalette (const QPalette &palette)"Set the palette .PP \fBSee also:\fP .RS 4 \fBQwtAbstractScaleDraw::draw()\fP, \fBpalette()\fP .RE .PP .SS "void QwtPlotScaleItem::setPosition (doublepos)"Change the position of the scale .PP The position is interpreted as y value for horizontal axes and as x value for vertical axes. .PP The border distance is set to \-1. .PP \fBParameters:\fP .RS 4 \fIpos\fP New position .RE .PP \fBSee also:\fP .RS 4 \fBposition()\fP, \fBsetAlignment()\fP .RE .PP .SS "void QwtPlotItem::setRenderHint (\fBRenderHint\fPhint, boolon = \fCtrue\fP)\fC [inherited]\fP"Toggle an render hint .PP \fBParameters:\fP .RS 4 \fIhint\fP Render hint .br \fIon\fP true/false .RE .PP \fBSee also:\fP .RS 4 \fBtestRenderHint()\fP, \fBRenderHint\fP .RE .PP .SS "void QwtPlotScaleItem::setScaleDiv (const \fBQwtScaleDiv\fP &scaleDiv)" .PP Assign a scale division. When assigning a scaleDiv the scale division won't be synchronized with the corresponding axis anymore. .PP \fBParameters:\fP .RS 4 \fIscaleDiv\fP Scale division .RE .PP \fBSee also:\fP .RS 4 \fBscaleDiv()\fP, \fBsetScaleDivFromAxis()\fP, \fBisScaleDivFromAxis()\fP .RE .PP .SS "void QwtPlotScaleItem::setScaleDivFromAxis (boolon)"Enable/Disable the synchronization of the scale division with the corresponding axis. .PP \fBParameters:\fP .RS 4 \fIon\fP true/false .RE .PP \fBSee also:\fP .RS 4 \fBisScaleDivFromAxis()\fP .RE .PP .SS "void QwtPlotScaleItem::setScaleDraw (\fBQwtScaleDraw\fP *scaleDraw)" .PP Set a scale draw. \fBParameters:\fP .RS 4 \fIscaleDraw\fP object responsible for drawing scales. .RE .PP The main use case for replacing the default \fBQwtScaleDraw\fP is to overload \fBQwtAbstractScaleDraw::label\fP, to replace or swallow tick labels. .PP \fBSee also:\fP .RS 4 \fBscaleDraw()\fP .RE .PP .SS "void QwtPlotItem::setTitle (const QString &title)\fC [inherited]\fP"Set a new title .PP \fBParameters:\fP .RS 4 \fItitle\fP Title .RE .PP \fBSee also:\fP .RS 4 \fBtitle()\fP .RE .PP .SS "void QwtPlotItem::setTitle (const \fBQwtText\fP &title)\fC [inherited]\fP"Set a new title .PP \fBParameters:\fP .RS 4 \fItitle\fP Title .RE .PP \fBSee also:\fP .RS 4 \fBtitle()\fP .RE .PP .SS "void QwtPlotItem::setVisible (boolon)\fC [virtual, inherited]\fP"Show/Hide the item .PP \fBParameters:\fP .RS 4 \fIon\fP Show if true, otherwise hide .RE .PP \fBSee also:\fP .RS 4 \fBisVisible()\fP, \fBshow()\fP, \fBhide()\fP .RE .PP .SS "void QwtPlotItem::setXAxis (intaxis)\fC [inherited]\fP"Set the X axis .PP The item will painted according to the coordinates its Axes. .PP \fBParameters:\fP .RS 4 \fIaxis\fP X Axis .RE .PP \fBSee also:\fP .RS 4 \fBsetAxis()\fP, \fBsetYAxis()\fP, \fBxAxis()\fP .RE .PP .SS "void QwtPlotItem::setYAxis (intaxis)\fC [inherited]\fP"Set the Y axis .PP The item will painted according to the coordinates its Axes. .PP \fBParameters:\fP .RS 4 \fIaxis\fP Y Axis .RE .PP \fBSee also:\fP .RS 4 \fBsetAxis()\fP, \fBsetXAxis()\fP, \fByAxis()\fP .RE .PP .SS "void QwtPlotItem::setZ (doublez)\fC [inherited]\fP" .PP Set the z value. Plot items are painted in increasing z-order. .PP \fBParameters:\fP .RS 4 \fIz\fP Z-value .RE .PP \fBSee also:\fP .RS 4 \fBz()\fP, \fBQwtPlotDict::itemList()\fP .RE .PP .SS "void QwtPlotItem::show ()\fC [inherited]\fP" .PP Show the item. .SS "bool QwtPlotItem::testItemAttribute (\fBItemAttribute\fPattribute) const\fC [inherited]\fP"Test an item attribute .PP \fBParameters:\fP .RS 4 \fIattribute\fP Attribute type .RE .PP \fBReturns:\fP .RS 4 true/false .RE .PP \fBSee also:\fP .RS 4 \fBsetItemAttribute()\fP, \fBItemAttribute\fP .RE .PP .SS "bool QwtPlotItem::testRenderHint (\fBRenderHint\fPhint) const\fC [inherited]\fP"Test a render hint .PP \fBParameters:\fP .RS 4 \fIhint\fP Render hint .RE .PP \fBReturns:\fP .RS 4 true/false .RE .PP \fBSee also:\fP .RS 4 \fBsetRenderHint()\fP, \fBRenderHint\fP .RE .PP .SS "const \fBQwtText\fP & QwtPlotItem::title () const\fC [inherited]\fP"\fBReturns:\fP .RS 4 Title of the item .RE .PP \fBSee also:\fP .RS 4 \fBsetTitle()\fP .RE .PP .SS "QRect QwtPlotItem::transform (const \fBQwtScaleMap\fP &xMap, const \fBQwtScaleMap\fP &yMap, const QwtDoubleRect &rect) const\fC [inherited]\fP"Transform a rectangle .PP \fBParameters:\fP .RS 4 \fIxMap\fP X map .br \fIyMap\fP Y map .br \fIrect\fP Rectangle in scale coordinates .RE .PP \fBReturns:\fP .RS 4 Rectangle in paint coordinates .RE .PP \fBSee also:\fP .RS 4 \fBinvTransform()\fP .RE .PP .SS "void QwtPlotItem::updateLegend (\fBQwtLegend\fP *legend) const\fC [virtual, inherited]\fP" .PP Update the widget that represents the item on the legend. \fBupdateLegend()\fP is called from \fBitemChanged()\fP to adopt the widget representing the item on the legend to its new configuration. .PP The default implementation is made for \fBQwtPlotCurve\fP and updates a QwtLegendItem(), but an item could be represented by any type of widget, by overloading \fBlegendItem()\fP and \fBupdateLegend()\fP. .PP \fBParameters:\fP .RS 4 \fIlegend\fP Legend .RE .PP \fBSee also:\fP .RS 4 \fBlegendItem()\fP, \fBitemChanged()\fP, QwtLegend() .RE .PP .PP Implements \fBQwtLegendItemManager\fP. .PP Reimplemented in \fBQwtPlotCurve\fP. .SS "void QwtPlotScaleItem::updateScaleDiv (const \fBQwtScaleDiv\fP &xScaleDiv, const \fBQwtScaleDiv\fP &yScaleDiv)\fC [virtual]\fP" .PP Update the item to changes of the axes scale division. In case of \fBisScaleDivFromAxis()\fP, the scale draw is synchronized to the correspond axis. .PP \fBParameters:\fP .RS 4 \fIxScaleDiv\fP Scale division of the x-axis .br \fIyScaleDiv\fP Scale division of the y-axis .RE .PP \fBSee also:\fP .RS 4 \fBQwtPlot::updateAxes()\fP .RE .PP .PP Reimplemented from \fBQwtPlotItem\fP. .SS "int QwtPlotItem::xAxis () const\fC [inherited]\fP" .PP Return xAxis. .SS "int QwtPlotItem::yAxis () const\fC [inherited]\fP" .PP Return yAxis. .SS "double QwtPlotItem::z () const\fC [inherited]\fP"Plot items are painted in increasing z-order. .PP \fBReturns:\fP .RS 4 \fBsetZ()\fP, \fBQwtPlotDict::itemList()\fP .RE .PP .SH "Author" .PP Generated automatically by Doxygen for Qwt User's Guide from the source code.