Home
Qwt User's Guide Reference Manual
Contents
1. QwtPlotPanner Signals e void panned int dx int dy e void moved int dx int dy Public Member Functions e QwtPanner QWidget parent virtual QwtPanner void setEnabled bool bool isEnabled const void setMouseButton int button int buttonState Qt NoButton void getMouseButton int amp button int amp buttonState const void setAbortKey int key int state Qt NoButton void getAbortKey int amp key int amp state const void setCursor const QCursor amp const QCursor cursor const void setOrientations Qt Orientations Qt Orientations orientations const bool isOrientationEnabled Qt Orientation const virtual bool eventFilter QObject x QEvent Protected Member Functions virtual void widgetMousePressEvent QMouseEvent virtual void widgetMouseReleaseEvent QMouseEvent virtual void widgetMouseMoveEvent QMouseEvent virtual void widgetKeyPressEvent QKeyEvent virtual void widgetKeyReleaseEvent QKeyEvent virtual void paintEvent QPaintEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 40 QwtPanner Class Reference 157 6 40 1 Detailed Description QwtPanner provides panning of a widget QwtPanner grabs the contents of a widget that can be dragged in all directions The offset between the start and the end position is emitted by the panned signal QwtPanner grabs the content of the widget into a pixmap and moves
2. Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 248 6 55 4 16 void QwtPlotLayout invalidate virtual Invalidate the geometry of all components See also activate 6 55 4 17 const QRect amp QwtPlotLayout titleRect const Returns Geometry for the title See also activate invalidate 6 55 4 18 const QRect amp QwtPlotLayout legendRect const Returns Geometry for the legend See also activate invalidate 6 55 4 19 const QRect amp QwtPlotLayout scaleRect int axis const Parameters axis Axis index Returns Geometry for the scale See also activate invalidate 6 55 4 20 const QRect amp QwtPlotLayout canvasRect const Returns Geometry for the canvas See also activate invalidate Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 249 6 55 4 21 QRect QwtPlotLayout layoutLegend int options const QRect amp rect const protected Find the geometry for the legend Parameters options Options how to layout the legend rect Rectangle where to place the legend Returns Geometry for the legend See also Options 6 55 4 22 QRect QwtPlotLayout alignLegend const QRect amp canvasRect const QRect amp legend Rect const protected Align the legend to the canvas Parameters canvasRect Geometry of t
3. Public Member Functions e QwtScaleDiv e QwtScaleDiv const QwtDoubleInterval amp QwtValueList NTickTypes e QwtScaleDiv double lowerBound double upperBound QwtValueList NTickTypes int operator const QwtScaleDiv amp s const int operator const QwtScaleDiv amp s const void setInterval double lowerBound double upperBound void setInterval const QwtDoubleInterval amp QwtDoublelInterval interval const double lowerBound const double upperBound const double range const bool contains double v const void setTicks int type const QwtValueList amp const QwtValueList amp ticks int type const void invalidate bool is Valid const void invert 6 72 1 Detailed Description A class representing a scale division A scale division consists of its limits and 3 list of tick values qualified as major medium and minor ticks In most cases scale divisions are calculated by a QwtScaleEngine See also subDividelInto subDivide 6 72 2 Member Enumeration Documentation 6 72 2 1 enum QwtScaleDiv TickType Scale tick types 6 72 3 Constructor amp Destructor Documentation 6 72 3 1 QwtScaleDiv QwtScaleDiv explicit Construct an invalid QwtScaleDiv instance 6 72 3 2 QwtScaleDiv QwtScaleDiv const QwtDoubleInterval amp interval ticks NTickTypes explicit Construct QwtScaleDiv instance Parameters interval Interval ticks List of major medium and min
4. 6 38 1 Detailed Description A Map to translate between layout screen and paint device metrics Qt3 supports painting in integer coordinates only Therefore it is not possible to scale the layout in screen coordinates to layouts in higher resolutions f e printing without losing the higher precision Quwt MetricsMap is used to incorporate the various widget attributes always in screen resolution into the layout printing code of QwtPlot Qt4 is able to paint floating point based coordinates what makes it possible always to render in screen coordinates with a common scale factor QwtMetricsMap will be obsolete as soon as Qt3 support has been dropped Qwt 6 x 6 38 2 Member Function Documentation 6 38 2 1 QwtPolygon QwtMetricsMap translate const QMatrix amp m const QwtPolygon amp pa static Wrapper for QMatrix map Parameters m Matrix pa Polygon to translate Returns Translated polygon 6 38 2 2 QRect QwtMetricsMap translate const QMatrix amp m const QRect amp rect static Wrapper for QMatrix mapRect Parameters m Matrix rect Rectangle to translate Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 39 QwtPainter Class Reference 152 Returns Translated rectangle 6 39 QwtPainter Class Reference A collection of QPainter workarounds include lt qwt_painter h gt Static Public Member Functions static void setMetricsMap const QPaintDev
5. 6 63 3 15 void QwtPlotScaleItem setBorderDistance int distance Align the scale to the canvas If distance is gt 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 If distance is lt 0 the scale will be at the position Parameters distance Number of pixels between the canvas border and the backbone of the scale See also setPosition borderDistance 6 63 3 16 int QwtPlotScaleItem borderDistance const Returns Distance from a canvas border See also setBorderDistance setPosition 6 63 3 17 void QwtPlotScaleItem setAlignment QwtScaleDraw Alignment alignment Change the alignment of the scale The alignment sets the orientation of the scale and the position of the ticks e QwtScaleDraw BottomScale horizontal ticks below e QwtScaleDraw TopScale horizontal ticks above e QwtScaleDraw LeftScale vertical ticks left e QwtScaleDraw RightScale vertical ticks right For horizontal scales the position corresponds to QwtPlotItem yAxis otherwise to QwtPlotItem x Axis See also scaleDraw QwtScaleDraw alignment setPosition Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 286 6 63 3 18 void QwtPlotScaleItem d
6. QwtPlotGrid QwtPlotScaleItem QwtPlotSvgltem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 234 Depending on the QwtPlotItem ItemAttribute flags an item is included into autoscaling or has an entry on the legnd Before misusing the existing item classes it might be better to implement a new type of plot item don t im plement a watermark as spectrogram Deriving a new type of QwtPlotItem primarily means to implement the YourPlotItem draw method See also The cpuplot example shows the implementation of additional plot items 6 54 2 Member Enumeration Documentation 6 54 2 1 enum QwtPlotItem RttiValues Runtime type information Rtti Values is used to cast plot items without having to enable runtime type information of the compiler 6 54 2 2 enum QwtPlotItem ItemAttribute Plot Item Attributes Legend The item is represented on the legend e AutoScale The boundingRect of the item is included in the autoscaling calculation See also setItemAttribute testItemAttribute 6 54 2 3 enum QwtPlotItem RenderHint Render hints 6 54 3 Constructor amp Destructor Documentation 6 54 3 1 QwtPlotItem QwtPlotItem const QwtText amp title QwtText explicit Constructor Parameters title Title of the item 6 54 3 2 QwtPlotItem QwtPlotItem virtual Destroy the QwtPlotItem Generated on Sun Mar 22 16 44
7. scale division 6 2 4 4 void QwtAbstractScaleDraw setTransformation QwtScaleTransformation transforma tion Change the transformation of the scale Parameters transformation New scale transformation Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 20 6 2 4 5 const QwtScaleMap amp QwtAbstractScaleDraw map const Returns Map how to translate between scale and pixel values 6 2 4 6 void QwtAbstractScaleDraw enableComponent ScaleComponent component bool enable true En Disable a component of the scale Parameters component Scale component enable On Off See also hasComponent 6 2 4 7 bool QwtAbstractScaleDraw hasComponent ScaleComponent component const Check if a component is enabled See also enableComponent 6 2 4 8 void QwtAbstractScaleDraw setTickLength QwtScaleDiv TickType tickType int length Set the length of the ticks Parameters tickType Tick type length New length Warning the length is limited to 0 1000 6 2 4 9 int QwtAbstractScaleDraw tickLength QwtScaleDiv TickType tickType const Return the length of the ticks See also setTickLengthQ majTickLength 6 2 4 10 int QwtAbstractScaleDraw majTickLength const The same as QwtAbstractScaleDraw tickLength QwtScaleDiv MajorTick Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractSc
8. Align and divide an interval Parameters maxNumSteps Max number of steps x1 First limit of the interval In Out x2 Second limit of the interval In Out stepSize Step size Return value Implemented in QwtLinearScaleEngine and QwtLog10ScaleEngine 6 74 4 11 virtual QwtScaleDiv QwtScaleEngine divideScale double x7 double x2 int maxMaj Steps int maxMinSteps double stepSize 0 0 const pure virtual Calculate a scale division Parameters x1 First interval limit x2 Second interval limit maxMajSteps Maximum for the number of major steps max MinSteps Maximum number of minor steps stepSize Step size If stepSize 0 0 the scaleEngine calculates one Implemented in QwtLinearScaleEngine and QwtLog10ScaleEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 334 6 74 4 12 virtual QwtScaleTransformations QwtScaleEngine transformation const pure virtual Returns a transformation Implemented in QwtLinearScaleEngine and QwtLog10ScaleEngine 6 74 4 13 bool QwtScaleEngine contains const QwtDoubleInterval amp interval double value const protected Check if an interval contains a value Parameters interval Interval value Value See also QwtScaleArithmetic compareEps 6 74 4 14 QwtValueList QwtScaleEngine strip const QwtValueList amp ticks const QwtDouble Interval amp interval const protected Remove ticks
9. Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 255 6 57 4 10 QwtPlotMarker LineStyle QwtPlotMarker lineStyle const Returns the line style See also For a description of line styles see QwtPlotMarker setLineStyle 6 57 4 11 void QwtPlotMarker setLinePen const QPen amp pen Specify a pen for the line The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen New pen See also linePen QwtPainter scaledPen 6 57 4 12 const QPen amp QwtPlotMarker linePen const Returns the line pen See also setLinePen 6 57 4 13 void QwtPlotMarker setSymbol const QwtSymbol amp s Assign a symbol Parameters s New symbol See also symbol 6 57 4 14 const QwtSymbol amp QwtPlotMarker symbol const Returns the symbol See also setSymbol QwtSymbol Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 256 6 57 4 15 void QwtPlotMarker setLabel const QwtText amp label Set the label Parameters label label text See also label 6 57 4 16 QwtText QwtPlotMarker label const Returns the label See also setLabel 6 57 4 17 void QwtPlotMarker setLabelAlignment Qt Alignment align Set the alignment of the label In case of QwtPlotMarker HLine the alignment is r
10. Returns upper bound See also lowerBound 6 72 4 8 double QwtScaleDiv range const inline Returns upperBound lowerBound 6 72 4 9 bool QwtScaleDiv contains double value const Return if a value is between lowerBound and upperBound Parameters value Value Returns true false 6 72 4 10 void QwtScaleDiv setTicks int type const QwtValueList amp ticks Assign ticks Parameters type MinorTick MediumTick or MajorTick ticks Values of the tick positions 6 72 4 11 const QwtValueList amp QwtScaleDiv ticks int type const Return a list of ticks Parameters type MinorTick MediumTick or MajorTick Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 321 6 72 4 12 void QwtScaleDiv invalidate Invalidate the scale division 6 72 4 13 bool QwtScaleDiv isValid const Check if the scale division is valid 6 72 4 14 void QwtScaleDiv invert Invert the scale divison 6 73 QwtScaleDraw Class Reference A class for drawing scales include lt qwt_scale_draw h gt Inheritance diagram for QwtScaleDraw QwtAbstractScaleDraw QwtScaleDraw Public Types e enum Alignment BottomScale TopScale LeftScale RightScale Public Member Functions e QwtScaleDraw e QwtScaleDraw const QwtScaleDraw amp virtual QwtScaleDraw QwtScaleDraw amp operator const Q
11. See also QwtPainter resetScaleMetrics QwtPainter scaleMetricsX QwtPainter scaleMetrics Y 6 39 2 2 void QwtPainter setMetricsMap const QwtMetricsMap amp map static Change the metrics map See also QwtPainter resetMetricsMap QwtPainter metricsMap 6 39 2 3 void QwtPainter resetMetricsMap static Reset the metrics map to the ratio 1 1 See also QwtPainter setMetricsMap QwtPainter resetMetricsMap 6 39 2 4 const QwtMetricsMap amp QwtPainter metricsMap static Returns Metrics map 6 39 2 5 void QwtPainter setDeviceClipping bool enable static En Disable device clipping On X11 the default for device clipping is enabled otherwise it is disabled See also QwtPainter deviceClipping Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 39 QwtPainter Class Reference 154 6 39 2 6 bool QwtPainter deviceClipping inline static Returns whether device clipping is enabled On X11 the default is enabled otherwise it is disabled See also QwtPainter setDeviceClipping 6 39 2 7 const QRect amp QwtPainter deviceClipRect 0 static Returns rect for device clipping See also QwtPainter setDeviceClipping 6 39 2 8 void QwtPainter setClipRect QPainter x painter const QRect amp rect static Wrapper for QPainter setClipRect 6 39 2 9 void QwtPainter drawText QPainter x painter int x int y const QString amp
12. axisId axis index pos position Warning The position can be an x or a y coordinate depending on the specified axis 6 49 4 22 int QwtPlot transform int axisId double value const Transform a value into a coordinate in the plotting region Parameters axisId axis index value value Returns X or y coordinate in the plotting region corresponding to the value 6 49 4 23 QwtScaleEngine x QwtPlot axisScaleEngine int axisId Parameters axisId axis index Returns Scale engine for a specific axis 6 49 4 24 const QwtScaleEngine QwtPlot axisScaleEngine int axisId const Parameters axisId axis index Returns Scale engine for a specific axis 6 49 4 25 void QwtPlot setAxisScaleEngine int axisId QwtScaleEngine x scaleEngine Change the scale engine for an axis Parameters axisId axis index scaleEngine Scale engine See also axisScaleEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 194 6 49 4 26 void QwtPlot setAxisAutoScale int axisId Enable autoscaling for a specified axis This member function is used to switch back to autoscaling mode after a fixed scale has been set Autoscal ing is enabled by default Parameters axisId axis index See also QwtPlot setAxisScale QwtPlot setAxisScaleDiv 6 49 4 27 bool QwtPlot axisAutoScale int axisId const Returns true if autoscaling is enabled Parameters axi
13. const e QRect trackerRect const QFont amp const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 163 Protected Member Functions e virtual bool accept QwtPolygon amp selection const e virtual void transition const QEvent e virtual void begin e virtual void append const QPoint amp e virtual void move const QPoint amp e virtual bool end bool ok true e virtual void reset e virtual void widgetMousePressEvent QMouseEvent e virtual void widgetMouseReleaseEvent QMouseEvent e virtual void widgetMouseDoubleClickEvent QMouseEvent e virtual void widgetMouseMoveEvent QMouseEvent e virtual void widgetWheelEvent QWheelEvent e virtual void widgetKeyPressEvent QKeyEvent e virtual void widgetKeyReleaseEvent QKeyEvent e virtual void widgetLeaveEvent QEvent e virtual void stretchSelection const QSize amp oldSize const QSize amp newSize e virtual QwtPickerMachine stateMachine int const e virtual void updateDisplay e const QWidget x rubberBandWidget const e const QWidget trackerWidget const 6 41 1 Detailed Description QwtPicker provides selections on a widget QwtPicker filters all mouse and keyboard events of a widget and translates them into an array of selected points Depending on the QwtPicker SelectionType the selection might be a single point a rectangle or a polygon The selection proces
14. flags Or d value of SelectionType RectSelectionType and SelectionMode The default value is No Selection See also selectionFlags SelectionType RectSelectionType SelectionMode Reimplemented in QwtPlotZoomer 6 41 4 2 int QwtPicker selectionFlags const Returns Selection flags an Or d value of SelectionType RectSelectionType and SelectionMode See also setSelectionFlags SelectionType RectSelectionType SelectionMode 6 41 4 3 void QwtPicker setRubberBand RubberBand rubberBand virtual Set the rubberband style Parameters rubberBand Rubberband style The default value is NoRubberBand See also rubberBand RubberBand setRubberBandPen 6 41 4 4 QwtPicker RubberBand QwtPicker rubberBand const Returns Rubberband style See also setRubberBand RubberBand rubberBandPen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 168 6 41 4 5 void QwtPicker setTrackerMode DisplayMode mode virtual Set the display mode of the tracker A tracker displays information about current position of the cursor as a string The display mode controls if the tracker has to be displayed whenever the observed widget has focus and cursor AlwaysOn never AlwaysOff or only when the selection is active ActiveOnly Parameters mode Tracker display mode Warning In case of AlwaysOn mouseTracking will be enabled for the obser
15. include lt qwt_plot_item h gt Inheritance diagram for QwtPlotItem QwtLegendltemManager QwtPlotltem QuwtPlotCurve QuwtPlotGrid QuwtPlotMarker QuwtPlotRasterltem QwtPlotScaleltem QwiPlotSvgitem QwtPlotSpectrogram Public Types enum RttiValues Rtti_PlotItem 0 Rtti_PlotGrid Rtti_PlotScale Rtti_PlotMarker Rtti_PlotCurve Rtti_PlotHistogram Rtti_PlotSpectrogram Rtti_PlotSVG Rtti_PlotUserItem 1000 enum ItemAttribute Legend 1 AutoScale 2 enum RenderHint RenderAntialiased Public Member Functions QwtPlotItem const QwtText amp title QwtText virtual QwtPlotItem void attach QwtPlot plot void detach QwtPlot gt plot const void setTitle const QString amp title void setTitle const QwtText amp title const QwtText amp title const virtual int rtti const void setItemAttribute ItemAttribute bool on true bool testItemAttribute ItemAttribute const void setRenderHint RenderHint bool on true Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 233 bool testRenderHint RenderHint const double z const void setZ double z void show void hide virtual void set Visible bool bool is Visible const void setAxis int xAxis int yAxis void setX Axis int axis int xAxis const void set YAxis int axis
16. int yAxis const virtual void itemChanged virtual void draw QPainter painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp canvasRect const 0 virtual QwtDoubleRect boundingRect const virtual void updateLegend QwtLegend const virtual void updateScaleDiv const QwtScaleDiv amp const QwtScaleDiv amp virtual QWidget legendItem const QwtDoubleRect scaleRect const QwtScaleMap amp const QwtScaleMap amp const QRect paintRect const QwtScaleMap amp const QwtScaleMap amp const QRect transform const QwtScaleMap amp const QwtScaleMap amp const QwtDoubleRect amp const QwtDoubleRect invTransform const QwtScaleMap amp const QwtScaleMap amp const QRect amp const 6 54 1 Detailed Description Base class for items on the plot canvas A plot item is something that can be painted on the plot canvas or only affects the scales of the plot widget They can be categorized as Representator A Representator is an item that represents some sort of data on the plot canvas The different representator classes are organized according to the characteristics of the data QwtPlotMarker Represents a point or a horizontal vertical coordinate QwtPlotCurve Represents a series of points QwitPlotSpectrogram QwtPlotRasterItem Represents raster data Decorators A Decorator is an item that displays additional information that is not related to any data
17. vstep new step width Warning The value will not be adjusted to the new step raster Reimplemented in QwtCounter 6 23 3 9 double QwtDoubleRange step const Returns the step size See also setStep setRange Reimplemented in QwtCounter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 99 6 23 3 10 double QwtDoubleRange maxValue const Returns the value of the second border of the range max Value returns the value which has been specified as the second parameter in QwtDoubleRange set Range See also setRange 6 23 3 11 double QwtDoubleRange minValue const Returns the value at the first border of the range min Value returns the value which has been specified as the first parameter in setRange See also setRange 6 23 3 12 int QwtDoubleRange pageSize const Returns the page size in steps 6 23 3 13 void QwtDoubleRange incValue int nSteps virtual Increment the value by a specified number of steps Parameters nSteps Number of steps to increment Warning As a result of this operation the new value will always be adjusted to the step raster Reimplemented in QwtAbstractSlider 6 23 3 14 void QwtDoubleRange incPages int nPages virtual Increment the value by a specified number of pages Parameters nPages Number of pages to increment A negative number decrements the value Warning
18. 6 49 4 5 QwtPlotLayout x QwtPlot plotLayout Returns the plot s title 6 49 4 6 const QwtPlotLayout QwtPlot plotLayout const Returns the plot s titel label 6 49 4 7 void QwtPlot setMargin int margin Change the margin of the plot The margin is the space around all components Parameters margin new margin See also QwtPlotLayout setMargin margin plotLayout Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 191 6 49 4 8 int QwtPlot margin const Returns margin See also setMargin QwtPlotLayout margin plotLayout 6 49 4 9 void QwtPlot setTitle const QString amp title Change the plot s title Parameters title New title 6 49 4 10 void QwtPlot setTitle const QwtText amp title Change the plot s title Parameters title New title 6 49 4 11 QwtText QwtPlot title const Returns the plot s title 6 49 4 12 QwtTextLabel x QwtPlot titleLabel Returns the plot s titel label 6 49 4 13 const QwtTextLabel QwtPlot titleLabel const Returns the plot s titel label 6 49 4 14 QwtPlotCanvas x QwtPlot canvas Returns the plot s canvas Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 192 6 49 4 15 const QwtPlotCanvas x QwtPlot canvas const Returns the plot s canvas 6 49 4
19. 6 55 4 3 void QwtPlotLayout setCanvasMargin int margin int axis 1 Change a margin of the canvas The margin is the space above below the scale ticks A negative margin will be set to 1 excluding the borders of the scales Parameters margin New margin axis One of QwtPlot Axis Specifies where the position of the margin 1 means margin at all borders See also canvasMargin Warning The margin will have no effect when alignCanvasToScales is true Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 245 6 55 4 4 int QwtPlotLayout canvasMargin int axis const Returns Margin around the scale tick borders See also setCanvasMargin 6 55 4 5 void QwtPlotLayout setAlignCanvasToScales bool alignCanvasToScales Change the align canvas to axis scales setting The canvas may e extend beyond the axis scale ends to maximize its size e align with the axis scale ends to control its size Parameters alignCanvasToScales New align canvas to axis scales setting See also setCanvasMargin Note In this context the term scale means the backbone of a scale Warning In case of alignCanvasToScales true canvasMargin will have no effect 6 55 4 6 bool QwtPlotLayout alignCanvasToScales const Return the align canvas to axis scales setting The canvas may e extend beyond the axis scale ends to maximize its size e a
20. 6 61 4 5 void QwtPlotRasterItem invalidateCache Invalidate the paint cache See also setCachePolicy 6 61 4 6 void QwtPlotRasterItem draw QPainter painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp canvasRect const virtual Draw the raster data Parameters painter Painter xMap X Scale Map yMap Y Scale Map canvasRect Contents rect of the plot canvas Implements QwtPlotItem Reimplemented in QwtPlotSpectrogram 6 61 4 7 QSize QwtPlotRasterItem rasterHint const QwtDoubleRect amp const virtual Returns the recommended raster for a given rect Fe the raster hint can be used to limit the resolution of the image that is rendered The default implementation returns an invalid size QSize what means no hint Reimplemented in QwtPlotSpectrogram Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 274 6 61 4 8 virtual QImage QwtPlotRasterItem renderImage const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QwtDoubleRect amp area const protected pure virtual Renders an image for an area The format of the image must be QlImage Format_Indexed8 QImage Format_RGB32_ or QImage Format_ARGB32 Parameters xMap Maps x values into pixel coordinates yMap Maps y values into pixel coordinates area Requested area for the image in scale coordinates Implemented in QwtPlotSpectrogr
21. 6 79 4 3 QuwtSlider BGSTYLE QwitSlider bgStyle const Returns the background style Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 354 6 79 4 4 void QwtSlider setScalePosition ScalePos s Change the scale position and slider orientation Parameters s Position of the scale A valid combination of scale position and orientation is enforced e if the new scale position is Left or Right the scale orientation will become Qt Vertical e if the new scale position is Bottom or Top the scale orientation will become Qt Horizontal e if the new scale position is QwtSlider NoScale the scale orientation will not change 6 79 4 5 QwtSlider ScalePos QwtSlider scalePosition const Return the scale position 6 79 4 6 int QwtSlider thumbLength const Returns the thumb length 6 79 4 7 int QwtSlider thumb Width const Returns the thumb width 6 79 4 8 int QwtSlider border Width const Returns the border width 6 79 4 9 void QwtSlider setThumbLength int thumbLength Set the slider s thumb length Parameters thumbLength new length 6 79 4 10 void QwtSlider setThumb Width int w Change the width of the thumb Parameters w new width Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 355 6 79 4 11 void QwtSlider setBorder Width int bd Change
22. Auto Spline ParametricSpline Public Member Functions e QwtSplineCurveFitter virtual QwtSplineCurveFitter void setFitMode FitMode FitMode fitMode const void setSpline const QwtSpline amp const QwtSpline amp spline const QwtSpline amp spline void setSplineSize int size int splineSize const virtual QPolygonF fitCurve const QPolygonF amp const 6 81 1 Detailed Description A curve fitter using cubic splines 6 81 2 Constructor amp Destructor Documentation 6 81 2 1 QwtSplineCurveFitter QwtSplineCurveFitter Constructor 6 81 2 2 QwtSplineCurveFitter QwtSplineCurveFitter virtual Destructor 6 81 3 Member Function Documentation 6 81 3 1 void QwtSplineCurveFitter setFitMode FitMode mode Select the algorithm used for building the spline Parameters mode Mode representing a spline algorithm See also fitMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 82 QwtSymbol Class Reference 363 6 81 3 2 QwtSplineCurveFitter FitMode QwtSplineCurveFitter fitMode const Returns Mode representing a spline algorithm See also setFitMode 6 81 3 3 QPolygonF QwtSplineCurveFitter fitCurve const virtual Find a curve which has the best fit to a series of data points Parameters points Series of data points Returns Curve points Implements QwtCurveFitter 6 82 QwtSymbol Class Reference
23. Parameters painter Painter palette Palette colorGroup Color group center center of the needle length Length of the needle width Width of the needle direction Current Direction hasKnob With Without knob Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 89 6 21 4 4 void QwtDialSimpleNeedle setWidth int width Set the width of the needle Parameters width Width See also width 6 21 4 5 int QwtDialSimpleNeedle width const Returns the width of the needle See also setWidth 6 22 QwtDoublelInterval Class Reference A class representing an interval include lt qwt_double_interval h gt Public Types e enum BorderMode IncludeBorders 0 ExcludeMinimum 1 ExcludeMaximum 2 ExcludeBorders ExcludeMinimum ExcludeMaximum Public Member Functions e QwtDoublelInterval e QwtDoublelInterval double minValue double max Value int borderFlags IncludeBorders void setInterval double minValue double max Value int borderFlags IncludeBorders QwtDoublelInterval normalized const QwtDoubleInterval inverted const QwtDoublelInterval limited double min Value double maxValue const int operator const QwtDoubleInterval amp const int operator const QwtDoubleInterval amp const void setBorderFlags int int borderFlags const double min Value const double max Value const double width
24. QwtPlainTextEngine Public Member Functions e QwtPlainTextEngine virtual QwtPlainTextEngine virtual int heightForWidth const QFont amp font int flags const QString amp text int width const virtual QSize textSize const QFont amp font int flags const QString amp text const virtual void draw QPainter painter const QRect amp rect int flags const QString amp text const virtual bool mightRender const QString amp const virtual void textMargins const QFont amp const QString amp int amp left int amp right int amp top int amp bot tom const 6 48 1 Detailed Description A text engine for plain texts QwtPlainTextEngine renders texts using the basic Qt classes QPainter and QFontMetrics 6 48 2 Constructor amp Destructor Documentation 6 48 2 1 QwtPlainTextEngine QwtPlainTextEngine Constructor 6 48 2 2 QwtPlainTextEngine QwtPlainTextEngine virtual Destructor 6 48 3 Member Function Documentation 6 48 3 1 int QwtPlainTextEngine heightForWidth const QFont amp font int flags const QString amp text int width const virtual Find the height for a given width Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered width Width Returns Calculated height Implements QwtTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 48 QwtPlainTextEngine Class
25. Returns Rectangle in pixel coordinates See also QwtPlotPicker invTransform 6 59 3 16 QwtDoublePoint QwtPlotPicker invTransform const QPoint amp pos const protected Translate a point from pixel into plot coordinates Returns Point in plot coordinates See also QwtPlotPicker transform 6 59 3 17 QPoint QwtPlotPicker transform const QwtDoublePoint amp pos const protected Translate a point from plot into pixel coordinates Returns Point in pixel coordinates See also QwtPlotPicker invTransform Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 266 6 59 3 18 QwtText QwtPlotPicker trackerText const QPoint amp pos const protected virtual Translate a pixel position into a position string Parameters pos Position in pixel coordinates Returns Position string Reimplemented from QwtPicker 6 59 3 19 QwtText QwtPlotPicker trackerText const QwtDoublePoint amp pos const protected virtual Translate a position into a position string In case of HLineRubberBand the label is the value of the y position in case of VLineRubberBand the value of the x position Otherwise the label contains x and y position separated bya The format for the double to string conversion is 4f Parameters pos Position Returns Position string 6 59 3 20 void QwtPlotPicker move const QPoint amp pos
26. Set the direction in which all axis should be expanded Parameters direction Direction See also expandingDirection 6 62 4 6 void QwtPlotRescaler setExpandingDirection int axis ExpandingDirection direction Set the direction in which an axis should be expanded Parameters axis Axis index see QwtPlot AxisId direction Direction See also expandingDirection 6 62 4 7 QwtPlotRescaler ExpandingDirection QwtPlotRescaler expandingDirection int axis const Return direction in which an axis should be expanded Parameters axis Axis index see QwtPlot AxisId See also setExpandingDirection 6 62 4 8 void QwtPlotRescaler setReferenceAxis int axis Set the reference axis see RescalePolicy Parameters axis Axis index QwtPlot Axis See also referenceAxis Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 278 6 62 4 9 int QwtPlotRescaler referenceAxis const Returns Reference axis see RescalePolicy See also setReferenceAxis 6 62 4 10 void QwtPlotRescaler setAspectRatio double ratio Set the aspect ratio between the scale of the reference axis and the other scales The default ratio is 1 0 Parameters ratio Aspect ratio See also aspectRatio 6 62 4 11 void QwtPlotRescaler setAspectRatio int axis double ratio Set the aspect ratio between the scale of the reference axis and another scale
27. const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 90 void setMin Value double void setMax Value double bool contains double value const bool intersects const QwtDoubleInterval amp const QwtDoublelInterval intersect const QwtDoubleInterval amp const QwtDoublelInterval unite const QwtDoubleInterval amp const QwtDoubleInterval operator const QwtDoubleInterval amp const QwtDoubleInterval operator amp const QwtDoublelInterval amp const QwtDoubleInterval amp operator const QwtDoubleInterval amp QwtDoubleInterval amp operator amp const QwtDoubleInterval amp QwtDoublelInterval extend double value const QwtDoubleInterval operator double const QwtDoubleInterval amp operator double bool is Valid const bool isNull const void invalidate e QwtDoublelInterval symmetrize double value const 6 22 1 Detailed Description A class representing an interval The interval is represented by 2 doubles the lower and the upper limit 6 22 2 Member Enumeration Documentation 6 22 2 1 enum QwtDoubleInterval BorderMode Flag indicating if a border is included excluded from an interval IncludeBorders min max values are inside the interval ExcludeMinimum min value is not included in the interval ExcludeMaximum max value is not included in the interval ExcludeBorders min max values are not included
28. e QwtPlotItem AutoScale true e QwtPlotItem Legend false Parameters title Title 6 65 2 2 QwtPlotSvgItem QwtPlotSvgItem const QwtText amp title explicit Constructor Sets the following item attributes e QwtPlotItem AutoScale true e QwtPlotItem Legend false Parameters title Title 6 65 2 3 QwtPlotSvgItem QwtPlotSvgItem virtual Destructor 6 65 3 Member Function Documentation 6 65 3 1 bool QwtPlotSvgItem loadFile const QwtDoubleRect amp rect const QString amp fileName Load a SVG file Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 65 QwtPlotSvgItem Class Reference 296 Parameters rect Bounding rectangle fileName SVG file name Returns true if the SVG file could be loaded 6 65 3 2 bool QwtPlotSvgItem loadData const QwtDoubleRect amp rect const QByteArray amp data Load SVG data Parameters rect Bounding rectangle data in SVG format Returns true if the SVG data could be loaded 6 65 3 3 QwtDoubleRect QwtPlotSvgItem boundingRect const virtual Bounding rect of the item Reimplemented from QwtPlotItem 6 65 3 4 void QwtPlotSvgItem draw QPainter painter const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp canvasRect const virtual Draw the SVG item Parameters painter Painter xMap X Scale Map yMap Y Scale Map canvasRect Contents rect of the plot canvas Implement
29. setTotalAngle 6 87 3 10 void QwtWheel setInternalBorder int w Set the internal border width of the wheel The 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 The internal border defaults to 2 Parameters w border width See also internalBorder 6 87 3 11 void QwtWheel setMass double val virtual Set the mass of the wheel Assigning a mass turns the wheel into a flywheel Parameters val the wheel s mass Reimplemented from QwtAbstractSlider 6 87 3 12 void QwtWheel setWheel Width int w Set the width of the wheel Corresponds to the wheel height for horizontal orientation and the wheel width for vertical orientation Parameters w the wheel s width 6 87 3 13 QSize QwtWheel sizeHint const virtual Returns a size hint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 QwtWheel Class Reference 397 6 87 3 14 QSize QwtWheel minimumSizeHint const virtual Return a minimum size hint Warning The return value is based on the wheel width 6 87 3 15 void QwtWheel resizeEvent QResizeEvent xe protected virtual Qt Resize Event 6 87 3 16 void QwtWheel paintEvent QPaintEvent xe protected virtual Qt Paint Event 6 87 3 17 void QwtWheel layoutWheel bool update true protected Recalculate the slider s geometry and layout base
30. the dial can be rotated by dragging the mouse or using keyboard inputs see keyPressEvent A dial might be wrapping what means a rotation below above one limit continues on the other limit f e compass The scale might cover any arc of the dial its values are related to the origin of the dial Qwt is missing a set of good looking needles QwtDialNeedle Contributions are very welcome See also QwtCompass QwtAnalogClock QwtDialNeedle Note The examples dials example shows different types of dials 6 18 2 Member Enumeration Documentation 6 18 2 1 enum QwtDial Shadow Frame shadow Unfortunately it is not possible to use QFrame Shadow as a property of a widget that is not derived from QFrame The following enum is made for the designer only It is safe to use QFrame Shadow instead Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 72 6 18 2 2 enum QwtDial ScaleOptions see QwtDial setScaleOptions 6 18 2 3 enum QwtDial Mode In case of RotateNeedle the needle is rotating in case of RotateScale the needle points to origin and the scale is rotating 6 18 2 4 enum QwtDial Direction Direction of the dial 6 18 3 Constructor amp Destructor Documentation 6 18 3 1 QwtDial QwtDial QWidget x parent NULL explicit Constructor Parameters parent Parent widget Create a dial widget with no scale and no needle The default origin is 90 0
31. 1 Ticks 2 Labels 4 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 18 Public Member Functions e QwtAbstractScaleDraw e QwtAbstractScaleDraw const QwtAbstractScaleDraw amp virtual QwtAbstractScaleDraw QwtAbstractScaleDraw amp operator const QwtAbstractScaleDraw amp void setScaleDiv const QwtScaleDiv amp s const QwtScaleDiv amp scaleDiv const void setTransformation QwtScaleTransformation const QwtScaleMap amp map const void enableComponent ScaleComponent bool enable true bool hasComponent ScaleComponent const void setTickLength QwtScaleDiv TickType int length int tickLength QwtScaleDiv TickType const int majTickLength const void setSpacing int margin int spacing const virtual void draw QPainter x const QPalette amp const virtual QwtText label double const virtual int extent const QPen amp const QFont amp const 0 void setMinimumExtent int int minimumExtent const e QwtScaleMap amp scaleMap Protected Member Functions virtual void drawTick QPainter painter double value int len const 0 virtual void drawBackbone QPainter painter const 0 virtual void drawLabel QPainter painter double value const 0 void invalidateCache const QwtText amp tickLabel const QFont amp double value const 6 2 1 Detailed Description A abstract base class for drawing
32. 1 0 or 1 See also QwtAbstractSlider getScrollMode Implements QwtAbstractSlider Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 19 QwtDialNeedle Class Reference 83 6 19 QwtDialNeedle Class Reference Base class for needles that can be used in a QwtDial include lt qwt_dial_needle h gt Inheritance diagram for QwtDialNeedle QuwtDialNeedle QuwtCompassMagnetNeedle QwtCompassWindArrow QwtDialSimpleNeedle Public Member Functions e QwtDialNeedle e virtual QwtDialNeedle e virtual void draw QPainter painter const QPoint amp center int length double direction QPalette ColorGroup cg QPalette Active const 0 e virtual void setPalette const QPalette amp e const QPalette amp palette const Static Protected Member Functions e static void drawKnob QPainter const QPoint amp pos int width const QBrush amp bool sunken 6 19 1 Detailed Description Base class for needles that can be used in a QwtDial QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction Qwt is missing a set of good looking needles Contributions are very welcome See also QwtDial QwtCompass 6 19 2 Constructor amp Destructor Documentation 6 19 2 1 QwtDialNeedle QwtDialNeedle Constructor 6 19 2 2 QwtDialNeedle QwtDialNeedle virtual Destructor 6 19 3 Member Function Documentation 6 19 3 1 virtual v
33. 299 zoomed 302 zoomRect 299 zoomRectIndex 300 zoomStack 300 QwtPolygonFData 304 QwtPolygonFData 304 QwtPolygonFData copy 304 data 305 operator 304 QwtPolygonFData 304 size 304 x 305 y 305 QwtRasterData 305 QwtRasterData 306 QwtRasterData QwtRasterData 307 boundingRect 307 ConrecAttribute 306 contourLines 308 copy 307 discardRaster 308 initRaster 307 QwtRasterData 306 range 308 rasterHint 307 setBoundingRect 307 value 308 QwtRichTextEngine 309 QwtRichTextEngine 309 QwtRichTextEngine draw 310 heightForWidth 309 mightRender 310 QwtRichTextEngine 309 textMargins 310 textSize 309 QwtRoundScaleDraw 311 QwtRoundScaleDraw 311 QwtRoundScaleDraw QwtRoundScaleDraw 312 center 312 drawBackbone 314 drawLabel 314 drawTick 313 extent 313 moveCenter 312 operator 312 QwtRoundScaleDraw 311 radius 312 setAngleRange 313 setRadius 312 QwtScaleArithmetic 314 QwtScaleArithmetic ceil125 316 ceilEps 315 compareEps 315 divideEps 315 floor125 316 floorEps 315 QwtScaleDiv 316 QwtScaleDiv 317 QwtScaleDiv contains 319 interval 318 invalidate 319 invert 320 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 436 is Valid 320 lowerBound 318 operator 318 operator 318 QwtScaleDiv 317 range 319 setInterval 318 setTicks 319 ticks 319 TickType 317 upperBound 319 QwtScaleDraw 320 QwtScaleDraw 32
34. 6 10 3 4 const QMap lt double QString gt amp QwtCompass labelMap const Returns map mapping values to labels See also setLabelMap 6 10 3 5 QMap lt double QString gt amp QwtCompass labelMap 0 Returns map mapping values to labels See also setLabelMap 6 10 3 6 void QwtCompass setLabelMap const QMap lt double QString gt amp map Set a map mapping values to labels Parameters map value to label map The values of the major ticks are found by looking into this map The default map consists of the labels N NE E SE S SW W NW Warning The map will have no effect for values that are no major tick values Major ticks can be changed by QwtScaleDraw setScale See also labelMap scaleDraw Q setScale Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 10 QwtCompass Class Reference 50 6 10 3 7 QwtText QwtCompass scaleLabel double value const protected virtual Map a value to a corresponding label Parameters value Value that will be mapped Returns Label or QString null label looks in a map for a corresponding label for value or return an null text See also labelMap setLabelMap Reimplemented from QwtDial 6 10 3 8 void QwtCompass drawRose QPainter painter const QPoint amp center int radius dou ble north QPalette ColorGroup cg const protected virtual Draw the compass rose Parameters p
35. 6 49 QwtPlot Class Reference 185 6 49 QwtPlot Class Reference A 2 D plotting widget include lt qwt_plot h gt Inheritance diagram for QwtPlot QwiPlotDict QuwiPlot Public Types e enum Axis yLeft yRight xBottom xTop axisCnt enum LegendPosition LeftLegend RightLegend BottomLegend TopLegend ExternalLegend Public Slots e virtual void clear e virtual void replot e void autoRefresh Signals e void legendClicked QwtPlotItem plotItem e void legendChecked QwtPlotItem plotItem bool on Public Member Functions e QwtPlot QWidget NULL e QwtPlot const QwtText amp title QWidget p NULL e virtual QwtPlot e void applyProperties const QString amp e QString grabProperties const e void setAutoReplot bool tf true e bool autoReplot const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 186 void print QPaintDevice amp p const QwtPlotPrintFilter amp QwtPlotPrintFilterQ const virtual void print QPainter x const QRect amp rect const QwtPlotPrintFilter amp QwtPlotPrintFilterQ const QwtPlotLayout x plotLayout const QwtPlotLayout plotLayout const void setMargin int margin int margin const void setTitle const QString amp void setTitle const QwtText amp t QwtText title const QwtTextLabel x titleLabel const QwtTex
36. 6 77 3 3 void QwtScaleWidget setTitle const QwtText amp title Give title new text contents Parameters title New title See also title Warning The title flags are interpreted in direction of the label AlignTop AlignBottom can t be set as the title will always be aligned to the scale 6 77 3 4 QwtText QwtScaleWidget title const Returns title See also setTitleQ 6 77 3 5 void QwtScaleWidget setBorderDist int dist1 int dist2 Specify distances of the scale s endpoints from the widget s borders The actual borders will never be less than minimum border distance Parameters dist Left or top Distance dist2 Right or bottom distance See also borderDist Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 343 6 77 3 6 int QwtScaleWidget startBorderDist const Returns start border distance See also setBorderDist 6 77 3 7 int QwtScaleWidget endBorderDist const Returns end border distance See also setBorderDist 6 77 3 8 void QwtScaleWidget getBorderDistHint int amp start int amp end const Calculate a hint for the border distances This member function calculates the distance of the scale s endpoints from the widget borders which is required for the mark labels to fit into the widget The maximum of this distance an the minimum border distance is returned Warning e The minimu
37. 6 85 3 2 void QwtTextLabel setText const QwtText amp text virtual Change the label s text Parameters text New text Reimplemented in QwtLegendItem 6 85 3 3 void QwtTextLabel clear slot Clear the text and all QwtText attributes 6 85 3 4 const QwtText amp QwtTextLabel text const Return the text 6 85 3 5 int QwtTextLabel indent const Return label s text indent in pixels 6 85 3 6 void QwtTextLabel setIndent int indent Set label s text indent in pixels Parameters indent Indentation in pixels 6 85 3 7 int QwtTextLabel margin const Return label s text indent in pixels 6 85 3 8 void QwtTextLabel setMargin int margin Set label s margin in pixels Parameters margin Margin in pixels 6 85 3 9 QSize QwtTextLabel sizeHint const virtual Return label s margin in pixels Reimplemented in QwtLegendlItem 6 85 3 10 QSize QwtTextLabel minimumSizeHint const virtual Return a minimum size hint slot Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 383 6 85 3 11 int QwtTextLabel heightFor Width int width const virtual Returns the preferred height for this widget given the width Parameters width Width 6 85 3 12 QRect QwtTextLabel textRect const Calculate the rect for the text in widget coordinates Returns Text rect 6 85 3 13 void QwtTextLabel paintEvent
38. Inheritance diagram for QwtPickerClickPointMachine QwtPickerMachine QwtPickerClickPointMachine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 43 QwtPickerClickRectMachine Class Reference 178 Public Member Functions e virtual CommandList transition const QwtEventPattern amp const QEvent 6 42 1 Detailed Description A state machine for point selections Pressing QwtEventPattern MouseSelect1 or QwtEventPattern KeySelect1 selects a point See also QwtEventPattern MousePatternCode QwtEventPattern KeyPatternCode 6 42 2 Member Function Documentation 6 42 2 1 QwtPickerMachine CommandList QwtPickerClickPointMachine transition const Qwt EventPattern amp const QEvent virtual Transition Implements QwtPickerMachine 6 43 QwtPickerClickRectMachine Class Reference A state machine for rectangle selections include lt qwt_picker_machine h gt Inheritance diagram for QwtPickerClickRectMachine QwtPickerMachine QwtPickerClickRectMachine Public Member Functions e virtual CommandList transition const QwtEventPattern amp const QEvent 6 43 1 Detailed Description A state machine for rectangle selections Pressing QwtEventPattern MouseSelect1 starts the selection releasing it selects the first point Pressing it again selects the second point and terminates the selection Pressing QwtEventPattern KeySelect1
39. QPaintEvent x event protected Qt paint event Parameters event Paint event Reimplemented in QwtLegendlItem virtual 6 85 3 14 void QwtTextLabel drawContents QPainter protected virtual Redraw the text and focus indicator 6 85 3 15 void QwtTextLabel drawText QPainter const QRect amp virtual Redraw the text Reimplemented in QwtLegendlItem 6 86 QwtThermo Class Reference The Thermometer Widget include lt qwt_thermo h gt Inheritance diagram for QwtThermo QuwtAbstractScale QuwtThermo Public Types enum ScalePos protected Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 384 NoScale LeftScale RightScale TopScale BottomScale NoScale LeftScale RightScale TopScale BottomScale Public Slots void set Value double val Public Member Functions QwtThermo QWidget parent NULL virtual QwtThermo void setOrientation Qt Orientation o ScalePos s void setScalePosition ScalePos s ScalePos scalePosition const void setBorderWidth int w int borderWidth const void setFillBrush const QBrush amp b const QBrush amp fillBrush const void setFillColor const QColor amp c const QColor amp fillColor const void setAlarmBrush const QBrush amp b const QBrush amp alarmBrush const void setAlarmColor const QColor amp c const QColor
40. QwtText 373 setBackgroundPen QwtText 372 setBaseline QwtPlotCurve 218 setBgStyle QwtSlider 352 setBorderDist QwtScale Widget 341 setBorderDistance QwtPlotScalelItem 284 setBorderFlags QwtDoubleInterval 91 setBorderWidth QwtKnob 117 QwtSlider 353 QwtThermo 386 setBoundingRect QwtRasterData 307 setBrush QwtPlotCurve 218 QwtSymbol 365 setCachePolicy QwtPlotRasterltem 271 setCanvasBackground QwtPlot 191 setCanvasLine Width QwtPlot 191 setCanvasMargin QwtPlotLayout 243 setChecked QwtLegendItem 130 setClipRect QwtPainter 153 setColor QwtAlphaColorMap 32 QwtText 372 setColorArray QwtWheel 396 setColorInterval QwtLinearColorMap 135 setColorMap QwtPlotSpectrogram 288 setConrecAttribute QwtPlotSpectrogram 290 setContourLevels QwtPlotSpectrogram 290 setCurrentTime QwtAnalogClock 36 setCursor QwtPanner 157 setCurveAttribute QwtPlotCurve 217 setCurveFitter QwtPlotCurve 219 setCurvePen QwtLegendItem 129 setCurveType QwtPlotCurve 213 setData QwitIntervalData 114 QwtPlotCurve 214 215 QwtPlotSpectrogram 288 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 442 setDefaultContourPen QwtPlotSpectrogram 289 setDeviceClipping QwtPainter 152 setDirection QwtDial 75 setDisplay Mode QwtPlotSpectrogram 287 setDisplay Policy QwtLegend 122 setDown QwtLegendItem 131 setEditable QwtCounter 59 setEnabled QwtMagnifier 142 Qwt
41. See also drawTick drawLabel Implemented in QwtRoundScaleDraw and QwtScaleDraw 6 2 4 21 virtual void QwtAbstractScaleDraw drawLabel QPainter painter double value const protected pure virtual Draws the label for a major scale tick Parameters painter Painter value Value See also drawTick drawBackbone Implemented in QwtRoundScaleDraw and QwtScaleDraw 6 2 4 22 void QwtAbstractScaleDraw invalidateCache protected Invalidate the cache used by QwtAbstractScaleDraw tickLabel The cache is invalidated when a new QwtScaleDiv is set If the labels need to be changed while the same QwtScaleDiv is set QwtAbstractScaleDraw invalidateCache needs to be called manually 6 2 4 23 const QwtText amp QwtAbstractScaleDraw tickLabel const QFont amp font double value const protected Convert a value into its representing label and cache it The conversion between value and label is called very often in the layout and painting code Unfortunately the calculation of the label sizes might be slow really slow for rich text in Qt4 so it s necessary to cache the labels Parameters font Font Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference value Value Returns Tick label 6 3 QwtAbstractSlider Class Reference An abstract base class for slider widgets include lt qwt_abstract_slider h gt Inheritance diagram for
42. See also setPalette 6 63 3 8 void QwtPlotScaleItem setFont const QFont amp font Change the tick label font See also fontQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 63 QwtPlotScaleItem Class Reference 284 6 63 3 9 QFont QwtPlotScaleItem font const Returns tick label font See also setFont 6 63 3 10 void QwtPlotScaleItem setScaleDraw QwtScaleDraw scaleDraw Set a scale draw Parameters scaleDraw object responsible for drawing scales The main use case for replacing the default QwtScaleDraw is to overload QwtAbstractScaleDraw label to replace or swallow tick labels See also scaleDraw 6 63 3 11 const QwtScaleDraw x QwtPlotScaleItem scaleDraw const Returns Scale draw See also setScaleDraw 6 63 3 12 QwtScaleDraw x QwtPlotScaleItem scaleDraw Returns Scale draw See also setScaleDraw 6 63 3 13 void QwtPlotScaleItem setPosition double pos Change the position of the scale The position is interpreted as y value for horizontal axes and as x value for vertical axes The border distance is set to 1 Parameters pos New position See also position setAlignment Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 63 QwtPlotScaleItem Class Reference 285 6 63 3 14 double QwtPlotScaleItem position const Returns Position of the scale See also setPosition setAlignment
43. The default ratio is 1 0 Parameters axis Axis index see QwtPlot AxisId ratio Aspect ratio See also aspectRatio 6 62 4 12 double QwtPlotRescaler aspectRatio int axis const Return aspect ratio between an axis and the reference axis Parameters axis Axis index see QwtPlot AxisId See also setAspectRatio 6 62 4 13 QwtPlotCanvas x QwtPlotRescaler canvas Returns plot canvas Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 279 6 62 4 14 const QwtPlotCanvas QwtPlotRescaler canvas const Returns plot canvas 6 62 4 15 QwtPlot x QwtPlotRescaler plot Returns plot widget 6 62 4 16 const QwtPlot x QwtPlotRescaler plot const Returns plot widget 6 62 4 17 bool QwtPlotRescaler eventFilter QObject x QEvent x virtual Event filter for the plot canvas 6 62 4 18 void QwtPlotRescaler rescale const Adjust the plot axes scales 6 62 4 19 void QwtPlotRescaler rescale const QSize amp oldSize const QSize amp newSize const protected virtual Adjust the plot axes scales Parameters oldSize Previous size of the canvas newSize New size of the canvas 6 62 4 20 QwtDoubleInterval QwtPlotRescaler expandScale int axis const QSize amp oldSize const QSize amp newSize const protected virtual Calculate the new scale interval of a plot axis Parameters axis Axis
44. Windows Shell or at least it should because of a bug in Qt 4 3 0 you always have to do a qmake r C3 MSYS Shell Qt lt 4 3 0 For Qt lt 4 3 0 you have to set the MINGW_IN_SHELL variable make will run into errors with the subdirs target that can be ignored make i export MINGW_IN_SHELL 1 qmake make i make i install If you didn t enable autobuilding of the examples in qwtconfig pri you have to build the examples this way Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 3 Curve Plots 411 cd examples qmake examples pro make i make i install C 1 C 3 When you have built a Qwt DLL you need to add QWT_DLL to your compiler flags If you are using qmake for your own builds this done by adding the following line to your profile DEFINES QWT_DLL Windows doesn t like mixing of debug and release binaries Most of the problems with using the Qwt designer plugin are because of trying to load a Qwt debug library into a designer release executable D MacOSx Well the Mac is only another Unix system So read the instructions in A In the recent Qt4 releases the default target of qmake is to generate XCode project files instead of makefiles So you might need to do the following qmake spec macx g t D Qtopia Core I only tested Qwt with Qtopia Core in qvfb Virtual Framebuffer Devivce Emulator on my Linux box To build Qwt for the emulator was as simple as
45. amp pos double dist NULL const QwtData amp data const QwtData amp data const int dataSize const double x int i const double y int i const virtual QwtDoubleRect boundingRect const double minX Value const double maxX Value const double minY Value const double max Y Value const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 211 void setCurveAttribute CurveAttribute bool on true bool testCurveAttribute CurveAttribute const void setPen const QPen amp const QPen amp pen const void setBrush const QBrush amp const QBrush amp brush const void setBaseline double ref double baseline const void setStyle CurveStyle style CurveStyle style const void setSymbol const QwtSymbol amp s const QwtSymbol amp symbol const void setCurveFitter QwtCurveFitter QwtCurveFitter x curveFitter const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void draw int from int to const virtual void updateLegend QwtLegend const Protected Member Functions void init virtual void drawCurve QPainter p int style const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const virtual void
46. autoDelete attachItem 6 52 3 2 bool QwtPlotDict autoDelete const Returns true if auto deletion is enabled See also setAutoDelete attachItem 6 52 3 3 const QwtPlotItemList amp QwtPlotDict itemList const A QwtPlotItemList of all attached plot items Use caution when iterating these lists as removing detaching an item will invalidate the iterator Instead you can place pointers to objects to be removed in a removal list and traverse that list later Returns List of all attached plot items 6 52 3 4 void QwtPlotDict detachItems int riti Qwt PlotItem Rtti_PlotItem bool auto Delete true Detach items from the dictionary Parameters rtti In case of QwtPlotItem Rtti_PlotItem detach all items otherwise only those items of the type rtti autoDelete If true delete all detached items 6 53 QwtPlotGrid Class Reference A class which draws a coordinate grid include lt qwt_plot_grid h gt Inheritance diagram for QwtPlotGrid Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 227 QwtLegenditemManager QwtPlotltem QwtPlotGrid Public Member Functions e QwtPlotGrid virtual QwtPlotGrid virtual int rtti const void enableX bool tf bool xEnabled const void enableY bool tf bool yEnabled const void enableX Min bool tf bool xMinEnabled const void enable Y
47. const Return the width of the identifier See also setIdentifierWidth 6 31 4 8 void QwtLegendItem setSpacing int spacing Change the spacing Parameters spacing Spacing See also spacing identifierWidth QwtTextLabel margin Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 130 6 31 4 9 int QwtLegendItem spacing const Return the spacing See also setSpacing identifierWidthQ QwtTextLabel margin 6 31 4 10 void QwtLegendItem setSymbol const QwtSymbol amp symbol Set curve symbol Parameters symbol Symbol See also symbol 6 31 4 11 const QwtSymbol amp QwtLegendItem symbol const Returns The curve symbol See also setS ymbol 6 31 4 12 void QwtLegendItem setCurvePen const QPen amp pen Set curve pen Parameters pen Curve pen See also curvePen 6 31 4 13 const QPen amp QwtLegendItem curvePen const Returns The curve pen See also setCurvePen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 131 6 31 4 14 void QwtLegendItem drawldentifier QPainter painter const QRect amp rect const virtual Paint the identifier to a given rect Parameters painter Painter rect Rect where to paint 6 31 4 15 void QwtLegendItem drawItem QPainter painter const QRect amp rect const vir
48. const QPoint amp center int radius const virtual void keyPressEvent QKeyEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 10 QwtCompass Class Reference 48 6 10 1 Detailed Description A Compass Widget QwtCompass is a widget to display and enter directions It consists of a scale an optional needle and rose Note The examples dials example shows how to use QwtCompass 6 10 2 Constructor amp Destructor Documentation 6 10 2 1 QwtCompass QwtCompass QWidget x parent NULL explicit Constructor Parameters parent Parent widget Create a compass widget with a scale no needle and no rose The default origin is 270 0 with no valid value It accepts mouse and keyboard inputs and has no step size The default mode is QwtDial RotateNeedle 6 10 2 2 QwtCompass QwtCompass virtual Destructor 6 10 3 Member Function Documentation 6 10 3 1 void QwtCompass setRose QwtCompassRose rose Set a rose for the compass Parameters rose Compass rose Warning The rose will be deleted when a different rose is set or in QwtCompass See also rose 6 10 3 2 const QwtCompassRose QwtCompass rose const Returns rose See also setRose Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 10 QwtCompass Class Reference 49 6 10 3 3 QwtCompassRose x QwtCompass rose Returns rose See also setRose
49. curvePen const virtual void drawIdentifier QPainter x const QRect amp const virtual void drawItem QPainter p const QRect amp const virtual QSize sizeHint const bool isChecked const Protected Member Functions void setDown bool bool isDown const virtual void paintEvent QPaintEvent virtual void mousePressEvent QMouseEvent virtual void mouseReleaseEvent QMouseEvent virtual void keyPressEvent QKeyEvent virtual void keyReleaseEvent QKeyEvent virtual void drawText QPainter x const QRect amp 6 31 1 Detailed Description A legend label QwtLegendItem represents a curve on a legend It displays an curve identifier with an explaining text The identifier might be a combination of curve symbol and line In readonly mode it behaves like a label otherwise like an unstylish push button See also QwtLegend QwtPlotCurve 6 31 2 Member Enumeration Documentation 6 31 2 1 enum QwtLegendItem IdentifierMode Identifier mode Default is ShowLine ShowText See also identifierMode setIdentifierMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 128 6 31 3 Constructor amp Destructor Documentation 6 31 3 1 QwtLegendItem QwtLegendItem QWidget x parent 0 explicit Parameters parent Parent widget 6 31 3 2 QwtLegendItem QwtLegendItem const QwtSymbol amp symbol const QPen amp curvePen const
50. setAlignment 6 63 2 2 QwtPlotScaleItem QwtPlotScaleItem virtual Destructor 6 63 3 Member Function Documentation 6 63 3 1 int QwtPlotScaleItem rtti const virtual Returns QwtPlotItem Rtti_PlotScale Reimplemented from QwtPlotItem 6 63 3 2 void QwtPlotScaleItem setScaleDiv const QwtScaleDiv amp scaleDiv Assign a scale division When assigning a scaleDiv the scale division won t be synchronized with the corresponding axis anymore Parameters scaleDiv Scale division See also scaleDiv setScaleDivFromAxis isScaleDivFromAxis Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 63 QwtPlotScaleItem Class Reference 283 6 63 3 3 const QwtScaleDiv amp QwtPlotScaleItem scaleDiv const Returns Scale division 6 63 3 4 void QwtPlotScaleItem setScaleDivFromAxis bool on Enable Disable the synchronization of the scale division with the corresponding axis Parameters on true false See also isScaleDivFromAxis 6 63 3 5 bool QwtPlotScaleItem isScaleDivFromAxis const Returns True if the synchronization of the scale division with the corresponding axis is enabled See also setScaleDiv setScaleDivFromAxis 6 63 3 6 void QwtPlotScaleItem setPalette const QPalette amp palette Set the palette See also QwtAbstractScaleDraw draw palette 6 63 3 7 QPalette QwtPlotScaleItem palette const Returns palette
51. setMass QwtAbstractSlider 26 QwtWheel 395 setMaxCols QwtDynGridLayout 101 setMaxStackDepth Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 443 QwtPlotZoomer 300 setMax Value QwtCounter 61 QwtDoubleInterval 92 QwtThermo 388 setMetricsMap QwtPainter 152 setMinBorderDist QwtScaleWidget 342 setMinimumExtent QwtAbstractScaleDraw 21 setMinPen QwtPlotGrid 229 setMin Value QwtCounter 61 QwtDoubleInterval 92 QwtThermo 388 setMode QwtDial 73 QwtLinearColorMap 135 setMouseButton QwtMagnifier 142 QwtPanner 156 setMouseFactor QwtMagnifier 142 setMousePattern QwtEventPattern 109 110 setNeedle QwtDial 76 setNumButtons QwtCounter 59 setNumThornLevels QwtSimpleCompassRose 348 setNumThorns QwtSimpleCompassRose 348 setOptions QwtPlotPrintFilter 268 setOrientation QwtAbstractSlider 26 QwtSlider 352 QwtThermo 385 QwtWheel 393 setOrientations QwtPanner 157 setOrigin QwtDial 75 setPaintAttribute QwtPlotCanvas 206 QwtPlotCurve 213 QwtText 373 setPaintInterval QwtScaleMap 335 setPaintX Interval QwtScaleMap 335 setPalette QwtCompassRose 53 QwtDialNeedle 83 QwtPlotScaleItem 282 setPen QwtPlotCurve 217 QwtPlotGrid 229 QwtSymbol 365 setPen Width QwtDialScaleDraw 84 QwtScaleWidget 343 setPeriodic QwtDoubleRange 97 setPipeWidth QwtThermo 388 setPoints QwtSpline 359 setPosition QwtAbstractSlider 29 QwtPlotScalelItem 2
52. static Wrapper for QPainter drawPie 6 39 2 19 void QwtPainter drawLine QPainter x painter int x1 intyl intx2 inty2 static Wrapper for QPainter drawLine 6 39 2 20 void QwtPainter drawLine QPainter x const QPoint amp p1 const QPoint amp p2 inline static Wrapper for QPainter drawLine 6 39 2 21 void QwtPainter drawPolygon QPainter painter const QwtPolygon amp pa static Wrapper for QPainter drawPolygon 6 39 2 22 void QwtPainter drawPolyline QPainter painter const QwtPolygon amp pa static Wrapper for QPainter drawPolyline 6 39 2 23 void QwtPainter drawPoint QPainter painter int x int y static Wrapper for QPainter drawPoint 6 39 2 24 void QwtPainter drawRoundFrame QPainter x const QRect amp int width const QPalette amp bool sunken static Draw a round frame 6 39 2 25 QPen QwtPainter scaledPen const QPen amp pen static Scale a pen according to the layout metrics The width of non cosmetic pens is scaled from screen to layout metrics so that they look similar on paint devices with different resolutions Parameters pen Unscaled pen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 40 QwtPanner Class Reference 156 Returns Scaled pen 6 40 QwtPanner Class Reference QwtPanner provides panning of a widget include lt qwt_panner h gt Inheritance diagram for QwtPanner QuwtPanner
53. this license for certain libraries in order to permit linking those libraries into non free programs When a program is linked with a library whether statically or using a shared library the combination of the two is legally speaking a combined work a derivative of the original library The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom The Lesser General Public License permits more lax criteria for linking other code with the library We call this license the Lesser General Public License because it does Less to protect the user s freedom than the ordinary General Public License It also provides other free software developers Less of an advantage over competing non free programs These disadvantages are the reason we use the ordinary General Public License for many libraries However the Lesser license provides advantages in certain special circumstances For example on rare occasions there may be a special need to encourage the widest possible use of a certain library so that it becomes a de facto standard To achieve this non free programs must be allowed to use the library A more frequent case is that a free library does the same job as widely used non free libraries In this case there is little to gain by limiting the free library to free software only so we use the Lesser General Public License In other cases permission to use a particular
54. void setAxisTitle int axisId const QwtText amp QwtText axisTitle int axisId const void setAxisMaxMinor int axisId int maxMinor int axisMaxMajor int axisId const void setAxisMax Major int axisId int maxMajor int axisMaxMinor int axisId const void insertLegend QwtLegend LegendPosition QwtPlot RightLegend double ratio 1 0 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 187 QwtLegend legend const QwtLegend legend const virtual void polish virtual QSize sizeHint const virtual QSize minimumSizeHint const virtual void updateLayout virtual void drawCanvas QPainter void updateAxes virtual bool event QEvent Protected Slots e virtual void legendItemClicked e virtual void legendItemChecked bool Protected Member Functions virtual void drawItems QPainter x const QRect amp const QwtScaleMap maps axisCnt const Qwt PlotPrintFilter amp const virtual void updateTabOrder virtual void resizeEvent QResizeEvent xe virtual void printLegendItem QPainter x const QWidget const QRect amp const virtual void printTitle QPainter x const QRect amp const virtual void printScale QPainter x int axisId int startDist int endDist int baseDist const QRect amp const virtual void printCanvas QPainter x const QRect amp boundingRect const QRect amp canvasRect const QwtScaleMap maps axisCnt
55. 16 44 05 2009 for Qwt User s Guide by Doxygen 6 20 QwtDialScaleDraw Class Reference 85 6 20 1 Detailed Description A special scale draw made for QwtDial See also QwtDial QwtCompass 6 20 2 Constructor amp Destructor Documentation 6 20 2 1 QwtDialScaleDraw QwtDialScaleDraw QwtDial x parent explicit Constructor Parameters parent Parent dial widget 6 20 3 Member Function Documentation 6 20 3 1 QwtText QwtDialScaleDraw label double value const Call QwtDial scaleLabel of the parent dial widget Parameters value Value to display See also QwtDial scaleLabel Reimplemented from QwtAbstractScaleDraw 6 20 3 2 void QwtDialScaleDraw setPen Width uint pen Width Set the pen width used for painting the scale Parameters penWidth Pen width See also penWidthO QwtDial drawScale 6 20 3 3 uint QwtDialScaleDraw pen Width const Returns Pen width used for painting the scale See also setPenWidth QwtDial drawScale virtual Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 21 QwtDialSimpleNeedle Class Reference 86 6 21 QwtDialSimpleNeedle Class Reference A needle for dial widgets include lt qwt_dial_needle h gt Inheritance diagram for QwtDialSimpleNeedle QuwtDialNeedle QuwtDialSimpleNeedle Public Types e enum Style Arrow Ray TriangleStyle ThinStyle Stylel Style2 NoSymbol 1 El
56. 2 3 QwtAlphaColorMap QwtAlphaColorMap virtual Destructor 6 4 3 Member Function Documentation 6 4 3 1 QwtAlphaColorMap amp QwtAlphaColorMap operator const QwtAlphaColorMap amp other Assignment operator Parameters other Other color map Returns this 6 4 3 2 QwtColorMap QwtAlphaColorMap copy const virtual Clone the color map Implements QwtColorMap 6 4 3 3 void QwtAlphaColorMap setColor const QColor amp color Set the color Parameters color Color See also color 6 4 3 4 QColor QwtAlphaColorMap color const Returns the color See also setColor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 5 QwtAnalogClock Class Reference 34 6 4 3 5 QRgb QwtAlphaColorMap rgb const QwtDoubleInterval amp interval double value const virtual Map a value of a given interval into a alpha value alpha value interval minValue interval widthQ Parameters interval Range for all values value Value to map into a rgb value Returns rgb value with an alpha value Implements QwtColorMap 6 5 QwtAnalogClock Class Reference An analog clock include lt qwt_analog_clock h gt Inheritance diagram for QwtAnalogClock QwtDoubleRange QuwtAbstractSlider QwtDial QwtAnalogClock Public Types e enum Hand SecondHand MinuteHand HourHand NHands Pub
57. 30 4 21 void QwtLegend resizeEvent QResizeEvent xe protected virtual Resize event Parameters e Resize event 6 30 4 22 void QwtLegend layoutContents protected virtual Adjust contents widget and item layout to the size of the viewport 6 31 QwtLegendItem Class Reference A legend label include lt qwt_legend_item h gt Inheritance diagram for QwtLegendItem QuwiTextLabel QwtLegenditem Public Types e enum IdentifierMode Noldentifier 0 ShowLine 1 ShowSymbol 2 ShowText 4 Public Slots e void setChecked bool on Signals e void clicked e void pressed e void released e void checked bool Public Member Functions e QwtLegendItem QWidget parent 0 e QwtLegendItem const QwtSymbol amp const QPen amp const QwtText amp QWidget parent 0 e virtual QwtLegendItem e virtual void setText const QwtText amp Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 127 void setItemMode QwtLegend LegendItemMode QwtLegend LegendItemMode itemMode const void setIdentifierMode int int identifierMode const void setIdentifierWidth int width int identifierWidth const void setSpacing int spacing int spacing const void setSymbol const QwtSymbol amp const QwtSymbol amp symbol const void setCurvePen const QPen amp const QPen amp
58. 36 2 2 QwtMagnifier QwtMagnifier virtual Destructor 6 36 3 Member Function Documentation 6 36 3 1 QWidget x QwtMagnifier parentWidget Returns Parent widget where the rescaling happens Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 143 6 36 3 2 const QWidget QwtMagnifier parentWidget const Returns Parent widget where the rescaling happens 6 36 3 3 void QwtMagnifier setEnabled bool on En disable the magnifier When enabled is true an event filter is installed for the observed widget otherwise the event filter is re moved Parameters on true or false See also isEnabled eventFilter 6 36 3 4 bool QwtMagnifier isEnabled const Returns true when enabled false otherwise See also setEnabled eventFilter 6 36 3 5 void QwtMagnifier setMouseFactor double factor Change the mouse factor The mouse factor defines the ratio between the current range on the parent widget and the zoomed range for each vertical mouse movement The default value is 0 95 Parameters factor Wheel factor See also mouseFactor set MouseButton setWheelFactor setKeyFactor 6 36 3 6 double QwtMagnifier mouseFactor const Returns Mouse factor See also setMouseFactor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 144 6 36 3
59. 4 19 int QwtCounter stepButton2 const returns the number of increment steps for button 2 6 14 4 20 void QwtCounter setStepButton3 int nSteps Set the number of increment steps for button 3 Parameters nSteps Number of steps 6 14 4 21 int QwtCounter stepButton3 const returns the number of increment steps for button 3 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 63 6 14 4 22 double QwtCounter value const virtual Returns Current value Reimplemented from QwtDoubleRange 6 14 4 23 void QwtCounter buttonReleased double value signal This signal is emitted when a button has been released Parameters value The new value 6 14 4 24 void QwtCounter valueChanged double value signal This signal is emitted when the counter s value has changed Parameters value The new value 6 14 4 25 bool QwtCounter event QEvent xe protected virtual Handle PolishRequest events 6 14 4 26 void QwtCounter wheelEvent QWheelEvent xe protected virtual Handle wheel events Parameters e Wheel event 6 14 4 27 void QwtCounter keyPressEvent QKeyEvent xe protected virtual Handle key events e Ctrl Qt Key_Home Step to minValue e Ctrl Qt Key_End Step to maxValue e Qt Key_Up Increment by incSteps QwtCounter Button 1 e Qt Key_Down Decrement by incSteps QwtCounter Button1 e Qt Key_PageUp Increment by incSteps
60. 6 80 3 2 QwtSpline QwtSpline const QwtSpline amp other Copy constructor Parameters other Spline used for initilization 6 80 3 3 QwtSpline QwtSpline Destructor 6 80 4 Member Function Documentation 6 80 4 1 QwtSpline amp QwtSpline operator const QwtSpline amp other Assignment operator Parameters other Spline used for initilization Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 80 QwtSpline Class Reference 360 6 80 4 2 void QwtSpline setSplineType SplineType splineType Select the algorithm used for calculating the spline Parameters splineType Spline type See also splineType 6 80 4 3 QwtSpline SplineType QwtSpline splineType const Returns the spline type See also setSplineType 6 80 4 4 bool QwtSpline setPoints const QPolygonF amp points Calculate the spline coefficients Depending on the value of periodic this function will determine the coefficients for a natural or a periodic spline and store them internally Parameters x y points size number of points periodic if true calculate periodic spline Returns true if successful Warning The sequence of x but not y values has to be strictly monotone increasing which means x 0 lt x 1 lt lt x n 1 If this is not the case the function will return false 6 80 4 5 QPolygonF QwtSpline points const Return points passed by setPoints 6 80 4
61. A class for drawing symbols include lt qwt_symbol h gt Public Types e enum Style Arrow Ray TriangleStyle ThinStyle Stylel Style2 NoSymbol 1 Ellipse Rect Diamond Triangle DTriangle UTriangle LTriangle QPolygonF amp points const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 82 QwtSymbol Class Reference 364 RTriangle Cross XCross HLine VLine Star Star2 Hexagon StyleCnt Public Member Functions e QwtSymbol e QwtSymbol Style st const QBrush amp bd const QPen amp pn const QSize amp s virtual QwtSymbol bool operator const QwtSymbol amp const virtual bool operator const QwtSymbol amp const virtual QwtSymbol x clone const void setSize const QSize amp s void setSize int a int b 1 void setBrush const QBrush amp b void setPen const QPen amp p void setStyle Style s const QBrush amp brush const const QPen amp pen const const QSize amp size const Style style const void draw QPainter p const QPoint amp pt const void draw QPainter p int x int y const virtual void draw QPainter p const QRect amp r const 6 82 1 Detailed Description A class for drawing symbols 6 82 2 Member Enumeration Documentation 6 82 2 1 enum QwtSymbol Style Style See also setStyle styleQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 82 Q
62. Copy constructor 6 83 3 3 QwtText QwtText Destructor 6 83 4 Member Function Documentation 6 83 4 1 QwtText amp QwtText operator const QwtText amp Assignment operator 6 83 4 2 int QwtText operator const QwtText amp const Relational operator 6 83 4 3 int QwtText operator const QwtText amp const Relational operator 6 83 4 4 void QwtText setText const QString amp text QwtText TextFormat textFormat AutoText Assign a new text content Parameters text Text content Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 372 textFormat Text format See also text 6 83 4 5 QString QwtText text const Return the text See also setText 6 83 4 6 bool QwtText isNull const inline Returns text isNullQ 6 83 4 7 bool QwtText isEmpty const inline Returns text isEmpty 6 83 4 8 void QwtText setFont const QFont amp font Set the font Parameters font Font Note Setting the font might have no effect when the text contains control sequences for setting fonts 6 83 4 9 QFont QwtText font const Return the font 6 83 4 10 QFont QwtText usedFont const QFont amp defaultFont const Return the font of the text if it has one Otherwise return defaultFont Parameters defaultFont Default font See also setFont font PaintAttributes Generat
63. Format format Qwt ColorMap RGB Build a color map with two stops at 0 0 and 1 0 Parameters color Color used for the minimum value of the value interval color2 Color used for the maximum value of the value interval format Preferred format of the coor map 6 33 3 3 QwtLinearColorMap QwtLinearColorMap const QwtLinearColorMap amp Copy constructor 6 33 3 4 QwtLinearColorMap QwtLinearColorMap virtual Destructor 6 33 4 Member Function Documentation 6 33 4 1 QwtLinearColorMap amp QwtLinearColorMap operator const QwtLinearColorMap amp Assignment operator Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 33 QwtLinearColorMap Class Reference 136 6 33 4 2 QwtColorMap QwtLinearColorMap copy const virtual Clone the color map Implements QwtColorMap 6 33 4 3 void QwtLinearColorMap setMode Mode mode Set the mode of the color map FixedColors means the color is calculated from the next lower color stop ScaledColors means the color is calculated by interpolating the colors of the adjacent stops See also mode 6 33 4 4 QwtLinearColorMap Mode QwtLinearColorMap mode const Returns Mode of the color map See also setMode 6 33 4 5 void QwtLinearColorMap setColorInterval const QColor amp color1 const QColor amp color2 Set the color range Add stops at 0 0 and 1 0 Parameters color Color used for the minimum value of the
64. Functions e QwtPlotZoomer QwtPlotCanvas bool doReplot true e QwtPlotZoomer int xAxis int yAxis QwtPlotCanvas bool doReplot true e QwtPlotZoomer int xAxis int yAxis int selectionFlags DisplayMode trackerMode QwtPlot Canvas bool doReplot true virtual void setZoomBase bool doReplot true virtual void setZoomBase const QwtDoubleRect amp QwtDoubleRect zoomBase const QwtDoubleRect zoomRect const virtual void setAxis int xAxis int yAxis void setMaxStackDepth int int maxStackDepth const const QStack lt QwtDoubleRect gt amp zoomStack const void setZoomStack const QStack lt QwtDoubleRect gt amp int zoomRectIndex 1 uint zoomRectIndex const virtual void setSelectionFlags int Protected Member Functions virtual void rescale virtual QwtDoubleSize minZoomSize const virtual void widgetMouseReleaseEvent QMouseEvent virtual void widgetKeyPressEvent QKeyEvent virtual void begin virtual bool end bool ok true virtual bool accept QwtPolygon amp const 6 66 1 Detailed Description QwtPlotZoomer provides stacked zooming for a plot widget QwtPlotZoomer offers rubberband selections on the plot canvas translating the selected rectangles into plot coordinates and adjusting the axes to them Zooming can repeated as often as possible limited only by maxStackDepth or minZoomSize Each rectangle is pushed on a stack Zoom rectangles can be selected depending
65. INDEX 429 QwtLegendItem 127 released 130 setChecked 130 setCurvePen 129 setDown 131 setIdentifierMode 128 setIdentifierWidth 128 setItemMode 127 setSpacing 128 setSymbol 129 setText 127 sizeHint 130 spacing 128 symbol 129 QwtLegendItemManager 131 QwtLegendItemManager 132 QwtLegendItemManager QwtLegendItemManager 132 legendItem 132 QwtLegendItemManager 132 updateLegend 132 QwtLinearColorMap 133 QwtLinearColorMap 134 QwtLinearColorMap QwtLinearColorMap 134 addColorStop 135 colorl 136 color2 136 colorIndex 136 colorStops 135 copy 134 Mode 134 mode 135 operator 134 QwtLinearColorMap 134 rgb 136 setColorInterval 135 setMode 135 QwtLinearScaleEngine 137 QwtLinearScaleEngine align 138 autoScale 137 divideScale 137 transformation 138 QwtLog10ScaleEngine 138 QwtLog10ScaleEngine autoScale 139 divideScale 139 log10 140 pow 10 140 transformation 140 QwtMagnifier 140 QwtMagnifier 141 QwtMagnifier QwtMagnifier 141 eventFilter 145 getMouseButton 143 getZoomInKey 144 getZoomOutKey 145 isEnabled 142 keyFactor 144 mouseFactor 142 parentWidget 141 QwtMagnifier 141 rescale 145 setEnabled 142 setKeyFactor 144 setMouseButton 142 setMouseFactor 142 setWheelButtonState 143 setWheelFactor 143 setZoomInKey 144 setZoomOutKey 144 wheelButtonState 143 wheelFactor 143 widgetKeyPressEvent 146 widgetKeyRe
66. Implements QwtTextEngine 6 69 3 4 bool QwtRichTextEngine mightRender const QString amp text const virtual Test if a string can be rendered by this text engine Parameters text Text to be tested Returns QStyleSheet mightBeRichText text Implements QwtTextEngine 6 69 3 5 void QwtRichTextEngine textMargins const QFont amp const QString amp int amp left int amp right int amp top int amp bottom const virtual Return margins around the texts Parameters left Return 0 right Return 0 top Return 0 bottom Return 0 Implements QwtTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 70 QwtRoundScaleDraw Class Reference 312 6 70 QwtRoundScaleDraw Class Reference A class for drawing round scales include lt qwt_round_scale_draw h gt Inheritance diagram for QwtRoundScaleDraw QwtAbstractScaleDraw QwtRoundScaleDraw QuwtDialScaleDraw Public Member Functions e QwtRoundScaleDraw e QwtRoundScaleDraw const QwtRoundScaleDraw amp virtual QwtRoundScaleDraw QwtRoundScaleDraw amp operator const QwtRoundScaleDraw amp other void setRadius int radius int radius const void moveCenter int x int y void moveCenter const QPoint amp QPoint center const void setAngleRange double angle1 double angle2 virtual int extent const QPen amp const QFont amp const Protected Memb
67. Number of thorn levels shrinkFactor Factor to shrink the thorns with each level 6 79 QwtSlider Class Reference The Slider Widget include lt qwt_slider h gt Inheritance diagram for QwtSlider Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 351 QuwtDoubleRange QwtAbstractSlider l QwtAbstractScale QwtSlider Public Types e enum ScalePos NoScale LeftScale RightScale TopScale BottomScale NoScale LeftScale RightScale TopScale BottomScale enum BGSTYLE BgTrough 0x1 BgSlot 0x2 BgBoth BgTrough BgSlot Public Member Functions e QwtSlider QWidget parent Qt Orientation Qt Horizontal ScalePos NoScale BGSTYLE bg Style BgTrough virtual void setOrientation Qt Orientation void setBgStyle BGSTYLE BGSTYLE bgStyle const void setScalePosition ScalePos s ScalePos scalePosition const int thumbLength const int thumb Width const int borderWidth const void setThumbLength int 1 void setThumbWidth int w void setBorderWidth int bw void setMargins int x int y virtual QSize sizeHint const virtual QSize minimumSizeHint const void setScaleDraw QwtScaleDraw const QwtScaleDraw scaleDraw const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 352 Protected Member Functions
68. QSize QwtPlotSpectrogram rasterHint const QwtDoubleRect amp rect const virtual Returns the recommended raster for a given rect Fe the raster hint is used to limit the resolution of the image that is rendered Parameters rect Rect for the raster hint Returns data rasterHint rect Reimplemented from QwtPlotRasterlItem 6 64 4 9 void QwtPlotSpectrogram setDefaultContourPen const QPen amp pen Set the default pen for the contour lines If the spectrogram has a valid default contour pen a contour line is painted using the default contour pen Otherwise pen styleQ Qt NoPen the pen is calculated for each contour level using contourPen See also defaultContourPen contourPen 6 64 4 10 QPen QwtPlotSpectrogram defaultContourPen const Returns Default contour pen See also setDefaultContourPen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 291 6 64 4 11 QPen QwtPlotSpectrogram contourPen double level const virtual Calculate the pen for a contour line The color of the pen is the color for level calculated by the color map Parameters level Contour level Returns Pen for the contour line Note contourPen is only used if defaultContourPen styleQ Qt NoPen See also setDefaultContourPen setColorMap setContourLevels 6 64 4 12 void QwtPlotSpectrogram setConrecAttribute QwtRaste
69. QwtCounter Button2 e Qt Key_PageDown Decrement by incSteps QwtCounter Button2 e Shift Qt Key_PageUp Increment by incSteps QwtCounter Button3 e Shift Qt Key_PageDown Decrement by incSteps QwtCounter Button3 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 15 QwtCPointerData Class Reference 64 6 14 4 28 void QwtCounter rangeChange protected virtual Notify change of range This function updates the enabled property of all buttons contained in QwtCounter Reimplemented from QwtDoubleRange 6 15 QwtCPointerData Class Reference Data class containing two pointers to memory blocks of doubles include lt qwt_data h gt Inheritance diagram for QwtCPointerData QwtData QwtCPointerData Public Member Functions e QwtCPointerData const double x const double y size_t size e QwtCPointerData amp operator const QwtCPointerData amp virtual QwtData copy const virtual size_t size const virtual double x size_t 1 const virtual double y size_t i const const double x xData const const double x yData const virtual QwtDoubleRect boundingRect const 6 15 1 Detailed Description Data class containing two pointers to memory blocks of doubles 6 15 2 Constructor amp Destructor Documentation 6 15 2 1 QwtCPointerData QwtCPointerData const double x const double x y size_t size Constructor Parameters x Array of x v
70. QwtDoubleRange fitValue and QwtDouble Range inc Value As a special case a QwtDoubleRange can be periodic which means that a value outside the interval will be mapped to a value inside the interval when QwtDoubleRange set Value QwtDoubleRange fitValue QwtDoubleRange inc Value or QwtDoubleRange incPages are called 6 23 2 Constructor amp Destructor Documentation 6 23 2 1 QwtDoubleRange QwtDoubleRange The range is initialized to 0 0 100 0 the step size to 1 0 and the value to 0 0 6 23 2 2 QwtDoubleRange QwtDoubleRange virtual Destroys the QwtDoubleRange Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 97 6 23 3 Member Function Documentation 6 23 3 1 void QwtDoubleRange setRange double ymin double vmax double vstep 0 0 int page Size 1 Specify range and step size Parameters vmin lower boundary of the interval ymax higher boundary of the interval vstep step width pageSize page size in steps Warning e A change of the range changes the value if it lies outside the new range The current value will not be adjusted to the new step raster e ymax lt vmin is allowed e If the step size is left out or set to zero it will be set to 1 100 of the interval length e If the step size has an absurd value it will be corrected to a better one 6 23 3 2 void QwtDoubleRange setValid bool Set the va
71. QwtSplineCurveFitter 362 fitMode QwtSplineCurveFitter 361 fit Value QwtAbstractSlider 27 QwtDoubleRange 98 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 419 floor125 QwtScaleArithmetic 316 floorEps QwtScaleArithmetic 315 FocusIndicator QwtPlotCanvas 205 focusIndicator QwtPlotCanvas 206 font QwtPlotPrintFilter 268 QwtPlotScaleItem 282 QwtText 371 fontChange QwtSlider 356 QwtThermo 391 Format QwtColorMap 44 format QwtColorMap 45 frameShadow QwtDial 72 getAbortKey QwtPanner 157 getBorderDistHint QwtScaleDraw 322 QwtScaleWidget 342 getMinBorderDist QwtScaleWidget 342 getMouseButton QwtMagnifier 143 QwtPanner 157 getScrollMode QwtAbstractSlider 30 QwtDial 81 QwtSlider 355 QwtWheel 397 getValue QwtAbstractSlider 30 QwtDial 31 QwtSlider 354 QwtWheel 397 getZoomInKey QwtMagnifier 144 getZoomOutKey QwtMagnifier 145 Hand QwtAnalogClock 35 hand QwtAnalogClock 35 hasComponent QwtAbstractScaleDraw 19 hasHeightFor Width QwtDynGridLayout 104 has VisibleBackground QwtDial 72 heightForWidth QwtDynGridLayout 104 QwtLegend 124 QwtMathMLTextEngine 148 QwtPlainTextEngine 182 QwtRichTextEngine 309 QwtText 374 QwtTextEngine 377 QwtTextLabel 381 hide QwtPlotItem 236 hideEvent QwtPlotCanvas 207 horizontalScrollBar QwtLegend 124 IdentifierMode QwtLegendItem 126 identifierMode QwtLegend 122 QwtLegendIte
72. QwtSymbol draw QPainter painter const QPoint amp pos const Draw the symbol at a specified point Parameters painter Painter pos Center of the symbol 6 82 4 14 void QwtSymbol draw QPainter p int x int y const Draw the symbol at a point x y Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 368 6 82 4 15 void QwtSymbol draw QPainter painter const QRect amp r const virtual Draw the symbol into a bounding rectangle This function assumes that the painter has been initialized with brush and pen before This allows a much more performant implementation when painting many symbols with the same brush and pen like in curves Parameters painter Painter r Bounding rectangle 6 83 QwtText Class Reference A class representing a text include lt qwt_text h gt Public Types e enum TextFormat AutoText 0 PlainText RichText MathMLtText TeXText OtherFormat 100 enum PaintAttribute PaintCached 1 PaintPacked 2 PaintFiltered 1 ClipPolygons 2 PaintUsingTextFont 1 PaintUsingTextColor 2 PaintBackground 4 e enum LayoutAttribute MinimumLayout 1 Public Member Functions e QwtText const QString amp QString null TextFormat textFormat AutoText e QwtText const QwtText amp QwttText QwtText amp operator const QwtText amp int operator const QwtText amp const int o
73. QwtText amp text QWidget x parent 0 explicit Parameters symbol Curve symbol curvePen Curve pen text Label text parent Parent widget 6 31 3 3 QwtLegendItem QwtLegendItem virtual Destructor 6 31 4 Member Function Documentation 6 31 4 1 void QwtLegendItem setText const QwtText amp text virtual Set the text to the legend item Parameters text Text label See also QwtTextLabel text Reimplemented from QwtTextLabel 6 31 4 2 void QwtLegendItem setItemMode QwtLegend LegendItemMode mode Set the item mode The default is QwtLegend ReadOnlyItem Parameters mode Item mode See also itemMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 129 6 31 4 3 QwtLegend LegendItemMode QwtLegendItem itemMode const Return the item mode See also setItemMode 6 31 4 4 void QwtLegendItem setIdentifier Mode int mode Set identifier mode Default is ShowLine ShowText Parameters mode Or d values of IdentifierMode See also identifierMode 6 31 4 5 int QwtLegendItem identifierMode const Or d values of IdentifierMode See also setIdentifierMode IdentifierMode 6 31 4 6 void QwtLegendItem setIdentifier Width int width Set the width for the identifier Default is 8 pixels Parameters width New width See also identifierMode identifierWidth 6 31 4 7 int QwtLegendItem identifierWidth
74. Raised QFrame Raised Sunken QFrame Sunken Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference e enum ScaleOptions ScaleBackbone 1 ScaleTicks 2 ScaleLabel 4 enum Mode FixedColors ScaledColors RotateNeedle RotateScale enum Direction Clockwise CounterClockwise Public Member Functions e QwtDial QWidget parent NULL virtual QwtDial void setFrameShadow Shadow Shadow frameShadow const bool has VisibleBackground const void showBackground bool void setLine Width int int line Width const void setMode Mode Mode mode const virtual void setWrapping bool bool wrapping const virtual void setScale int maxMajIntv int maxMinIntv double step 0 0 void setScaleArc double min double max void setScaleOptions int void setScaleTicks int minLen int medLen int majLen int penWidth 1 double minScaleArc const double maxScaleArc const virtual void setOrigin double double origin const void setDirection Direction Direction direction const virtual void setNeedle QwtDialNeedle const QwtDialNeedle x needle const QwtDialNeedle needle QRect boundingRect const QRect contentsRect const virtual QRect scaleContentsRect const virtual QSize sizeHint const virtual QSize minimumSizeHint const virtual void setScaleDraw QwtDialScaleDraw x QwtDialScaleDraw x
75. Reference 184 6 48 3 2 QSize QwtPlainTextEngine textSize const QFont amp font int flags const QString amp text const virtual Returns the size that is needed to render text Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered Returns Caluclated size Implements QwtTextEngine 6 48 3 3 void QwtPlainTextEngine draw QPainter x painter const QRect amp rect int flags const QString amp text const virtual Draw the text in a clipping rectangle A wrapper for QPainter drawText Parameters painter Painter rect Clipping rectangle flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered Implements QwtTextEngine 6 48 3 4 bool QwtPlainTextEngine mightRender const QString amp const virtual Test if a string can be rendered by this text engine Returns Always true All texts can be rendered by QwtPlainTextEngine Implements QwtTextEngine 6 48 3 5 void QwtPlainTextEngine textMargins const QFont amp font const QString amp int amp left int amp right int amp top int amp bottom const virtual Return margins around the texts Parameters font Font of the text left Return 0 right Return 0 top Return value for the top margin bottom Return value for the bottom margin Implements QwtTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen
76. TextFormat format static Find the text engine for a text format textEngine can be used to find out if a text format is supported Fe if one wants to use MathML labels the MathML renderer from the commercial Qt solutions package might be required that is not available in Qt Open Source Edition environments Parameters format Text format Returns The text engine or NULL if no engine is available 6 83 4 29 void QwtText setTextEngine QwtText TextFormat format QwtTextEngine engine static Assign Replace a text engine for a text format With setTextEngine it is possible to extend Qwt with other types of text formats Owner of a commercial Qt license can build the qwtmathm library that is based on the MathML renderer that is included in MML Widget component of the Qt solutions package For QwtText PlainText it is not allowed to assign a engine NULL Parameters format Text format engine Text engine See also QwtMathMLtTextEngine Warning Using QwtText AutoText does nothing 6 84 QwtTextEngine Class Reference Abstract base class for rendering text strings include lt qwt_text_engine h gt Inheritance diagram for QwtTextEngine QwtTextEngine QuwtMathMLTextEngine QwiPlainTextEngine QwiRichTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 84 QwtTextEngine Class Reference 378 Public Member Functions virtual QwtText
77. User s Guide by Doxygen 6 1 QwtAbstractScale Class Reference 14 Parameters vmin lower limit of the scale interval ymax upper limit of the scale interval stepSize major step size See also setAutoScale 6 1 3 2 void QwtAbstractScale setScale const QwtDoubleInterval amp interval double stepSize 0 0 Specify a scale Disable autoscaling and define a scale by an interval and a step size Parameters interval Interval stepSize major step size See also setAutoScale 6 1 3 3 void QwtAbstractScale setScale const QwtScaleDiv amp scaleDiv Specify a scale Disable autoscaling and define a scale by a scale division Parameters scaleDiv Scale division See also setAutoScale 6 1 3 4 void QwtAbstractScale setAutoScale Advise the widget to control the scale range internally Autoscaling is on by default See also setScale autoScale 6 1 3 5 bool QwtAbstractScale autoScale const Returns true if autoscaling is enabled Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 1 QwtAbstractScale Class Reference 15 6 1 3 6 void QwtAbstractScale setScaleMaxMajor int ticks Set the maximum number of major tick intervals The scale s major ticks are calculated automatically such that the number of major intervals does not exceed ticks The default value is 5 Parameters ticks maximal number of major ticks See also QwtAbstractScaleDraw 6
78. a plot has several types of raster data organized in layers f e a geographical map with weather statistics Using setAlpha raster items can be stacked easily QwtPlotRasterltem is only implemented for images of the following formats QImage Format_Indexed8 QImage Format_ARGB32 See also QwtPlotSpectrogram 6 61 2 Member Enumeration Documentation 6 61 2 1 enum QwtPlotRasterItem CachePolicy NoCache renderImage is called whenever the item has to be repainted PaintCache renderImage is called whenever the image cache is not valid or the scales or the size of the canvas has changed This type of cache is only useful for improving the performance of hide show operations All other situations are already handled by the plot canvas cache ScreenCache The screen cache is an image in size of the screen As long as the scales don t change the target image is scaled from the cache This might improve the performance when resizing the plot widget but suffers from scaling effects The default policy is NoCache Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 61 QwtPlotRasterItem Class Reference 272 6 61 3 Constructor amp Destructor Documentation 6 61 3 1 QwtPlotRasterItem QwtPlotRasterItem const QString amp title QString null explicit Constructor 6 61 3 2 QwtPlotRasterItem QwtPlotRasterItem const QwtText amp title explicit Constructor 6 61 3 3 QwtPlotR
79. all values value Value to map into a color index Implements QwtColorMap Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 34 QwtLinearScaleEngine Class Reference 138 6 34 QwtLinearScaleEngine Class Reference A scale engine for linear scales include lt qwt_scale_engine h gt Inheritance diagram for QwtLinearScaleEngine QwtScaleEngine QwtLinearScaleEngine Public Member Functions e virtual void autoScale int maxSteps double amp x1 double amp x2 double amp stepSize const e virtual QwtScaleDiv divideScale double x1 double x2 int numMajorSteps int numMinorSteps double stepSize 0 0 const e virtual QwtScaleTransformation transformation const Protected Member Functions e QwtDoublelInterval align const QwtDoublelInterval amp double stepSize const 6 34 1 Detailed Description A scale engine for linear scales The step size will fit into the pattern 1 2 5 10 where n is an integer 6 34 2 Member Function Documentation 6 34 2 1 void QwtLinearScaleEngine autoScale int maxNumSteps double amp x1 double amp x2 dou ble amp stepSize const virtual Align and divide an interval Parameters maxNumSteps Max number of steps x1 First limit of the interval In Out x2 Second limit of the interval In Out stepSize Step size Out See also setAttribute Implements QwtScaleEngine Generated on Sun Mar 22 16 44 0
80. also starts the selection a second press selects the first point A third one selects the second point and terminates the selection See also QwtEventPattern MousePatternCode QwtEventPattern KeyPatternCode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 44 QwtPickerDragPointMachine Class Reference 179 6 43 2 Member Function Documentation 6 43 2 1 QwtPickerMachine CommandList QwtPickerClickRectMachine transition const Qwt EventPattern amp const QEvent virtual Transition Implements QwtPickerMachine 6 44 QwtPickerDragPointMachine Class Reference A state machine for point selections include lt qwt_picker_machine h gt Inheritance diagram for QwtPickerDragPointMachine QwtPickerMachine QwtPickerDragPointMachine Public Member Functions e virtual CommandList transition const QwtEventPattern amp const QEvent 6 44 1 Detailed Description A state machine for point selections Pressing QwtEventPattern MouseSelect or QwtEventPattern KeySelect starts the selection releasing QwtEventPattern MouseSelect or a second press of QwtEventPattern KeySelect terminates it 6 44 2 Member Function Documentation 6 44 2 1 QwtPickerMachine CommandList QwtPickerDragPointMachine transition const Qwt EventPattern amp const QEvent virtual Transition Implements QwtPickerMachine 6 45 QwtPickerDragRectMachine Class Reference A state
81. amp alarmColor const void setAlarmLevel double v double alarmLevel const void setAlarmEnabled bool tf bool alarmEnabled const void setPipe Width int w int pipeWidth const void setMax Value double v double max Value const void setMin Value double v double min Value const double value const void setRange double vmin double vmax bool lg false void setMargin int m virtual QSize sizeHint const virtual QSize minimumSizeHint const void setScaleDraw QwtScaleDraw const QwtScaleDraw x scaleDraw const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 385 Protected Member Functions e void draw QPainter p const QRect amp update_rect e void drawThermo QPainter p e void layoutThermo bool update true e virtual void scaleChange e virtual void fontChange const QFont amp oldFont e virtual void paintEvent QPaintEvent xe e virtual void resizeEvent QResizeEvent xe QwtScaleDraw scaleDraw 6 86 1 Detailed Description The Thermometer Widget QwtThermo is a widget which displays a value in an interval It supports e a horizontal or vertical layout e arange e a scale e an alarm level By default the scale and range run over the same interval of values QwtAbstractScale setScale changes the interval of the scale and allows easy conversion between physical units The example shows
82. an interval 89 QwtDoubleRange A class which controls a value within an interval 95 QwtDynGridLayout Lays out widgets in a grid adjusting the number of columns and rows to the current size 101 QwtEventPattern A collection of event patterns 106 QwtEventPattern KeyPattern A pattern for key events 113 QwtEventPattern MousePattern A pattern for mouse events 113 QwtIntervalData Series of samples of a value and an interval 114 QwtKnob The Knob Widget 116 QwtLegend The legend widget 120 QwtLegendItem A legend label 126 QwtLegendItemManager Abstract API to bind plot items to the legend 132 QwtLinearColorMap QwtLinearColorMap builds a color map from color stops 134 QwtLinearScaleEngine A scale engine for linear scales 138 QwtLog10ScaleEngine A scale engine for logarithmic base 10 scales 139 QwtMagnifier QwtMagnifier provides zooming by magnifying in steps 141 QwtMathMLtTextEngine Text Engine for the MathML renderer of the Qt solutions package 148 QwtMetricsMap A Map to translate between layout screen and paint device metrics 150 QwtPainter A collection of QPainter workarounds 152 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 3 1 Qwt User s Guide Class List 8 QwtPanner QwtPanner provides panning of a widget 156 QwtPicker QwtPicker provides selections on a widget 161 QwtPickerClickPointMachine A state machine for point selections 177 QwtPickerClickRe
83. between 2 linear intervals Parameters x value related to the interval x1 x2 x1 first border of source interval x2 first border of source interval yl first border of target interval y2 first border of target interval Returns linear mapping y1 y2 yl x2 x1 x xl log10 mapping p1 p2 pl log s2 s1 log x s1 6 76 3 2 double QwtScaleTransformation invXForm double p double p double p2 double s double s2 const virtual Transform a value from a linear to a logarithmic interval Parameters x value related to the linear interval p1 p2 pl first border of linear interval p2 first border of linear interval s1 first border of logarithmic interval s2 first border of logarithmic interval Returns exp x p1 p2 p1 x log s2 s1 x s1 6 76 3 3 Type QwtScaleTransformation type const inline Returns Transformation type Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 340 6 76 3 4 QwtScaleTransformation x QwtScaleTransformation copy const virtual Create a clone of the transformation 6 77 QwtScaleWidget Class Reference A Widget which contains a scale include lt qwt_scale_widget h gt Signals void scaleDivChanged Public Member Functions QwtScaleWidget QWidget parent NULL QwtScaleWidget QwtScaleDraw Alignment QWidget parent NULL virtual QwtScale Widget void s
84. cg const protected virtual Draw the needle Parameters painter Painter center Center of the dial radius Length for the needle direction Direction of the needle in degrees counter clockwise cg ColorGroup Reimplemented in QwtAnalogClock 6 18 4 42 QwtText QwtDial scaleLabel double value const protected virtual Find the label for a value Parameters value Value Returns label Reimplemented in QwtAnalogClock and QwtCompass Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 82 6 18 4 43 void QwtDial updateScale protected Update the scale with the current attributes See also setScale 6 18 4 44 void QwtDial rangeChange protected virtual QwtDoubleRange update hook Reimplemented from QwtDoubleRange 6 18 4 45 void QwtDial valueChange protected virtual QwtDoubleRange update hook Reimplemented from QwtAbstractSlider 6 18 4 46 double QwtDial getValue const QPoint amp pos protected Find the value for a given position Parameters pos Position Returns Value Implements QwtAbstractSlider virtual 6 18 4 47 void QwtDial getScrolIMode const QPoint amp pos int amp scrollMode int amp direction protected virtual See QwtAbstractSlider getScrollMode Parameters pos point where the mouse was pressed Return values scrollMode The scrolling mode direction direction
85. const void setIndent int int margin const void setMargin int virtual QSize sizeHint const virtual QSize minimumSizeHint const virtual int heightForWidth int const e QRect textRect const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 85 QwtTextLabel Class Reference 381 Protected Member Functions e virtual void paintEvent QPaintEvent xe e virtual void drawContents QPainter e virtual void drawText QPainter x const QRect amp 6 85 1 Detailed Description A Widget which displays a QwtText 6 85 2 Constructor amp Destructor Documentation 6 85 2 1 QwtTextLabel QwtTextLabel QWidget x parent NULL explicit Constructs an empty label Parameters parent Parent widget 6 85 2 2 QwtTextLabel QwtTextLabel const QwtText amp text QWidget x parent NULL explicit Constructs a label that displays the text text Parameters parent Parent widget text Text 6 85 2 3 QwtTextLabel QwtTextLabel virtual Destructor 6 85 3 Member Function Documentation 6 85 3 1 void QwtTextLabel setText const QString amp text QwtText TextFormat textFormat QwtText AutoText slot Change the label s text keeping all other QwtText attributes Parameters text New text textFormat Format of text See also QwtText Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 85 QwtTextLabel Class Reference 382
86. const virtual Reset color and fonts of a plot See also applyQ 6 61 QwtPlotRasterItem Class Reference A class which displays raster data include lt qwt_plot_rasteritem h gt Inheritance diagram for QwtPlotRasterItem QwtLegenditemManager QwtPlotltem QwtPlotRasterltem QwtPlotSpectrogram Public Types e enum CachePolicy NoCache PaintCache ScreenCache Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 61 QwtPlotRasterItem Class Reference 271 Public Member Functions e QwtPlotRasterItem const QString amp title QString null e QwtPlotRasterltem const QwtText amp title virtual QwtPlotRasterItem void setAlpha int alpha int alpha Q const void setCachePolicy CachePolicy CachePolicy cachePolicy const void invalidateCache virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp rect const virtual QSize rasterHint const QwtDoubleRect amp const Protected Member Functions e virtual QImage renderImage const QwtScaleMap amp xMap const QwtScaleMap amp yMap const Qwt DoubleRect amp area const 0 6 61 1 Detailed Description A class which displays raster data Raster data is a grid of pixel values that can be represented as a QImage It is used for many types of information like spectrograms cartograms geographical maps Often
87. const QwtColorMap amp const QwtColorMap amp colorMap const virtual QwtDoubleRect boundingRect const virtual QSize rasterHint const QwtDoubleRect amp const void setDefaultContourPen const QPen amp QPen defaultContourPen const virtual QPen contourPen double level const void setConrecAttribute QwtRasterData ConrecAttribute bool on bool testConrecAttribute QwtRasterData ConrecAttribute const void setContourLevels const QwtValueList amp QwtValueList contourLevels const virtual int rtti const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp rect const Protected Member Functions virtual QImage renderImage const QwtScaleMap amp xMap const QwtScaleMap amp yMap const Qwt DoubleRect amp rect const virtual QSize contourRasterSize const QwtDoubleRect amp const QRect amp const virtual QwtRasterData ContourLines renderContourLines const QwtDoubleRect amp rect const QSize amp raster const virtual void drawContourLines QPainter xp const QwtScaleMap amp xMap const QwtScaleMap amp y Map const QwtRasterData ContourLines amp lines const 6 64 1 Detailed Description A plot item which displays a spectrogram A spectrogram displays threedimenional data where the 3rd dimension the intensity is displayed using colors The colors are calculated from the values using a color map In ContourMode contour lines are painte
88. const QwtPlotPrintFilter amp const virtual void printLegend QPainter x const QRect amp const Static Protected Member Functions e static bool axisValid int axisId 6 49 1 Detailed Description A 2 D plotting widget QwtPlot is a widget for plotting two dimensional graphs An unlimited number of plot items can be dis played on its canvas Plot items might be curves QwtPlotCurve markers QwtPlotMarker the grid QwtPlotGrid or anything else derived from QwtPlotItem A plot can have up to four axes with each plot item attached to an x and a y axis The scales at the axes can be explicitely set QwtScaleDiv or are calculated from the plot items using algorithms QwtScaleEngine which can be configured separately for each axis Example The following example shows schematically the most simple way to use QwtPlot By default only the left and bottom axes are visible and their scales are computed automatically Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 188 include lt qwt_plot h gt include lt qwt_plot_curve h gt QwtPlot myPlot new QwtPlot Two Curves parent add curves QwtPlotCurve xcurvel new QwtPlotCurve Curve 1 QwtPlotCurve curve2 new QwtPlotCurve Curve 2 copy the data into the curves curvel gt setData curve2 gt setData curvel gt attach myPlot curve2 gt attach myPlot fina
89. copy of these materials or that you have already sent this user a copy For an executable the required form of the work that uses the Library must include any data and utility programs needed for reproducing the executable from it However as a special exception the materials to be distributed need not include anything that is normally distributed in either source or binary form with the major components compiler kernel and so on of the operating system on which the executable runs unless that component itself accompanies the executable It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system Such a contradiction means you cannot use both them and the Library together in an executable that you distribute 7 You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities not covered by this License and distribute such a combined library provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted and provided that you do these two things a Accompany the combined library with a copy of the same work based on the Library uncombined with any other library facilities This must be distributed under the terms of the Sections above b Give prominent notice with the combined library
90. editable const returns whether the line edit is edatble default is yes 6 14 4 2 void QwtCounter setEditable bool editable Allow disallow the user to manually edit the value Parameters editable true enables editing See also editable 6 14 4 3 void QwtCounter setNumButtons int n Specify the number of buttons on each side of the label Parameters n Number of buttons 6 14 4 4 int QwtCounter numButtons const Returns The number of buttons on each side of the widget 6 14 4 5 void QwtCounter setIncSteps QwtCounter Button bin int nSteps Specify the number of steps by which the value is incremented or decremented when a specified button is pushed Parameters btn One of Qwt Counter Buttonl QwtCounter Button2 QwtCounter Button3 nSteps Number of steps 6 14 4 6 int QwtCounter incSteps QwtCounter Button bin const Returns the number of steps by which a specified button increments the value or 0 if the button is invalid Parameters btn One of Qwt Counter Buttonl QwtCounter Button2 QwtCounter Button3 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 61 6 14 4 7 void QwtCounter setValue double v virtual Set a new value Parameters v new value Calls QwtDoubleRange setValue and does all visual updates See also QwtDoubleRange setValue Reimplemented from QwtDoubleRange 6 14 4 8 QSiz
91. for Qwt User s Guide by Doxygen 6 52 QwtPlotDict Class Reference 225 Inheritance diagram for QwtPlotDict QuwtPlotDict QwiPlot Public Member Functions e QwtPlotDict 0 QwtPlotDict void setAutoDelete bool bool autoDelete const const QwtPlotItemList amp itemList const void detachItems int rtti QwtPlotItem Rtti_PlotItem bool autoDelete true Friends e class QwtPlotItem 6 52 1 Detailed Description A dictionary for plot items QwtPlotDict organizes plot items in increasing z order If autoDelete is enabled all attached items will be deleted in the destructor of the dictionary See also QwtPlotItem attach QwtPlotItem detach QwtPlotItem z 6 52 2 Constructor amp Destructor Documentation 6 52 2 1 QwtPlotDict QwtPlotDict 0 explicit Constructor Auto deletion is enabled See also setAutoDelete attachItem 6 52 2 2 QwtPlotDict QwtPlotDict Destructor If autoDelete is on all attached items will be deleted See also setAutoDelete autoDelete attachItemQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 226 6 52 3 Member Function Documentation 6 52 3 1 void QwtPlotDict setAutoDelete bool autoDelete En Disable Auto deletion If Auto deletion is on all attached plot items will be deleted in the destructor of QwtPlotDict The default value is on See also
92. from QwtPlotItem 6 53 3 2 void QwtPlotGrid enableX bool tf Enable or disable vertical gridlines Parameters tf Enable true or disable See also Minor gridlines can be enabled or disabled with enableXMin 6 53 3 3 bool QwtPlotGrid xEnabled const Returns true if vertical gridlines are enabled See also enableX 6 53 3 4 void QwtPlotGrid enableY bool f Enable or disable horizontal gridlines Parameters tf Enable true or disable See also Minor gridlines can be enabled or disabled with enable Y Min 6 53 3 5 bool QwtPlotGrid yEnabled const Returns true if horizontal gridlines are enabled See also enable Y Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 229 6 53 3 6 void QwtPlotGrid enableXMin bool tf Enable or disable minor vertical gridlines Parameters tf Enable true or disable See also enableX 6 53 3 7 bool QwtPlotGrid xMinEnabled const Returns true if minor vertical gridlines are enabled See also enableXMin 6 53 3 8 void QwtPlotGrid enableY Min bool tf Enable or disable minor horizontal gridlines Parameters tf Enable true or disable See also enable Y 6 53 3 9 bool QwtPlotGrid yMinEnabled const Returns true if minor horizontal gridlines are enabled See also enable Y Min 6 53 3 10 void QwtPlotGrid setXDiv const Qw
93. how to make the scale indicate in degrees Fahrenheit and to set the value in degrees Kelvin include lt qapplication h gt include lt qwt_thermo h gt double Kelvin2Fahrenheit double kelvin see http en wikipedia org wiki Kelvin return 1 8 kelvin 459 67 int main int argc char argv const double minKelvin 0 0 const double maxKelvin l Sa j j i QApplication a argc argv QwtThermo t t setRange minkKelvin maxKelvin t setScale Kelvin2Fahrenheit minKelvin Kelvin2Fahrenheit maxKelvin set the value in Kelvin but the scale displays in Fahrenheit 273 15 Kelvin 0 Celsius 32 Fahrenheit t setValue 273 15 a setMainWidget amp t t show return a exec Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 386 6 86 2 Constructor amp Destructor Documentation 6 86 2 1 QwtThermo QwtThermo QWidget x parent NULL explicit Constructor Parameters parent Parent widget 6 86 2 2 QwtThermo QwtThermo virtual Destructor 6 86 3 Member Function Documentation 6 86 3 1 void QwtThermo setOrientation Qt Orientation o ScalePos s Set the thermometer orientation and the scale position The scale position NoScale disables the scale Parameters o orientation Possible values are Qt Horizontal and Qt Vertical The default value is Qt Vertical s Position of the scale The default v
94. if the attribute is enabled See also setPaintAttribute 6 50 4 7 QPixmap QwtPlotCanvas paintCache Return the paint cache might be null 6 50 4 8 const QPixmap QwtPlotCanvas paintCache const Return the paint cache might be null 6 50 4 9 void QwtPlotCanvas invalidatePaintCache Invalidate the internal paint cache 6 50 4 10 void QwtPlotCanvas replot Invalidate the paint cache and repaint the canvas See also invalidatePaintCache 6 50 4 11 void QwtPlotCanvas hideEvent QHideEvent x event protected virtual Hide event Parameters event Hide event 6 50 4 12 void QwtPlotCanvas paintEvent QPaintEvent event protected virtual Paint event Parameters event Paint event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 209 6 50 4 13 void QwtPlotCanvas drawContents QPainter painter protected virtual Redraw the canvas and focus rect Parameters painter Painter 6 50 4 14 void QwtPlotCanvas drawFocusIndicator QPainter painter protected virtual Draw the focus indication Parameters painter Painter 6 50 4 15 void QwtPlotCanvas drawCanvas QPainter painter NULL protected Draw the the canvas Paints all plot items to the contentsRect using QwtPlot drawCanvas and updates the paint cache Parameters painter Painter See also QwtPlot drawCanvas setPaintA
95. individual mappings See also QwtPicker QwtPickerMachine QwtPlotZoomer 6 25 2 Member Enumeration Documentation 6 25 2 1 enum QwtEventPattern MousePatternCode Symbolic mouse input codes The default initialization for 3 button mice is e MouseSelect1 Qt LeftButton e MouseSelect2 Qt RightButton e MouseSelect3 Qt MidButton e MouseSelect4 Qt LeftButton Qt ShiftButton e MouseSelect5 Qt RightButton Qt ShiftButton e MouseSelect6 Qt MidButton Qt ShiftButton The default initialization for 2 button mice is e MouseSelect1 Qt LeftButton e MouseSelect2 Qt RightButton Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 109 e MouseSelect3 Qt LeftButton Qt AltButton e MouseSelect4 Qt LeftButton Qt ShiftButton e MouseSelect5 Qt RightButton Qt ShiftButton e MouseSelect6 Qt LeftButton Qt AltButton Qt ShiftButton The default initialization for 1 button mice is MouseSelect1 Qt LeftButton MouseSelect2 Qt LeftButton Qt ControlButton MouseSelect3 Qt LeftButton Qt AltButton MouseSelect4 Qt LeftButton Qt ShiftButton MouseSelect5 MouseSelect6 Qt LeftButton Qt AltButton Qt ShiftButton See also initMousePattern 6 25 2 2 enum QwtEventPattern KeyPatternCode Symbolic keyboard input codes Default initialization e KeySelect1 Qt Key_Return e KeySelect2 Qt Key
96. limit of the interval Parameters minValue Minimum value 6 22 4 13 void QwtDoubleInterval setMax Value double maxValue inline Assign the upper limit of the interval Parameters max Value Maximum value 6 22 4 14 bool QwtDoublelInterval contains double value const Test if a value is inside an interval Parameters value Value Returns true if value gt minValue amp amp value lt max Value 6 22 4 15 bool QwtDoubleInterval intersects const QwtDoubleInterval amp other const Test if two intervals overlap Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 94 6 22 4 16 QwtDoubleInterval QwtDoubleInterval intersect const QwtDoubleInterval amp const Intersect 2 intervals 6 22 4 17 QwtDoubleInterval QwtDoubleInterval unite const QwtDoubleInterval amp const Unite 2 intervals 6 22 4 18 QwtDoubleInterval QwtDoubleInterval operator const QwtDoubleInterval amp interval const inline Union of two intervals See also unite 6 22 4 19 QwtDoubleInterval QwtDoubleInterval operator amp const QwtDoubleInterval amp inter val const inline Intersection of two intervals See also intersect 6 22 4 20 QwtDoubleInterval amp QwtDoubleInterval operator const QwtDoubleInterval amp Unites this interval with the given interval 6 22 4 21 QwtDoubleInterval amp QwtDoubleInterval operator a
97. logarithmic scales might be aligned to LogMin LogMax Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 75 QwtScaleMap Class Reference 337 6 75 3 7 int QwtScaleMap transform double s const inline Transform a point related to the scale interval into an point related to the interval of the paint device and round it to an integer In Qt lt 3 x paint devices are integer based Parameters s Value relative to the coordinates of the scale See also xTransform 6 75 3 8 double QwtScaleMap invTransform double p const inline Transform an paint device value into a value in the interval of the scale Parameters p Value relative to the coordinates of the paint device See also transform 6 75 3 9 double QwtScaleMap xTransform double s const inline Transform a point related to the scale interval into an point related to the interval of the paint device Parameters s Value relative to the coordinates of the scale 6 75 3 10 double QwtScaleMap p1 const inline Returns First border of the paint interval 6 75 3 11 double QwtScaleMap p2 const inline Returns Second border of the paint interval 6 75 3 12 double QwtScaleMap s1 const inline Returns First border of the scale interval Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 76 QwtScaleTransformation Class Reference 338 6 75 3 13 double QwtScal
98. lt qwt_data h gt Inheritance diagram for QwtData QwtArrayData QwtCPointerData QuwtPolygonF Data Public Member Functions QwtData e virtual QwtData e virtual QwtData copy const 0 e virtual size_t size const 0 e virtual double x size_t i const 0 e virtual double y size_t i const 0 e virtual QwtDoubleRect boundingRect const Protected Member Functions e QwtData amp operator const QwtData amp Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 17 QwtData Class Reference 68 6 17 1 Detailed Description QwtData defines an interface to any type of curve data Classes derived from QwtData may e store the data in almost any type of container e calculate the data on the fly instead of storing it 6 17 2 Constructor amp Destructor Documentation 6 17 2 1 QwtData QwtData Constructor 6 17 2 2 QwtData QwtData virtual Destructor 6 17 3 Member Function Documentation 6 17 3 1 virtual QwtDatax QwtData copy const pure virtual Returns Pointer to a copy virtual copy constructor Implemented in QwtPolygonFData QwtArrayData and QwtCPointerData 6 17 3 2 virtual size_t QwtData size const pure virtual Returns Size of the data set Implemented in QwtPolygonFData QwtArrayData and QwtCPointerData 6 17 3 3 virtual double QwtData x size_ti const pure virtual Return the x value of data point i
99. machine for rectangle selections include lt qwt_picker_machine h gt Inheritance diagram for QwtPickerDragRectMachine QwtPickerMachine QwtPickerDragRectMachine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 46 QwtPickerMachine Class Reference 180 Public Member Functions e virtual CommandList transition const QwtEventPattern amp const QEvent 6 45 1 Detailed Description A state machine for rectangle selections Pressing QwtEventPattern MouseSelect1 selects the first point releasing it the second point Pressing QwtEventPattern KeySelect also selects the first point a second press selects the second point and termi nates the selection See also QwtEventPattern MousePatternCode QwtEventPattern KeyPatternCode 6 45 2 Member Function Documentation 6 45 2 1 QwtPickerMachine CommandList QwtPickerDragRectMachine transition const Qwt EventPattern amp const QEvent virtual Transition Implements QwtPickerMachine 6 46 QwtPickerMachine Class Reference A state machine for QwtPicker selections include lt qwt_picker_machine h gt Inheritance diagram for QwtPickerMachine QwtPickerClickPointMachine QwtPickerClickRectMachine See a QuwtPickerDragRectMachine QwtPickerPolygonMachine Public Types e enum Command Begin Append Move End e typedef QList lt Command gt CommandLi
100. numThorns Number of thorns See also numThorns setNumThornLevels 6 78 3 4 int QwtSimpleCompassRose numThorns const Returns Number of thorns See also setNumThorns set NumThornLevels 6 78 3 5 void QwtSimpleCompassRose setNumThornLevels int numThornLevels Set the of thorns levels Parameters numThornLevels Number of thorns levels See also setNumThorns numThornLevels Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 350 6 78 3 6 int QwtSimpleCompassRose numThornLevels const Returns Number of thorn levels See also setNumThorns set NumThornLevels 6 78 3 7 void QwtSimpleCompassRose draw QPainter painter const QPoint amp center int ra dius double north QPalette ColorGroup cg QPalette Active const virtual Draw the rose Parameters painter Painter center Center point radius Radius of the rose north Position cg Color group Implements QwtCompassRose 6 78 3 8 void QwtSimpleCompassRose drawRose QPainter x painter const QPalette amp palette const QPoint amp center int radius double north double width int numThorns int numThornLevels double shrinkFactor static Draw the rose Parameters painter Painter palette Palette center Center of the rose radius Radius of the rose north Position pointing to north width Width of the rose numThorns Number of thorns numThornLevels
101. of the selection See also move appended 6 41 4 31 void QwtPicker changed const QwtPolygon amp pa signal A signal emitted when the active selection has been changed This might happen when the observed widget is resized Parameters pa Changed selection See also stretchSelection 6 41 4 32 bool QwtPicker accept QwtPolygon amp selection const protected virtual Validate and fixup the selection Accepts all selections unmodified Parameters selection Selection to validate and fixup Returns true when accepted false otherwise Reimplemented in QwtPlotZoomer 6 41 4 33 void QwtPicker transition const QEvent xe protected virtual Passes an event to the state machine and executes the resulting commands Append and Move commands use the current position of the cursor QCursor pos Parameters e Event 6 41 4 34 void QwtPicker begin protected virtual Open a selection setting the state to active See also isActive end append move Reimplemented in QwtPlotZoomer Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 174 6 41 4 35 void QwtPicker append const QPoint amp pos protected virtual Append a point to the selection and update rubberband and tracker The appended signal is emitted Parameters pos Additional point See also isActive begin end move appended Re
102. on selectionFlags using the mouse or keyboard Qwt EventPattern QwtPickerMachine QwtEventPattern MouseSelect3 QwtEventPatternKeyUndo or Qwt EventPattern MouseSelect6 QwtEventPatternKeyRedo walk up and down the zoom stack QwtEvent Pattern MouseSelect2 or QwtEventPattern KeyHome unzoom to the initial size QwtPlotZoomer is tailored for plots with one x and y axis but it is allowed to attach a second QwtPlot Zoomer for the other axes Note The realtime example includes an derived zoomer class that adds scrollbars to the plot canvas Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 299 6 66 2 Constructor amp Destructor Documentation 6 66 2 1 QwtPlotZoomer QwtPlotZoomer QwtPlotCanvas x canvas bool doReplot true explicit Create a zoomer for a plot canvas The zoomer is set to those x and y axis of the parent plot of the canvas that are enabled If both or no x axis are enabled the picker is set to QwtPlot xBottom If both or no y axis are enabled it is set to QwtPlot yLeft The selectionFlags are set to QwtPicker RectSelection amp QwtPicker ClickSelection the tracker mode to QwtPicker ActiveOnly Parameters canvas Plot canvas to observe also the parent object doReplot Call replot for the attached plot before initializing the zoomer with its scales This might be necessary when the plot is in a state with pending scale changes See al
103. plot const Protected Member Functions e virtual void rescale double factor 6 56 1 Detailed Description QwtPlotMagnifier provides zooming by magnifying in steps Using QwtPlotMagnifier a plot can be zoomed in out in steps using keys the mouse wheel or moving a mouse button in vertical direction Together with QwtPlotZoomer and QwtPlotPanner it is possible to implement individual and powerful navigation of the plot canvas See also QwtPlotZoomer QwtPlotPanner QwtPlot 6 56 2 Constructor amp Destructor Documentation 6 56 2 1 QwtPlotMagnifier QwtPlotMagnifier QwtPlotCanvas x canvas explicit Constructor Parameters canvas Plot canvas to be magnified Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 56 QwtPlotMagnifier Class Reference 251 6 56 2 2 QwtPlotMagnifier QwtPlotMagnifier virtual Destructor 6 56 3 Member Function Documentation 6 56 3 1 void QwtPlotMagnifier setAxisEnabled int axis bool on En Disable an axis Axes that are enabled will be synchronized to the result of panning All other axes will remain unchanged Parameters axis Axis see QwtPlot Axis on On Off See also isAxisEnabled 6 56 3 2 bool QwtPlotMagnifier isAxisEnabled int axis const Test if an axis is enabled Parameters axis Axis see QwtPlot Axis Returns True if the axis is enabled See also setAxisEnabled 6 56 3 3 QwtPlotCanvas x QwtPlotMagni
104. position 283 QwtPlotScalelItem 281 rtti 281 scaleDiv 281 scaleDraw 283 setAlignment 284 setBorderDistance 284 setFont 282 setPalette 282 setPosition 283 setScaleDiv 281 setScaleDivFromAxis 282 setScaleDraw 283 updateScaleDiv 285 QwtPlotSpectrogram 285 QwtPlotSpectrogram 287 QwtPlotSpectrogram QwtPlotSpectrogram 287 boundingRect 288 colorMap 288 contourLevels 291 contourPen 289 contourRasterSize 292 data 288 defaultContourPen 289 DisplayMode 286 draw 291 drawContourLines 293 QwtPlotSpectrogram 287 rasterHint 289 renderContourLines 292 renderlmage 291 rtti 291 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 435 setColorMap 288 setConrecAttribute 290 setContourLevels 290 setData 288 setDefaultContourPen 289 setDisplayMode 287 testConrecAttribute 290 testDisplayMode 287 QwtPlotSvgltem 293 QwtPlotSvgltem 294 QwtPlotSvgItem QwtPlotSvgltem 294 boundingRect 295 draw 295 loadData 295 loadFile 294 QwtPlotSvglItem 294 render 295 rtti 295 viewBox 296 QwtPlotZoomer 296 QwtPlotZoomer 298 QwtPlotZoomer accept 303 begin 303 end 303 maxStackDepth 300 minZoomSize 302 move 301 moveBy 301 QwtPlotZoomer 298 rescale 302 setAxis 300 setMaxStackDepth 300 setSelectionFlags 301 setZoomBase 299 widgetKeyPressEvent 303 widgetMouseReleaseEvent 302 zoom 301 302 zoomBase
105. protected virtual Move the last point of the selection Parameters pos New position See also isActive begin endQ append Note The moved const QPoint amp moved const QDoublePoint amp signals are emitted Reimplemented from QwtPicker 6 59 3 21 void QwtPlotPicker append const QPoint amp pos protected virtual Append a point to the selection and update rubberband and tracker Parameters pos Additional point Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 60 QwtPlotPrintFilter Class Reference 267 See also isActive begin end move appended Note The appended const QPoint amp appended const QDoublePoint amp signals are emitted Reimplemented from QwtPicker 6 59 3 22 bool QwtPlotPicker end bool ok true protected virtual Close a selection setting the state to inactive Parameters ok If true complete the selection and emit selected signals otherwise discard the selection Returns true if the selection is accepted false otherwise Reimplemented from QwtPicker Reimplemented in QwtPlotZoomer 6 60 QwtPlotPrintFilter Class Reference A base class for plot print filters include lt qwt_plot_printfilter h gt Public Types e enum Options AlignScales 1 IgnoreScrollbars 2 IgnoreFrames 4 IgnoreMargin 8 IgnoreLegend 16 PrintMargin 1 PrintTitle 2 PrintLegend 4 PrintGrid 8 PrintBac
106. resize event handler 6 86 3 39 QwtScaleDraw QwtThermo scaleDraw protected Returns the scale draw of the thermo See also setScaleDraw 6 87 QwtWheel Class Reference The Wheel Widget include lt qwt_wheel h gt Inheritance diagram for QwtWheel Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 QwtWheel Class Reference 393 QwtDoubleRange QuwtAbstractSlider QwtWheel Public Member Functions e QwtWheel QWidget parent NULL virtual QwtWheel virtual void setOrientation Qt Orientation double totalAngle const double viewAngle const int tickCnt const int internalBorder const double mass const void setTotalAngle double angle void setTickCnt int cnt void set ViewAngle double angle void setInternalBorder int width void setMass double val void setWheel Width int w virtual QSize sizeHint const virtual QSize minimumSizeHint const Protected Member Functions virtual void resizeEvent QResizeEvent xe virtual void paintEvent QPaintEvent e void layoutWheel bool update true void draw QPainter p const QRect amp update_rect void draw Wheel QPainter xp const QRect amp r void draw WheelBackground QPainter p const QRect amp r void setColorArray virtual void valueChange virtual void paletteChange const QPalette amp virtual double getValue const QPoint a
107. scaleDraw const QwtDialScaleDraw scaleDraw const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 71 Protected Member Functions virtual void paintEvent QPaintEvent virtual void resizeEvent QResizeEvent virtual void keyPressEvent QKeyEvent virtual void updateMask virtual void drawFrame QPainter p virtual void drawContents QPainter const virtual void drawFocusIndicator QPainter const virtual void drawScale QPainter x const QPoint amp center int radius double origin double arcMin double arcMax const virtual void drawScaleContents QPainter painter const QPoint amp center int radius const virtual void drawNeedle QPainter x const QPoint amp int radius double direction QPalette Color Group const virtual QwtText scaleLabel double const void updateScale virtual void rangeChange virtual void valueChange virtual double getValue const QPoint amp virtual void getScrollMode const QPoint amp int amp scrollMode int amp direction Friends e class QwtDialScaleDraw 6 18 1 Detailed Description QwtDial class provides a rounded range control QwtDial is intended as base class for dial widgets like speedometers compass widgets clocks A dial contains a scale and a needle indicating the current value of the dial Depending on Mode one of them is fixed and the other is rotating If not isReadOnly
108. scales QwtAbstractScaleDraw can be used to draw linear or logarithmic scales After a scale division has been specified as a QwtScaleDiv object using QwtAbstractScaleDraw setScale Div const QwtScaleDiv amp s the scale can be drawn with the QwtAbstractScaleDraw draw member 6 2 2 Member Enumeration Documentation 6 2 2 1 enum QwtAbstractScaleDraw ScaleComponent Components of a scale e Backbone e Ticks e Labels Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 19 See also enableComponent hasComponent 6 2 3 Constructor amp Destructor Documentation 6 2 3 1 QwtAbstractScaleDraw QwtAbstractScaleDraw Constructor The range of the scale is initialized to 0 100 The spacing distance between ticks and labels is set to 4 the tick lengths are set to 4 6 and 8 pixels 6 2 3 2 QwtAbstractScaleDraw QwtAbstractScaleDraw const QwtAbstractScaleDraw amp Copy constructor 6 2 3 3 QwtAbstractScaleDraw QwtAbstractScaleDraw virtual Destructor 6 2 4 Member Function Documentation 6 2 4 1 QwtAbstractScaleDraw amp QwtAbstractScaleDraw operator const QwtAbstractScale Draw amp Assignment operator 6 2 4 2 void QwtAbstractScaleDraw setScaleDiv const QwtScaleDiv amp sd Change the scale division Parameters sd New scale division 6 2 4 3 const QwtScaleDiv amp QwtAbstractScaleDraw scaleDiv const Returns
109. set Y Value QwtPlotMarker 253 setZ QwtPlotItem 236 setZoomBase QwtPlotZoomer 299 setZoomInKey QwtMagnifier 144 setZoomOutKey QwtMagnifier 144 Shadow QwtDial 71 show QwtPlotItem 236 showBackground QwtDial 72 size QwtArrayData 38 QwtCPointerData 64 QwtData 67 QwtIntervalData 114 QwtPolygonFData 304 QwtSymbol 366 sizeHint QwtArrowButton 40 QwtCounter 60 QwtDial 77 QwtDynGridLayout 104 QwtKnob 117 QwtLegend 124 QwtLegendItem 130 QwtPlot 199 QwtScaleWidget 345 QwtSlider 354 QwtTextLabel 381 QwtThermo 389 QwtWheel 395 sliderMoved QwtAbstractSlider 29 sliderPressed QwtAbstractSlider 28 sliderReleased QwtAbstractSlider 28 spacing QwtAbstractScaleDraw 20 QwtLegendItem 128 QwtPlotLayout 245 QwtPlotMarker 256 QwtScaleWidget 343 SplineType QwtSpline 358 splineType QwtSpline 359 startBorderDist QwtScaleWidget 341 state QwtPickerMachine 180 stateMachine QwtPicker 175 step QwtCounter 60 QwtDoubleRange 97 stepButton1 QwtCounter 61 stepButton2 QwtCounter 61 stepButton3 QwtCounter 62 stepChange QwtDoubleRange 99 stopMoving QwtAbstractSlider 25 stretchGrid QwtDynGridLayout 105 stretchSelection QwtPicker 175 strip QwtScaleEngine 333 Style QwtCompassMagnetNeedle 51 QwtCompassWindArrow 55 QwtDialSimpleNeedle 86 QwtSymbol 363 style QwtPlotCurve 219 QwtSymbol 366 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s G
110. set of Qwt Ruby bindings Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 1 9 Donations 1 9 Donations Sourceforge offers a Donation System via PayPal You can use it if you like to support the devel opment of Qwt 1 10 Credits Authors Uwe Rathmann Josef Wilgen lt Qwt 0 2 Project admin Uwe Rathmann lt rathmann users sourceforge net gt 2 Qwt User s Guide Hierarchical Index 2 1 Qwt User s Guide Class Hierarchy This inheritance list is sorted roughly but not completely alphabetically QwtAbstractScale QwtKnob QwtSlider QwtThermo QwtAbstractScaleDraw QwtRoundScaleDraw QwtDialScaleDraw QwtScaleDraw QwtArrowButton QwtClipper QwtColorMap QwtAlphaColorMap QwtLinearColorMap QwtCompassRose QwtSimpleCompassRose QwtCurveFitter QwtSplineCurveFitter 12 116 350 383 17 312 84 321 40 43 del 32 134 54 348 66 361 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 2 1 Qwt User s Guide Class Hierarchy QwtData QwtArrayData QwtCPointerData QwtPolygonFData QwtDialNeedle QwtCompassMagnetNeedle QwtCompassWindArrow QwtDialSimpleNeedle QwtDoubleInterval QwtDoubleRange QwtAbstractSlider QwtDial QwtAnalogClock QwtCompass QwtKnob QwtSlider QwtWheel QwtCounter QwtDynGridLayout QwtEventPattern QwtPicker QwtPlotPicker QwtPlotZoomer QwtEventPattern KeyPattern QwtEventPattern MousePattern Q
111. so as to be conveniently linked with application programs which use some of those functions and data to form executables The Library below refers to any such software library or work which has been distributed under these terms A work based on the Library means either the Library or any derivative work under copyright law that is to say a work containing the Library or a portion of it either verbatim or with modifications and or translated straightforwardly into another language Hereinafter translation is included without limitation in the term modification Source code for a work means the preferred form of the work for making modifications to it For a library complete source code means all the source code for all modules it contains plus any associated interface definition files plus the scripts used to control compilation and installation of the library Activities other than copying distribution and modification are not covered by this License they are outside its scope The act of running a program using the Library is not restricted and output from such a program is covered only if its contents constitute a work based on the Library independent of the use of the Library in a tool for writing it Whether that is true depends on what the Library does and what the program that uses the Library does 1 You may copy and distribute verbatim copies of the Library s complete source code as you receive it in any me
112. text static Wrapper for QPainter drawText 6 39 2 10 void QwtPainter drawText QPainter painter const QPoint amp pos const QString amp text static Wrapper for QPainter drawText 6 39 2 11 void QwtPainter drawText QPainter x painter int x int y int w int h int flags const QString amp text static Wrapper for QPainter drawText 6 39 2 12 void QwtPainter drawText QPainter painter const QRect amp rect int flags const QString amp text static Wrapper for QPainter drawText 6 39 2 13 void QwtPainter drawSimpleRichText QPainter painter const QRect amp rect int flags QTextDocument amp text static Wrapper for QSimpleRichText draw 6 39 2 14 void QwtPainter drawRect QPainter x painter int x int y intw inth static Wrapper for QPainter drawRect 6 39 2 15 void QwtPainter drawRect QPainter gt painter const QRect amp rect static Wrapper for QPainter drawRect Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 39 QwtPainter Class Reference 155 6 39 2 16 void QwtPainter fillRect QPainter x painter const QRect amp rect const QBrush amp brush static Wrapper for QPainter fillRect 6 39 2 17 void QwtPainter drawEllipse QPainter x painter const QRect amp rect static Wrapper for QPainter drawEllipse 6 39 2 18 void QwtPainter drawPie QPainter painter const QRect amp rect int a int alen
113. that the label would be printed left above the center point if the alignment was set to AlignLeft AlignTop 6 57 2 Member Enumeration Documentation 6 57 2 1 enum QwtPlotMarker LineStyle Line styles See also setLineStyle lineStyleQ 6 57 3 Constructor amp Destructor Documentation 6 57 3 1 QwtPlotMarker QwtPlotMarker explicit Sets alignment to Qt AlignCenter and style to NoLine 6 57 3 2 QwtPlotMarker QwtPlotMarker virtual Destructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 254 6 57 4 Member Function Documentation 6 57 4 1 int QwtPlotMarker rtti const virtual Returns QwtPlotItem Rtti_PlotMarker Reimplemented from QwtPlotItem 6 57 4 2 double QwtPlotMarker x Value const Return x Value 6 57 4 3 double QwtPlotMarker yValue const Return y Value 6 57 4 4 QwtDoublePoint QwtPlotMarker value const Return Value 6 57 4 5 void QwtPlotMarker setX Value double Set X Value 6 57 4 6 void QwtPlotMarker setY Value double Set Y Value 6 57 4 7 void QwtPlotMarker set Value double double Set Value 6 57 4 8 void QwtPlotMarker set Value const QwtDoublePoint amp Set Value 6 57 4 9 void QwtPlotMarker setLineStyle QwtPlotMarker LineStyle st Set the line style Parameters st Line style Can be one of QwtPlotMarker NoLine HLine VLine or Cross See also lineStyleQ
114. the expand operation Returns Expanded interval Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 63 QwtPlotScaleItem Class Reference 281 6 63 QwtPlotScaleltem Class Reference A class which draws a scale inside the plot canvas include lt qwt_plot_scaleitem h gt Inheritance diagram for QwtPlotScaleltem QwtLegenditemManager QwtPlotitem QwtPlotScaleltem Public Member Functions e QwtPlotScaleItem QwtScaleDraw Alignment QwtScaleDraw BottomScale const double pos 0 0 virtual QwtPlotScalelItem virtual int rtti const void setScaleDiv const QwtScaleDiv amp const QwtScaleDiv amp scaleDiv const void setScaleDivFromAxis bool on bool isScaleDivFromAxis const void setPalette const QPalette amp QPalette palette const void setFont const QFont amp QFont font const void setScaleDraw QwtScaleDraw const QwtScaleDraw x scaleDraw const QwtScaleDraw scaleDraw void setPosition double pos double position const void setBorderDistance int numPixels int borderDistance const void setAlignment QwtScaleDraw Alignment virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp rect const virtual void updateScaleDiv const QwtScaleDiv amp const QwtScaleDiv amp 6 63 1 Detailed Description A class which draws a scale inside the plot canv
115. the flags used like in QPainter drawText text Text to be rendered Returns Caluclated size Implements QwtTextEngine 6 37 3 3 void QwtMathMLTextEngine draw QPainter painter const QRect amp rect int flags const QString amp text const virtual Draw the text in a clipping rectangle Parameters painter Painter rect Clipping rectangle flags Bitwise OR of the flags like in for QPainter drawText text Text to be rendered Implements QwtTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 38 QwtMetricsMap Class Reference 150 6 37 3 4 bool QwtMathMLtTextEngine mightRender const QString amp text const virtual Test if a string can be rendered by QwtMathMLTextEngine Parameters text Text to be tested Returns true if text begins with lt math gt Implements QwtTextEngine 6 37 3 5 void QwtMathMLTextEngine textMargins const QFont amp const QString amp int amp left int amp right int amp top int amp bottom const virtual Return margins around the texts Parameters left Return 0 right Return 0 top Return 0 bottom Return 0 Implements QwtTextEngine 6 38 QwtMetricsMap Class Reference A Map to translate between layout screen and paint device metrics include lt qwt_layout_metrics h gt Public Member Functions e bool isIdentity const e void setMetrics const QPaintDevice layoutMetrics const QPaintDevice deviceM
116. the pixmap around without initiating any repaint events for the widget Areas that are not part of content are not painted while panning in in process This makes panning fast enough for widgets where repaints are too slow for mouse movements For widgets where repaints are very fast it might be better to implement panning manually by mapping mouse events into paint events 6 40 2 Constructor amp Destructor Documentation 6 40 2 1 QwtPanner QwtPanner QWidget x parent Creates an panner that is enabled for the left mouse button Parameters parent Parent widget to be panned 6 40 2 2 QwtPanner QwtPanner virtual Destructor 6 40 3 Member Function Documentation 6 40 3 1 void QwtPanner setEnabled bool on En disable the panner When enabled is true an event filter is installed for the observed widget otherwise the event filter is re moved Parameters on true or false See also isEnabled eventFilter 6 40 3 2 bool QwtPanner isEnabled const Returns true when enabled false otherwise See also setEnabled eventFilter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 40 QwtPanner Class Reference 158 6 40 3 3 void QwtPanner setMouseButton int button int buttonState Qt NoButton Change the mouse button The defaults are Qt LeftButton and Qt NoButton 6 40 3 4 void QwtPanner getMouseButton int amp button int amp buttonState const
117. value interval color2 Color used for the maximum value of the value interval See also colorl color2 6 33 4 6 void QwtLinearColorMap addColorStop double value const QColor amp color Add a color stop The value has to be in the range 0 0 1 0 Fe a stop at position 17 0 for a range 10 0 20 0 must be passed as 17 0 10 0 20 0 10 0 Parameters value Value between 0 0 1 0 color Color stop Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 33 QwtLinearColorMap Class Reference 137 6 33 4 7 QwtArray lt double gt QwtLinearColorMap colorStops const Return all positions of color stops in increasing order 6 33 4 8 QColor QwtLinearColorMap color1 const Returns the first color of the color range See also setColorInterval 6 33 4 9 QColor QwtLinearColorMap color2 const Returns the second color of the color range See also setColorInterval 6 33 4 10 QRgb QwtLinearColorMap rgb const QwtDoubleInterval amp interval double value const virtual Map a value of a given interval into a rgb value Parameters interval Range for all values value Value to map into a rgb value Implements QwtColorMap 6 33 4 11 unsigned char QwtLinearColorMap colorIndex const QwtDoubleInterval amp interval double value const virtual Map a value of a given interval into a color index between 0 and 255 Parameters interval Range for
118. values 6 15 3 8 QwtDoubleRect QwtCPointerData boundingRect const virtual Returns the bounding rectangle of the data If there is no bounding rect like for empty data the rectangle is invalid QwtDoubleRect is Valid false Reimplemented from QwtData 6 16 QwtCurveFitter Class Reference Abstract base class for a curve fitter include lt qwt_curve_fitter h gt Inheritance diagram for QwtCurveFitter QuwtCurveFitter QwtSplineCurveFitter Public Member Functions e virtual QwtCurveFitter e virtual QPolygonF fitCurve const QPolygonF amp polygon const 0 Protected Member Functions e QwtCurveFitter 6 16 1 Detailed Description Abstract base class for a curve fitter 6 16 2 Constructor amp Destructor Documentation 6 16 2 1 QwtCurveFitter QwtCurveFitter virtual Destructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 17 QwtData Class Reference 67 6 16 2 2 QwtCurveFitter QwtCurveFitter 0 protected Constructor 6 16 3 Member Function Documentation 6 16 3 1 virtual QPolygonF QwtCurveFitter fitCurve const QPolygonF amp polygon const pure virtual Find a curve which has the best fit to a series of data points Parameters polygon Series of data points Returns Curve points Implemented in QwtSplineCurveFitter 6 17 QwtData Class Reference QwtData defines an interface to any type of curve data include
119. virtual double getValue const QPoint amp p virtual void getScrollMode const QPoint amp p int amp scrollMode int amp direction void draw QPainter p const QRect amp update_rect virtual void drawSlider QPainter p const QRect amp r virtual void drawThumb QPainter p const QRect amp int pos virtual void resizeEvent QResizeEvent xe virtual void paintEvent QPaintEvent xe virtual void valueChange virtual void rangeChange virtual void scaleChange virtual void fontChange const QFont amp oldFont void layoutSlider bool update true int xyPosition double v const e QwtScaleDraw scaleDraw 6 79 1 Detailed Description The Slider Widget QwtSlider is a slider widget which operates on an interval of type double QwtSlider supports different layouts as well as a scale See also QwtAbstractSlider and QwtAbstractScale for the descriptions of the inherited members 6 79 2 Member Enumeration Documentation 6 79 2 1 enum QwtSlider ScalePos Scale position QwtSlider tries to enforce valid combinations of its orientation and scale position e Qt Horizonal combines with NoScale TopScale and BottomScale e Qt Vertical combines with NoScale LeftScale and RightScale See also QwtSlider 6 79 2 2 enum QwtSlider BGSTYLE Background style See also QwtSlider Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 353
120. widget Parameters ke Key event See also eventFilter widgetKeyReleaseEvent 6 40 3 19 void QwtPanner widgetKeyReleaseEvent QKeyEvent protected virtual Handle a key release event for the observed widget See also eventFilter widgetKeyReleaseEvent 6 40 3 20 void QwtPanner paintEvent QPaintEvent x pe protected virtual Paint event Repaint the grabbed pixmap on its current position and fill the empty spaces by the background of the parent widget Parameters pe Paint event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 161 6 41 QwtPicker Class Reference QwtPicker provides selections on a widget include lt qwt_picker h gt Inheritance diagram for QwtPicker Public Types enum SelectionType NoSelection 0 PointSelection 1 RectSelection 2 PolygonSelection 4 enum RectSelectionType CornerToCorner 64 CenterToCorner 128 CenterToRadius 256 enum SelectionMode ClickSelection 1024 DragSelection 2048 enum RubberBand NoRubberBand 0 HLineRubberBand VLineRubberBand CrossRubberBand RectRubberBand EllipseRubberBand PolygonRubberBand UserRubberBand 100 enum DisplayMode AlwaysOff AlwaysOn ActiveOnly ImageMode 1 ContourMode 2 QwtEventPattern QwtPicker QuwiPlotPicker QuwiPlotZoomer
121. x position Otherwise the label contains x and y position separated by a The format for the string conversion is d Parameters pos Position Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 172 Returns Converted position as string Reimplemented in QwtPlotPicker 6 41 4 26 QPoint QwtPicker trackerPosition const Returns Current position of the tracker 6 41 4 27 QRect QwtPicker trackerRect const QFont amp font const Calculate the bounding rectangle for the tracker text from the current position of the tracker Parameters font Font of the tracker text Returns Bounding rectangle of the tracker text See also trackerPosition 6 41 4 28 void QwtPicker selected const QwtPolygon amp pa signal A signal emitting the selected points at the end of a selection Parameters pa Selected points 6 41 4 29 void QwtPicker appended const QPoint amp pos signal A signal emitted when a point has been appended to the selection Parameters pos Position of the appended point See also append moved Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 173 6 41 4 30 void QwtPicker moved const QPoint amp pos signal A signal emitted whenever the last appended point of the selection has been moved Parameters pos Position of the moved last point
122. xMap const QwtScale Map amp yMap const Calculate the bounding scale rect of 2 maps Parameters xMap X map yMap X map Returns Bounding rect of the scale maps 6 54 4 30 QRect QwtPlotItem paintRect const QwtScaleMap amp xMap const QwtScaleMap amp y Map const Calculate the bounding paint rect of 2 maps Parameters xMap X map yMap X map Returns Bounding rect of the scale maps 6 54 4 31 QRect QwtPlotItem transform const QwtScaleMap amp xMap const QwtScaleMap amp y Map const QwtDoubleRect amp rect const Transform a rectangle Parameters xMap X map yMap Y map rect Rectangle in scale coordinates Returns Rectangle in paint coordinates See also invTransform 6 54 4 32 QwtDoubleRect QwtPlotItem invTransform const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp rect const Transform a rectangle from paint to scale coordinates Parameters xMap X map Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 242 yMap Y map rect Rectangle in paint coordinates Returns Rectangle in scale coordinates See also transform 6 55 QwtPlotLayout Class Reference Layout engine for QwtPlot include lt qwt_plot_layout h gt Public Types e enum Options AlignScales 1 IgnoreScrollbars 2 IgnoreFrames 4 IgnoreMargin 8 IgnoreLegend 16 PrintMargin 1 PrintTi
123. 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 235 6 54 4 Member Function Documentation 6 54 4 1 void QwtPlotItem attach QwtPlot x plot Attach the item to a plot This method will attach a QwtPlotItem to the QwtPlot argument It will first detach the QwtPlotItem from any plot from a previous call to attach if necessary If a NULL argument is passed it will detach from any QwtPlot it was attached to Parameters plot Plot widget See also QwtPlotItem detach 6 54 4 2 void QwtPlotItem detach inline This method detaches a QwtPlotItem from any QwtPlot it has been associated with detach is equivalent to calling attach NULL See also attach QwtPlot plot 6 54 4 3 QwtPlot x QwtPlotItem plot const Return attached plot 6 54 4 4 void QwtPlotItem setTitle const QString amp title Set a new title Parameters title Title See also title 6 54 4 5 void QwtPlotItem setTitle const QwtText amp title Set a new title Parameters title Title See also title Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 236 6 54 4 6 const QwtText amp QwtPlotItem title const Returns Title of the item See also setTitleQ 6 54 4 7 int QwtPlotItem rtti const virtual Return rtti for the specific class represented QwtPlotItem is simply a virtual interface class and b
124. 1 QwtScaleDraw QwtScaleDraw 321 Alignment 321 alignment 324 boundingLabelRect 327 drawBackbone 327 drawLabel 328 drawTick 327 extent 322 getBorderDistHint 322 labelAlignment 325 labelMatrix 327 labelPosition 326 labelRect 326 labelRotation 325 labelSize 326 length 324 maxLabelHeight 326 maxLabel Width 326 minLabelDist 322 minLength 322 move 323 operator 322 orientation 324 pos 324 QwtScaleDraw 321 setAlignment 324 setLabelAlignment 324 setLabelRotation 325 setLength 323 QwtScaleEngine 328 QwtScaleEngine 330 QwtScaleEngine QwtScaleEngine 330 Attribute 329 attributes 330 autoScale 332 buildInterval 333 contains 333 divideInterval 333 divideScale 332 lowerMargin 331 QwtScaleEngine 330 reference 331 setAttribute 330 setAttributes 330 setMargins 331 setReference 331 strip 333 testAttribute 330 transformation 332 upperMargin 332 QwtScaleMap 334 QwtScaleMap 334 QwtScaleMap QwtScaleMap 334 invTransform 336 operator 335 pl 336 p2 336 pDist 337 QwtScaleMap 334 s1 336 s2 336 sDist 337 setPaintInterval 335 setPaintXInterval 335 setScaleInterval 335 setTransformation 335 transform 335 transformation 335 xTransform 336 QwtScaleTransformation 337 QwtScaleTransformation 338 QwtScaleTransformation QwtScaleTransformation 338 copy 338 invXForm 338 QwtScaleTransformation 338 type 338 xForm 338 QwtScaleWidget 339 QwtScaleWidget 3
125. 1 3 7 int QwtAbstractScale scaleMaxMinor const Returns Max number of minor tick intervals The default value is 3 6 1 3 8 void QwtAbstractScale setScaleMaxMinor int ticks Set the maximum number of minor tick intervals The scale s minor ticks are calculated automatically such that the number of minor intervals does not exceed ticks The default value is 3 Parameters ticks See also QwtAbstractScaleDraw 6 1 3 9 int QwtAbstractScale scaleMaxMajor const Returns Max number of major tick intervals The default value is 5 6 1 3 10 void QwtAbstractScale setScaleEngine QwtScaleEngine scaleEngine Set a scale engine The scale engine is responsible for calculating the scale division and in case of auto scaling how to align the scale scaleEngine has to be created with new and will be deleted in QwtAbstractScale or the next call of setScaleEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 1 QwtAbstractScale Class Reference 16 6 1 3 11 const QwtScaleEngine x QwtAbstractScale scaleEngine const Returns Scale engine See also setScaleEngine 6 1 3 12 QwtScaleEngine x QwtAbstractScale scaleEngine Returns Scale engine See also setScaleEngine 6 1 3 13 const QwtScaleMap amp QwtAbstractScale scaleMap const Returns abstractScaleDraw gt scaleMap 6 1 3 14 void QwtAbstractScale rescale double vimin double vmax do
126. 16 void QwtPlot setCanvasBackground const QColor amp c Change the background of the plotting area Sets c to QColorGroup Background of all colorgroups of the palette of the canvas Using canvas gt set Palette is a more powerful way to set these colors Parameters c new background color 6 49 4 17 const QColor amp QwtPlot canvasBackground const Nothing else than canvas gt palette color QPalette Normal QColorGroup Background Returns the background color of the plotting area 6 49 4 18 void QwtPlot setCanvasLine Width int w Change the border width of the plotting area Nothing else than canvas gt setLineWidth w left for com patibility only Parameters w new border width 6 49 4 19 int QwtPlot canvasLineWidth const Nothing else than canvas gt lineWidth left for compatibility only Returns the border width of the plotting area 6 49 4 20 QwtScaleMap QwtPlot canvasMap int axisId const virtual Parameters axisId Axis Returns Map for the axis on the canvas With this map pixel coordinates can translated to plot coordinates and vice versa See also QwtScaleMap transform invTransform Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 193 6 49 4 21 double QwtPlot invTransform int axisId int pos const Transform the x or y coordinate of a position in the drawing region into a value Parameters
127. 19 style 219 symbol 219 testCurveAttribute 217 testPaintAttribute 214 updateLegend 220 x 216 y 216 QwtPlotDict 223 QwtPlotDict 224 QwtPlotDict QwtPlotDict 224 autoDelete 225 detachItems 225 itemList 225 QwtPlotDict 224 setAutoDelete 225 QwtPlotGrid 225 QwtPlotGrid 226 QwtPlotGrid QwtPlotGrid 226 draw 230 enableX 227 enableX Min 227 enableY 227 enable Y Min 228 majPen 229 minPen 230 QwtPlotGrid 226 rtti 227 setMajPen 229 setMinPen 229 setPen 229 setXDiv 228 setYDiv 229 updateScaleDiv 230 xEnabled 227 xMinEnabled 228 xScaleDiv 228 yEnabled 227 yMinEnabled 228 yScaleDiv 229 QwtPlotItem 231 QwtPlotItem 233 QwtPlotItem QwtPlotItem 233 attach 234 boundingRect 238 detach 234 draw 238 hide 236 invTransform 240 isVisible 237 ItemAttribute 233 itemChanged 238 legendItem 239 paintRect 240 plot 234 QwtPlotItem 233 RenderHint 233 rtti 235 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 433 Rtti Values 233 scaleRect 239 setAxis 237 setItemAttribute 235 setRenderHint 235 setTitle 234 set Visible 237 setX Axis 237 setYAxis 238 setZ 236 show 236 testItemAttribute 235 testRenderHint 236 title 234 transform 240 updateLegend 238 updateScaleDiv 239 xAxis 237 yAxis 238 Z 236 QwtPlotItemList qwt_plot_dict h 399 QwtPlotLayout 241 QwtPlotLayout 243 QwtPlotLayout QwtPlotLayout 243 act
128. 20 void QwtDoubleRange stepChange protected virtual Notify a change of the step size This virtual function is called whenever the step size changes The default implementation does nothing 6 23 3 21 void QwtDoubleRange rangeChange protected virtual Notify a change of the range This virtual function is called whenever the range changes The default implementation does nothing Reimplemented in QwtCounter QwtDial and QwtSlider Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 24 QwtDynGridLayout Class Reference 101 6 24 QwtDynGridLayout Class Reference The QwtDynGridLayout class lays out widgets in a grid adjusting the number of columns and rows to the current size include lt qwt_dyngrid_layout h gt Public Member Functions e QwtDynGridLayout QWidget x int margin 0 int space 1 e QwtDynGridLayout int space 1 virtual QwtDynGridLayout virtual void invalidate void setMaxCols uint maxCols uint maxCols const uint numRows const uint numCols const virtual void addItem QLayoutItem virtual QLayoutItem itemAt int index const virtual QLayoutItem takeAt int index virtual int count const void setExpandingDirections Qt Orientations virtual Qt Orientations expandingDirections const QList lt QRect gt layoutlItems const QRect amp uint numCols const virtual int maxItemWidth const virtual void setGeometry const QRect amp rec
129. 2009 for Qwt User s Guide by Doxygen 6 4 QwtAlphaColorMap Class Reference 32 Parameters p point where the mouse was pressed Return values scrollMode The scrolling mode direction direction 1 0 or 1 Implemented in QwtDial QwtSlider and QwtWheel 6 4 QwtAlphaColorMap Class Reference QwtAlphaColorMap variies the alpha value of a color include lt qwt_color_map h gt Inheritance diagram for QwtAlphaColorMap QuwtColorMap QwtAlphaColorMap Public Member Functions e QwtAlphaColorMap const QColor amp QColor Qt gray e QwtAlphaColorMap const QwtAlphaColorMap amp e virtual QwtAlphaColorMap e QwtAlphaColorMap amp operator const QwtAlphaColorMap amp e virtual QwtColorMap copy const e void setColor const QColor amp e QColor color const e virtual QRgb rgb const QwtDoublelInterval amp double value const 6 4 1 Detailed Description QwtAlphaColorMap variies the alpha value of a color 6 4 2 Constructor amp Destructor Documentation 6 4 2 1 QwtAlphaColorMap QwtAlphaColorMap const QColor QColor Qt gray Constructor Parameters color Color of the map amp color Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 4 QwtAlphaColorMap Class Reference 33 6 4 2 2 QwtAlphaColorMap QwtAlphaColorMap const QwtAlphaColorMap amp other Copy constructor Parameters other Other color map 6 4
130. 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 289 6 64 4 2 bool QwtPlotSpectrogram testDisplayMode DisplayMode mode const The display mode controls how the raster data will be represented Parameters mode Display mode Returns true if mode is enabled 6 64 4 3 void QwtPlotSpectrogram setData const QwtRasterData amp data Set the data to be displayed Parameters data Spectrogram Data See also data 6 64 4 4 const QwtRasterData amp QwtPlotSpectrogram data const Returns Spectrogram data See also setData 6 64 4 5 void QwtPlotSpectrogram setColorMap const QwtColorMap amp colorMap Change the color map Often it is useful to display the mapping between intensities and colors as an additional plot axis showing a color bar Parameters colorMap Color Map See also colorMap QwtScaleWidget setColorBarEnabled QwtScale Widget setColorMap 6 64 4 6 const QwtColorMap amp QwtPlotSpectrogram colorMap const Returns Color Map used for mapping the intensity values to colors See also setColorMap Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 290 6 64 4 7 QwtDoubleRect QwtPlotSpectrogram boundingRect const virtual Returns Bounding rect of the data See also QwtRasterData boundingRect Reimplemented from QwtPlotItem 6 64 4 8
131. 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 426 incSteps 60 keyPressEvent 62 max Val 61 minVal 61 numButtons 59 polish 60 QwtCounter 59 rangeChange 63 setEditable 59 setIncSteps 59 setMax Value 61 setMin Value 61 setNumButtons 59 setStep 60 setStepButton1 61 setStepButton2 61 setStepButton3 62 set Value 60 sizeHint 60 step 60 stepButton1 61 stepButton 2 61 stepButton3 62 value 62 valueChanged 62 wheelEvent 62 QwtCPointerData 63 QwtCPointerData 64 QwtCPointerData boundingRect 65 copy 64 operator 64 QwtCPointerData 64 size 64 x 64 xData 65 y 65 yData 65 QwtCurveFitter 65 QwtCurveFitter 66 QwtCurveFitter QwtCurveFitter 66 fitCurve 66 QwtCurveFitter 66 QwtData 66 QwtData 67 QwtData QwtData 67 boundingRect 68 copy 67 operator 68 QwtData 67 size 67 x 67 y 68 QwtDial 68 QwtDial 71 QwtDial QwtDial 71 boundingRect 76 contentsRect 77 Direction 71 direction 76 drawContents 79 drawFocusIndicator 79 drawFrame 79 drawNeedle 80 drawScale 79 drawScaleContents 80 frameShadow 72 getScrollMode 81 getValue 81 has VisibleBackground 72 keyPressEvent 78 line Width 72 maxScaleArc 75 minimumSizeHint 77 minScaleArc 75 Mode 71 mode 73 needle 76 origin 75 paintEvent 78 QwtDial 71 rangeChange 81 resizeEvent 78 scaleContentsRect 77 scaleDraw 77 78 scaleLabel 80 ScaleOptions 71 setDirecti
132. 3 draw 396 draw Wheel 396 draw WheelBackground 396 getScrollMode 397 getValue 397 internalBorder 393 layoutWheel 396 mass 394 minimumSizeHint 395 paintEvent 396 paletteChange 397 QwtWheel 393 resizeEvent 396 setColorArray 396 setInternalBorder 395 setMass 395 setOrientation 393 setTickCnt 394 setTotalAngle 394 setViewAngle 394 setWheel Width 395 sizeHint 395 tickCnt 393 totalAngle 393 valueChange 396 viewAngle 393 radius QwtRoundScaleDraw 312 range QwtRasterData 308 QwtScaleDiv 319 rangeChange QwtCounter 63 QwtDial 81 QwtDoubleRange 99 QwtSlider 356 rasterHint QwtPlotRasterltem 272 QwtPlotSpectrogram 289 QwtRasterData 307 RectSelectionType QwtPicker 163 reference QwtScaleEngine 331 referenceAxis QwtPlotRescaler 276 released QwtLegendItem 130 remove QwtLegend 123 render QwtPlotSvgltem 295 renderContourLines QwtPlotSpectrogram 292 renderFlags QwtText 372 RenderHint QwtPlotItem 233 renderImage QwtPlotRasterltem 272 QwtPlotSpectrogram 291 replot QwtPlot 201 QwtPlotCanvas 207 rescale QwtAbstractScale 16 QwtMagnifier 145 QwtPlotMagnifier 250 QwtPlotRescaler 278 QwtPlotZoomer 302 RescalePolicy QwtPlotRescaler 274 rescalePolicy QwtPlotRescaler 275 reset QwtPicker 173 QwtPickerMachine 180 QwtPlotPrintFilter 269 QwtSpline 359 resetMetricsMap QwtPainter 152 resizeEvent QwtDial 78 QwtKnob 118 QwtLegen
133. 3 4 13 void QwtAbstractSlider incValue int steps virtual slot Increment the value by a specified number of steps Parameters steps number of steps See also setValue Reimplemented from QwtDoubleRange 6 3 4 14 void QwtAbstractSlider setReadOnly bool readOnly virtual slot En Disable read only mode In read only mode the slider can t be controlled by mouse or keyboard Parameters readOnly Enables in case of true See also isReadOnly 6 3 4 15 void QwtAbstractSlider valueChanged double value signal Notify a change of value In the default setting tracking enabled this signal will be emitted every time the value changes see setTracking Parameters value new value 6 3 4 16 void QwtAbstractSlider sliderPressed signal This signal is emitted when the user presses the movable part of the slider start ScrMouse Mode 6 3 4 17 void QwtAbstractSlider sliderReleased signal This signal is emitted when the user releases the movable part of the slider 6 3 4 18 void QwtAbstractSlider sliderMoved double value signal This signal is emitted when the user moves the slider with the mouse Parameters value new value Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 30 6 3 4 19 void QwtAbstractSlider setPosition const QPoint amp p protected virtual Move the slider to a specified point adj
134. 396 legend QwtPlot 199 legendChecked QwtPlot 200 legendClicked QwtPlot 200 LegendDisplay Policy QwtLegend 120 legendItem QwtLegendItemManager 132 QwtPlotItem 239 legendItemChecked QwitPlot 201 legendItemClicked QwitPlot 201 LegendItemMode QwtLegend 121 legendItems QwtLegend 123 LegendPosition QwtPlot 187 legendPosition QwtPlotLayout 245 legendRatio QwtPlotLayout 246 legendRect QwtPlotLayout 247 length QwtScaleDraw 324 limited QwtDoubleInterval 91 linePen QwtPlotMarker 254 LineStyle QwtPlotMarker 252 lineStyle QwtPlotMarker 253 line Width QwtDial 72 loadData QwtPlotSvglItem 295 loadFile QwtPlotSvglItem 294 log10 QwtLog10ScaleEngine 140 lowerBound QwtScaleDiv 318 lowerMargin QwtScaleEngine 331 majPen QwtPlotGrid 229 majTickLength QwtAbstractScaleDraw 20 map QwtAbstractScaleDraw 19 margin QwtPlot 189 QwtPlotLayout 243 QwtScaleWidget 343 QwtTextLabel 381 mass QwtAbstractSlider 26 QwtWheel 394 maxCols QwtDynGridLayout 101 maxItemWidth QwtDynGridLayout 103 maxLabelHeight QwtScaleDraw 326 maxLabel Width QwtScaleDraw 326 maxScaleArc QwtDial 75 maxStackDepth QwtPlotZoomer 300 max Val QwtCounter 61 max Value QwtDoubleInterval 92 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 422 QwtDoubleRange 97 QwtThermo 388 maxX Value QwtPlotCurve 217 max Y Value QwtPlotCurve 217 metricsMap Qwt
135. 4 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 79 6 18 4 32 void QwtDial paintEvent QPaintEvent xe protected virtual Paint the dial Parameters e Paint event 6 18 4 33 void QwtDial resizeEvent QResizeEvent xe protected virtual Resize the dial widget Parameters e Resize event 6 18 4 34 void QwtDial keyPressEvent QKeyEvent x event protected virtual Handles key events Key_Down KeyLeft Decrement by 1 Key_Prior Decrement by pageSize Key_Home Set the value to minValue Key_Up KeyRight Increment by 1 Key_Next Increment by pageSize Key_End Set the value to max Value Parameters event Key event See also isReadOnly Reimplemented from QwtAbstractSlider Reimplemented in QwtCompass Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 80 6 18 4 35 void QwtDial updateMask protected virtual Update the mask of the dial In case of has VisibleBackground false the backgound is transparent by a mask See also showBackground has VisibleBackground 6 18 4 36 void QwtDial drawFrame QPainter x painter protected virtual Draw the frame around the dial Parameters painter Painter See also lineWidth frameShadow 6 18 4 37 void QwtDial drawContents QPainter x painter const protected virtual Draw the contents inside the frame QCol
136. 40 QwtScale Widget QwtScaleWidget 340 alignment 346 dimForLength 345 draw 346 drawTitle 345 endBorderDist 342 getBorderDistHint 342 getMinBorderDist 342 layoutScale 346 margin 343 minimumSizeHint 345 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 437 paintEvent 346 penWidth 343 QwtScaleWidget 340 resizeEvent 346 scaleChange 346 scaleDivChanged 340 scaleDraw 344 setAlignment 346 setBorderDist 341 setLabelAlignment 344 setLabelRotation 345 setMargin 342 setMinBorderDist 342 setPen Width 343 setScaleDiv 344 setScaleDraw 344 setSpacing 343 setTitle 340 341 sizeHint 345 spacing 343 startBorderDist 341 title 341 titleHeightForWidth 345 QwtSimpleCompassRose 347 QwtSimpleCompassRose 347 QwtSimpleCompassRose draw 349 drawRose 349 numThornLevels 348 numThorns 348 QwtSimpleCompassRose 347 setNumThornLevels 348 setNumThorns 348 setWidth 348 width 348 QwtSlider 349 QwtSlider 352 QwtSlider BGSTYLE 351 bgStyle 352 borderWidth 353 draw 355 drawSlider 355 drawThumb 355 fontChange 356 getScrollMode 355 getValue 354 layoutSlider 356 minimumSizeHint 354 paintEvent 355 QwtSlider 352 rangeChange 356 resizeEvent 355 scaleChange 356 scaleDraw 354 356 ScalePos 351 scalePosition 353 setBgStyle 352 setBorderWidth 353 setMargins 354 setOrientation 352 setScaleDraw 354 setScalePosition 352 setThumbLength 3
137. 5 2009 for Qwt User s Guide by Doxygen 6 35 QwtLog10ScaleEngine Class Reference 139 6 34 2 2 QwtScaleDiv QwtLinearScaleEngine divideScale double x double x2 int maxMajSteps int maxMinSteps double stepSize 0 0 const virtual Calculate a scale division Parameters x1 First interval limit x2 Second interval limit maxMajSteps Maximum for the number of major steps max MinSteps Maximum number of minor steps stepSize Step size If stepSize 0 the scaleEngine calculates one See also QwtScaleEngine stepSize QwtScaleEngine subDivide Implements QwtScaleEngine 6 34 2 3 QwtScaleTransformation QwtLinearScaleEngine transformation O const virtual Return a transformation for linear scales Implements QwtScaleEngine 6 34 2 4 QwtDoubleInterval QwtLinearScaleEngine align const QwtDoubleInterval amp interval double stepSize const protected Align an interval to a step size The limits of an interval are aligned that both are integer multiples of the step size Parameters interval Interval stepSize Step size Returns Aligned interval 6 35 QwtLog10ScaleEngine Class Reference A scale engine for logarithmic base 10 scales include lt qwt_scale_engine h gt Inheritance diagram for QwtLog10ScaleEngine QwtScaleEngine QwtLog10ScaleEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 35 QwtLog10ScaleEngine Class R
138. 53 setThumb Width 353 sizeHint 354 thumbLength 353 thumbWidth 353 valueChange 356 xyPosition 356 QwtSpline 357 QwtSpline 358 QwtSpline QwtSpline 358 buildNaturalSpline 360 buildPeriodicSpline 360 coefficientsA 360 coefficientsB 360 coefficientsC 360 is Valid 359 operator 358 points 359 QwtSpline 358 reset 359 setPoints 359 setSplineType 358 SplineType 358 splineType 359 value 360 QwtSplineCurveFitter 360 QwtSplineCurveFitter 361 QwtSplineCurveFitter QwtSplineCurveFitter 361 fitCurve 362 fitMode 361 QwtSplineCurveFitter 361 setFitMode 361 QwtSymbol 362 QwtSymbol 364 QwtSymbol QwtSymbol 364 brush 366 clone 364 draw 366 operator 364 operator 364 pen 366 QwtSymbol 364 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 438 setBrush 365 setPen 365 setSize 364 setStyle 365 size 366 Style 363 style 366 QwtText 367 QwtText 370 QwtText QwittText 370 backgroundBrush 373 backgroundPen 373 color 372 draw 375 font 371 heightForWidth 374 isEmpty 371 isNull 371 LayoutAttribute 369 operator 370 operator 370 operator 370 PaintAttribute 369 QwtText 370 renderFlags 372 setBackgroundBrush 373 setBackgroundPen 372 setColor 372 setFont 371 setLayoutAttribute 374 setPaintAttribute 373 setRenderFlags 371 setText 370 setTextEngine 376 testLayoutAttribute 374 testPaintAttribute 374 text 3
139. 6 79 3 Constructor amp Destructor Documentation 6 79 3 1 QwtSlider QwtSlider QWidget parent Qt Orientation orientation Qt Horizontal ScalePos scalePos NoScale BGSTYLE bgStyle BgTrough explicit Constructor Parameters parent parent widget orientation Orientation of the slider Can be Qt Horizontal or Qt Vertical Defaults to Qt Horizontal scalePos Position of the scale Defaults to QwtSlider NoScale bgStyle Background style QwtSlider BgTrough draws the slider button in a trough QwtSlider Bg Slot draws a slot underneath the button An or combination of both may also be used The default is QwtSlider BgTrough QwtSlider enforces valid combinations of its orientation and scale position If the combination is invalid the scale position will be set to NoScale Valid combinations are e Qt Horizonal with NoScale TopScale or BottomScale e Qt Vertical with NoScale LeftScale or RightScale 6 79 4 Member Function Documentation 6 79 4 1 void QwtSlider setOrientation Qt Orientation 0 virtual Set the orientation Parameters o Orientation Allowed values are Qt Horizontal and Qt Vertical If the new orientation and the old scale position are an invalid combination the scale position will be set to QwtSlider NoScale See also QwtAbstractS lider orientation Reimplemented from QwtAbstractSlider 6 79 4 2 void QwtSlider setBgStyle BGSTYLE st Set the background style
140. 6 void QwtSpline reset Free allocated memory and set size to 0 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 81 QwtSplineCurveFitter Class Reference 361 6 80 4 7 bool QwtSpline is Valid const True if valid 6 80 4 8 double QwtSpline value double x const Calculate the interpolated function value corresponding to a given argument x 6 80 4 9 const QwtArray lt double gt amp QwtSpline coefficientsA const Returns A coefficients 6 80 4 10 const QwtArray lt double gt amp QwtSpline coefficientsB const Returns B coefficients 6 80 4 11 const QwtArray lt double gt amp QwtSpline coefficientsC const Returns C coefficients 6 80 4 12 bool QwtSpline buildNaturalSpline const QPolygonF amp points protected Determines the coefficients for a natural spline Returns true if successful 6 80 4 13 bool QwtSpline buildPeriodicSpline const QPolygonF amp points protected Determines the coefficients for a periodic spline Returns true if successful 6 81 QwtSplineCurveFitter Class Reference A curve fitter using cubic splines include lt qwt_curve_fitter h gt Inheritance diagram for QwtSplineCurveFitter QwtCurveFitter QuwtSplineCurveFitter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 81 QwtSplineCurveFitter Class Reference 362 Public Types enum FitMode
141. 7 void QwtMagnifier setMouseButton int button int buttonState Qt NoButton Assign the mouse button that is used for zooming in out The default value is Qt RightButton Parameters button Button buttonState Button state See also getMouseButton 6 36 3 8 void QwtMagnifier getMouseButton int amp button int amp buttonState const See also setMouseButton 6 36 3 9 void QwtMagnifier setWheelF actor double factor Change the wheel factor The wheel factor defines the ratio between the current range on the parent widget and the zoomed range for each step of the wheel The default value is 0 9 Parameters factor Wheel factor See also wheelFactor setWheelButtonState set MouseFactor setKeyFactor 6 36 3 10 double QwtMagnifier wheelF actor const Returns Wheel factor See also setWheelFactor 6 36 3 11 void QwtMagnifier setWheelButtonState int buttonState Assign a mandatory button state for zooming in out using the wheel The default button state is Qt No Button Parameters buttonState Button state See also wheelButtonState Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 145 6 36 3 12 int QwtMagnifier wheelButtonState const Returns Wheel button state See also setWheelButtonState 6 36 3 13 void QwtMagnifier setKeyFactor double factor Change the key factor The key factor d
142. 71 textEngine 375 TextFormat 369 textSize 375 usedColor 372 usedFont 371 QwtTextEngine 376 QwtTextEngine 377 QwtTextEngine QwtTextEngine 377 draw 378 heightForWidth 377 mightRender 378 QwtTextEngine 377 textMargins 378 textSize 378 QwtTextLabel 379 QwtTextLabel 380 QwtTextLabel QwtTextLabel 380 clear 381 drawContents 382 drawText 382 heightForWidth 381 indent 381 margin 381 minimumSizeHint 381 paintEvent 382 QwtTextLabel 380 setIndent 381 setMargin 381 setText 380 sizeHint 381 text 381 textRect 382 QwtThermo 382 QwtThermo 385 QwtThermo QwtThermo 385 alarmBrush 387 alarmColor 387 alarmEnabled 388 alarmLevel 387 borderWidth 386 draw 390 drawThermo 390 fillBrush 386 fillColor 386 fontChange 391 layoutThermo 391 max Value 388 minimumSizeHint 389 minValue 389 paintEvent 391 pipeWidth 388 QwtThermo 385 resizeEvent 391 scaleChange 391 scaleDraw 390 391 scalePosition 385 setAlarmBrush 387 setAlarmColor 387 setAlarmEnabled 388 setAlarmLevel 387 setBorderWidth 386 setFillBrush 386 setFillColor 386 setMargin 389 setMax Value 388 setMin Value 388 setOrientation 385 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 439 setPipeWidth 388 setRange 389 setScaleDraw 390 setScalePosition 385 set Value 390 sizeHint 389 value 389 QwtWheel 391 QwtWheel 393 QwtWheel QwtWheel 39
143. 83 setRadius QwtRoundScaleDraw 312 setRange QwtDoubleRange 96 QwtThermo 389 setRawData QwtPlotCurve 214 setReadOnly QwtAbstractSlider 28 setReference QwtScaleEngine 331 setReferenceAxis QwtPlotRescaler 276 setRenderFlags QwtText 371 setRenderHint QwtPlotItem 235 setRescalePolicy QwtPlotRescaler 275 setResizeMode QwtPicker 167 setRose QwtCompass 47 setRubberBand QwtPicker 166 setRubberBandPen QwtPicker 167 setScale QwtAbstractScale 13 14 QwtDial 74 setScaleArc QwtDial 74 setScaleDiv QwtAbstractScaleDraw 18 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 444 QwtPlotScaleItem 281 QwtScaleWidget 344 setScaleDivFromAxis QwtPlotScaleItem 282 setScaleDraw QwtDial 77 QwtKnob 118 QwtPlotScaleItem 283 QwtScale Widget 344 QwtSlider 354 QwtThermo 390 setScaleEngine QwtAbstractScale 15 setScaleInterval QwtScaleMap 335 setScaleMaxMajor QwtAbstractScale 14 setScaleMaxMinor QwtAbstractScale 15 setScaleOptions QwtDial 74 setScalePosition QwtSlider 352 QwtThermo 385 setScaleTicks QwtDial 74 setSelectionFlags QwtPicker 166 QwtPlotZoomer 301 setSize QwtSymbol 364 setSpacing QwtAbstractScaleDraw 20 QwtLegendItem 128 QwtPlotLayout 244 QwtPlotMarker 256 QwtScaleWidget 343 setSplineType QwtSpline 358 setState QwtPickerMachine 181 setStep QwtCounter 60 QwtDoubleRange 97 setStepButton1 QwtCounter 61 setStepBu
144. 9 QwitintervalData QwtIntervalData 113 QwtKnob QwtKnob 116 QwtLegend QwtLegend 121 QwtLegendItem QwtLegendItem 127 QwtLegendItemManager QwtLegendItemManager 132 QwtLinearColorMap QwtLinearColorMap 134 QwtMagnifier QwtMagnifier 141 QwtMathMLTextEngine QwtMathMLtTextEngine 147 QwtPanner QwtPanner 156 QwtPicker QwtPicker 165 QwtPickerMachine QwtPickerMachine 180 QwtPlainTextEngine QwtPlainTextEngine 182 QwtPlot QwtPlot 188 QwtPlotCanvas QwtPlotCanvas 205 QwtPlotCurve QwtPlotCurve 213 QwtPlotDict QwtPlotDict 224 QwtPlotGrid QwtPlotGrid 226 QwtPlotltem QwtPlotItem 233 QwtPlotLayout QwtPlotLayout 243 QwtPlotMagnifier QwtPlotMagnifier 249 QwtPlotMarker QwtPlotMarker 252 QwtPlotPanner QwtPlotPanner 258 QwtPlotPicker QwtPlotPicker 261 QwtPlotPrintFilter QwtPlotPrintFilter 268 QwtPlotRasterItem QwtPlotRasterltem 271 QwtPlotRescaler QwtPlotRescaler 275 QwtPlotScaleItem QwtPlotScalelItem 281 QwtPlotSpectrogram QwtPlotSpectrogram 287 QwtPlotSvgltem QwtPlotSvglItem 294 QwitRasterData QwtRasterData 307 QwtRoundScaleDraw QwtRoundScaleDraw 312 QwtScaleDraw QwtScaleDraw 321 QwtScaleEngine QwtScaleEngine 330 QwtScaleMap QwtScaleMap 334 INDEX 414 QwtScaleTransformation QwtScaleTransformation 338 QwtScaleWidget QwtScaleWidget 340 QwtSpline QwtSpline 358 QwtSplineCurveFitter QwtSplineCurveFitter 361 QwtSymbol QwtSymbol 364 Q
145. 95 QwtDoubleRange QwtDoubleRange 95 exactPrev Value 99 exactValue 99 fitValue 98 incPages 98 incValue 98 is Valid 96 max Value 97 min Value 98 pageSize 98 periodic 97 prev Value 99 QwtDoubleRange 95 rangeChange 99 setPeriodic 97 setRange 96 setStep 97 set Valid 96 set Value 96 step 97 stepChange 99 value 96 valueChange 99 QwtDoubleRect qwt_double_rect h 398 QwtDoubleSize qwt_double_rect h 398 QwtDynGridLayout 100 QwtDynGridLayout 101 QwtDynGridLayout QwtDynGridLayout 101 addItem 102 columnsForWidth 104 count 102 expandingDirections 103 hasHeightForWidth 104 heightForWidth 104 invalidate 101 isEmpty 104 itemAt 102 itemCount 104 layoutGrid 105 layoutltems 103 maxCols 101 maxItemWidth 103 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 428 numCols 102 numRows 101 QwtDynGridLayout 101 setExpandingDirections 103 setGeometry 103 setMaxCols 101 sizeHint 104 stretchGrid 105 takeAt 102 QwtEventPattern 105 QwtEventPattern 109 QwtEventPattern QwtEventPattern 109 initKeyPattern 109 initMousePattern 109 keyMatch 111 112 keyPattern 110 KeyPatternCode 108 mouseMatch 111 mousePattern 110 MousePatternCode 107 QwtEventPattern 109 setKeyPattern 110 setMousePattern 109 110 QwtEventPattern KeyPattern 112 QwtEventPattern MousePattern 112 QwtIntervalData 113 QwtInte
146. AxisScaleEngine 192 setAxisTitle 197 setCanvasBackground 191 setCanvasLineWidth 191 setMargin 189 setTitle 190 sizeHint 199 title 190 titleLabel 190 transform 192 updateAxes 200 updateLayout 200 updateTabOrder 202 QwtPlotCanvas 204 QwtPlotCanvas 205 QwtPlotCanvas QwtPlotCanvas 205 drawCanvas 208 drawContents 207 drawFocusIndicator 208 FocusIndicator 205 focusIndicator 206 hideEvent 207 invalidatePaintCache 207 PaintAttribute 205 paintCache 207 paintEvent 207 plot 206 QwtPlotCanvas 205 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 432 replot 207 setFocusIndicator 206 setPaintAttribute 206 testPaintAttribute 206 QwtPlotCurve 208 QwtPlotCurve 212 213 QwtPlotCurve QwtPlotCurve 213 baseline 218 boundingRect 216 brush 218 closePolyline 223 closestPoint 215 CurveAttribute 212 curveFitter 219 CurveStyle 211 CurveType 211 curveType 213 data 215 216 dataSize 216 draw 219 220 drawCurve 221 drawDots 222 drawLines 221 drawSteps 222 drawSticks 222 drawSymbols 221 fillCurve 223 init 221 maxX Value 217 max Y Value 217 minX Value 216 minY Value 217 PaintAttribute 212 pen 217 QwtPlotCurve 212 213 rtti 213 setBaseline 218 setBrush 218 setCurveAttribute 217 setCurveFitter 219 setCurveType 213 setData 214 215 setPaintAttribute 213 setPen 217 setRawData 214 setStyle 218 setSymbol 2
147. Color amp colorl const QColor amp color2 void addColorStop double value const QColor amp QwtArray lt double gt colorStops const QColor color const QColor color2 const virtual QRgb rgb const QwtDoubleInterval amp double value const virtual unsigned char colorIndex const QwtDoublelInterval amp double value const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 33 QwtLinearColorMap Class Reference 135 6 33 1 Detailed Description QwtLinearColorMap builds a color map from color stops A color stop is a color at a specific position The valid range for the positions is 0 0 1 0 When mapping a value into a color it is translated into this interval If mode FixedColors the color is calculated from the next lower color stop If mode ScaledColors the color is calculated by interpolating the colors of the adjacent stops 6 33 2 Member Enumeration Documentation 6 33 2 1 enum QwtLinearColorMap Mode Mode of color map See also setMode mode 6 33 3 Constructor amp Destructor Documentation 6 33 3 1 QwtLinearColorMap QwtLinearColorMap QwtColorMap Format format QwtColorMap RGB Build a color map with two stops at 0 0 and 1 0 The color at 0 0 is Qt blue at 1 0 it is Qt yellow Parameters format Preferred format of the color map 6 33 3 2 QwtLinearColorMap QwtLinearColorMap const QColor amp colorl const QColor amp color2 QwtColorMap
148. Data const QwtArray lt double gt amp yData Initialize data with x and y arrays explicitly shared Builds an QwtArrayData object internally Parameters xData x data yData y data Note Internally the data is stored in a QwtArrayData object 6 51 4 9 void QwtPlotCurve setData const QPolygonF amp data Initialize data with an array of points explicitly shared Parameters data Data Note Internally the data is stored in a QwtPolygonFData object 6 51 4 10 void QwtPlotCurve setData const QwtData amp data Initialize data with a pointer to QwtData Parameters data Data See also QwtData copy 6 51 4 11 int QwtPlotCurve closestPoint const QPoint amp pos double dist NULL const Find the closest curve point for a specific position Parameters pos Position where to look for the closest curve point dist If dist NULL closestPoint returns the distance between the position and the clostest curve point Returns Index of the closest curve point or 1 if none can be found f e when the curve has no points Note closestPoint implements a dumb algorithm that iterates over all points Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 217 6 51 4 12 QwtData amp QwtPlotCurve data Returns the the curve data 6 51 4 13 const QwtData amp QwtPlotCurve data const Returns the the c
149. Dist drawSteps QwtScaleWidget 342 QwtPlotCurve 222 event drawSticks QwtCounter 62 QwtPlotCurve 222 QwtPlot 200 drawStyle1 Needle eventFilter QwtCompassWindArrow 56 QwtLegend 124 drawStyle2Needle QwtMagnifier 145 QwtCompassWindArrow 56 QwtPanner 158 drawSymbols QwtPicker 169 QwtPlotCurve 221 QwtPlotRescaler 278 drawText exactPrev Value QwtLegendItem 131 QwtDoubleRange 99 QwtPainter 153 exactValue QwtTextLabel 382 QwtDoubleRange 99 drawThermo expandingDirection QwtThermo 390 QwtPlotRescaler 276 drawThinNeedle expandingDirections QwtCompassMagnetNeedle 52 QwtDynGridLayout 103 drawThumb expandInterval QwtSlider 355 QwtPlotRescaler 279 drawTick expandLineBreaks QwtAbstractScaleDraw 22 QwtPlotLayout 248 QwtRoundScaleDraw 313 expandScale QwtScaleDraw 327 QwtPlotRescaler 278 drawTitle extend QwtScaleWidget 345 QwtDoubleInterval 93 drawTracker extent QwtPicker 170 QwtAbstractScaleDraw 21 drawTriangleNeedle QwtRoundScaleDraw 313 QwtCompassMagnetNeedle 52 draw Wheel QwtWheel 396 draw WheelBackground QwtWheel 396 editable QwtCounter 59 enableAxis QwtPlot 193 enableComponent QwtAbstractScaleDraw 19 enableX QwtPlotGrid 227 enableX Min QwtPlotGrid 227 enable Y QwtPlotGrid 227 enable Y Min QwtPlotGrid 228 QwtScaleDraw 322 fillBrush QwtThermo 386 fillColor QwtThermo 386 fillCurve QwtPlotCurve 223 fillRect QwtPainter 153 find QwtLegend 123 fitCurve QwtCurveFitter 66
150. Engine virtual int heightForWidth const QFont amp font int flags const QString amp text int width const 0 virtual QSize textSize const QFont amp font int flags const QString amp text const 0 virtual bool mightRender const QString amp text const 0 virtual void textMargins const QFont amp font const QString amp text int amp left int amp right int amp top int amp bottom const 0 virtual void draw QPainter painter const QRect amp rect int flags const QString amp text const 0 Protected Member Functions e QwtTextEngine 6 84 1 Detailed Description Abstract base class for rendering text strings A text engine is responsible for rendering texts for a specific text format They are used by QwtText to render a text QwtPlainTextEngine and QwtRichTextEngine are part of the Qwt library QwtMathMLtTextEngine can be found in Qwt MathML extension that needs the MathML renderer of the Qt solutions package Unfortunately it is only available with a commercial Qt license See also QwtText setTextEngine 6 84 2 Constructor amp Destructor Documentation 6 84 2 1 QwtTextEngine QwtTextEngine virtual Destructor 6 84 2 2 QwtTextEngine QwtTextEngine protected Constructor 6 84 3 Member Function Documentation 6 84 3 1 virtual int QwtTextEngine heightForWidth const QFont amp font int flags const QString amp text int width const pure virtual Find the height for a given w
151. Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 162 e enum ResizeMode Stretch KeepSize Signals e void selected const QwtPolygon amp pa e void appended const QPoint amp pos e void moved const QPoint amp pos e void changed const QwtPolygon amp pa Public Member Functions e QwtPicker QWidget parent e QwtPicker int selectionFlags RubberBand rubberBand DisplayMode trackerMode QWidget virtual QwtPicker virtual void setSelectionFlags int int selectionFlags const virtual void setRubberBand RubberBand RubberBand rubberBand const virtual void setTrackerMode DisplayMode DisplayMode trackerMode const virtual void setResizeMode ResizeMode ResizeMode resizeMode const virtual void setRubberBandPen const QPen amp QPen rubberBandPen const virtual void setTrackerPen const QPen amp QPen trackerPen const virtual void setTrackerFont const QFont amp QFont trackerFont const bool isEnabled const virtual void setEnabled bool bool isActive const virtual bool eventFilter QObject x QEvent QWidget x parentWidget const QWidget x parentWidget const virtual QRect pickRect const const QwtPolygon amp selection const virtual void drawRubberBand QPainter x const virtual void drawTracker QPainter const virtual QwtText trackerText const QPoint amp pos const e QPoint trackerPosition
152. Get the mouse button 6 40 3 5 void QwtPanner setAbortKey int key int state Qt NoButton Change the abort key The defaults are Qt Key_Escape and Qt NoButton Parameters key Key See Qt Keycode state State 6 40 3 6 void QwtPanner getAbortKey int amp key int amp state const Get the abort key 6 40 3 7 void QwtPanner setCursor const QCursor amp cursor Change the cursor that is active while panning The default is the cursor of the parent widget Parameters cursor New cursor See also setCursor 6 40 3 8 const QCursor QwtPanner cursor const Returns Cursor that is active while panning See also setCursor 6 40 3 9 void QwtPanner setOrientations Qt Orientations o Set the orientations where panning is enabled The default value is in both directions Qt Horizontal Qt Vertical param o Orientation 6 40 3 10 Qt Orientations QwtPanner orientations const Return the orientation where paning is enabled Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 40 QwtPanner Class Reference 159 6 40 3 11 bool QwtPanner isOrientationEnabled Qt Orientation o const Return true if a orientatio is enabled See also orientations setOrientations 6 40 3 12 bool QwtPanner eventFilter QObject o QEvent xe virtual Event filter When isEnabled the mouse events of the observed widget are filtered See also widgetMousePr
153. IncSteps The number of buttons can be changed with QwtCounter setNumButtons Holding the space bar down with focus on a button is the fastest method to step through the counter values When the counter underflows overflows the focus is set to the smallest up down button and counting is disabled Counting is re enabled on a button release event mouse or space bar Example include include qwt_counter h gt QwtCounter xcnt cnt new QwtCounter parent name ent gt setRange 0 0 100 0 1 0 From 0 0 to 100 step 1 0 cnt gt setNumButtons 2 Two buttons each side cnt gt setIncSteps QwtCounter Buttonl 1 Button 1 increments 1 step ent gt setIncSteps QwtCounter Button2 20 Button 2 increments 20 steps connect cnt SIGNAL valueChanged double my_class SLOT newValue double 6 14 2 Member Enumeration Documentation 6 14 2 1 enum QwtCounter Button Button index 6 14 3 Constructor amp Destructor Documentation 6 14 3 1 QwtCounter QwtCounter QWidget parent NULL explicit The default number of buttons is set to 2 The default increments are e Button 1 1 step e Button 2 10 steps e Button 3 100 steps Parameters parent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 60 6 14 3 2 QwtCounter QwtCounter virtual Destructor 6 14 4 Member Function Documentation 6 14 4 1 bool QwtCounter
154. Inheritance diagram for QwtKnob QuwtDoubleRange QwtAbstractSlider l QwtAbstractScale QwtKnob Public Types e enum Symbol Line Dot Public Member Functions e QwtKnob QWidget parent NULL virtual QwtKnob void setKnob Width int w int knobWidth const void setTotalAngle double angle double totalAngle const void setBorderWidth int bw int borderWidth const void setSymbol Symbol Symbol symbol const virtual QSize sizeHint const virtual QSize minimumSizeHint const void setScaleDraw QwtRoundScaleDraw const QwtRoundScaleDraw scaleDraw const e QwtRoundScaleDraw scaleDraw Protected Member Functions virtual void paintEvent QPaintEvent e virtual void resizeEvent QResizeEvent xe void draw QPainter p const QRect amp ur void drawKnob QPainter p const QRect amp r void drawMarker QPainter p double arc const QColor amp c Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 29 QwtKnob Class Reference 117 6 29 1 Detailed Description The Knob Widget The QwtKnob widget imitates look and behaviour of a volume knob on a radio It contains a scale around the knob which is set up automatically or can be configured manually see QwtAbstractScale Automatic scrolling is enabled when the user presses a mouse button on the scale For a description of signals slots and other members see QwtAbstrac
155. Inverted interval See also normalized 6 22 4 4 QwtDoubleInterval QwtDoubleInterval limited double lowerBound double upperBound const Limit the interval keeping the border modes Parameters lowerBound Lower limit upperBound Upper limit Returns Limited interval 6 22 4 5 int QwtDoubleInterval operator const QwtDoubleInterval amp const inline Compare two intervals 6 22 4 6 int QwtDoubleInterval operator const QwtDoubleInterval amp const inline Compare two intervals 6 22 4 7 void QwtDoubleInterval setBorderFlags int borderFlags inline Change the border flags Parameters borderFlags Or d BorderMode flags See also borderFlags 6 22 4 8 int QwtDoubleInterval borderFlags const inline Returns Border flags See also setBorderFlags Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 93 6 22 4 9 double QwtDoublelInterval minValue const inline Returns Lower limit of the interval 6 22 4 10 double QwtDoubleInterval maxValue const inline Returns Upper limit of the interval 6 22 4 11 double QwtDoubleInterval width const inline Return the width of an interval The width of invalid intervals is 0 0 otherwise the result is max Value min Value See also isValid 6 22 4 12 void QwtDoubleInterval setMinValue double minValue inline Assign the lower
156. KeyPattern int k 0 int st Qt NoButton Public Attributes e int key e int state 6 26 1 Detailed Description A pattern for key events 6 27 QwtEventPattern MousePattern Class Reference A pattern for mouse events include lt qwt_event_pattern h gt Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 28 QwtIntervalData Class Reference 114 Public Member Functions e MousePattern int btn Qt NoButton int st Qt NoButton Public Attributes e int button e int state 6 27 1 Detailed Description A pattern for mouse events 6 28 QwtIntervalData Class Reference Series of samples of a value and an interval include lt qwt_interval_data h gt Public Member Functions e QwtintervalData e QwtintervalData const QwtArray lt QwtDoubleInterval gt amp const QwtArray lt double gt amp QwitintervalData void setData const QwtArray lt QwtDoublelnterval gt amp const QwtArray lt double gt amp size_t size const const QwtDoubleInterval amp interval size_t i const double value size_t i const e QwtDoubleRect boundingRect const 6 28 1 Detailed Description Series of samples of a value and an interval QwtIntervalData is a series of samples of a value and an interval Fe error bars are built from samples x yl y2 while a histogram might consist of x1 x2 y samples 6 28 2 Constructor amp Destructor Documentation 6 28 2 1 QwtIntervalDat
157. KeyUp KeyDown KeyRedo KeyUndo KeyHome KeyPatternCount Public Member Functions QwtEventPattern virtual QwtEventPattern void initMousePattern int numButtons void initKeyPattern void setMousePattern uint pattern int button int state Qt NoButton void setKeyPattern uint pattern int key int state Qt NoButton void setMousePattern const QwtArray lt MousePattern gt amp void setKeyPattern const QwtArray lt KeyPattern gt amp const QwtArray lt MousePattern gt amp mousePattern const const QwtArray lt KeyPattern gt amp keyPattern const QwtArray lt MousePattern gt amp mousePattern QwtArray lt KeyPattern gt amp keyPattern bool mouseMatch uint pattern const QMouseEvent const bool keyMatch uint pattern const QKeyEvent const Protected Member Functions virtual bool mouseMatch const MousePattern amp const QMouseEvent const virtual bool keyMatch const KeyPattern amp const QKeyEvent const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 108 Classes e class KeyPattern A pattern for key events e class MousePattern A pattern for mouse events 6 25 1 Detailed Description A collection of event patterns QwtEventPattern introduces an level of indirection for mouse and keyboard inputs Those are represented by symbolic names so the application code can be configured by
158. Min bool tf bool yMinEnabled const void setXDiv const QwtScaleDiv amp sx const QwtScaleDiv amp xScaleDiv const void setY Div const QwtScaleDiv amp sy const QwtScaleDiv amp yScaleDiv const void setPen const QPen amp p void setMajPen const QPen amp p const QPen amp majPen const void setMinPen const QPen amp p const QPen amp minPen const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp rect const virtual void updateScaleDiv const QwtScaleDiv amp xMap const QwtScaleDiv amp yMap 6 53 1 Detailed Description A class which draws a coordinate grid The QwtPlotGrid class can be used to draw a coordinate grid A coordinate grid consists of major and minor vertical and horizontal gridlines The locations of the gridlines are determined by the X and Y scale divisions which can be assigned with setXDiv and setYDiv The draw member draws the grid within a bounding rectangle 6 53 2 Constructor amp Destructor Documentation 6 53 2 1 QwtPlotGrid QwtPlotGrid explicit Enables major grid disables minor grid 6 53 2 2 QwtPlotGrid QwtPlotGrid virtual Destructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 228 6 53 3 Member Function Documentation 6 53 3 1 int QwtPlotGrid rtti const virtual Returns QwtPlotItem Rtti_PlotGrid Reimplemented
159. Needle QwtDial needle const Returns needle See also setNeedle 6 18 4 23 QwtDialNeedle QwtDial needle Returns needle See also setNeedle 6 18 4 24 QRect QwtDial boundingRect const Returns bounding rect of the dial including the frame See also setLineWidthQ scaleContentsRect contentsRect Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 78 6 18 4 25 QRect QwtDial contentsRect const Returns bounding rect of the circle inside the frame See also setLine WidthQ scaleContentsRect boundingRect 6 18 4 26 QRect QwtDial scaleContentsRect const virtual Returns rect inside the scale See also setLine Width boundingRect contentsRect 6 18 4 27 QSize QwtDial sizeHint const virtual Returns Size hint 6 18 4 28 QSize QwtDial minimumSizeHint const virtual Return a minimum size hint Warning The return value of QwtDial minimumSizeHint depends on the font and the scale 6 18 4 29 void QwtDial setScaleDraw QwtDialScaleDraw x scaleDraw virtual Set an individual scale draw Parameters scaleDraw Scale draw Warning The previous scale draw is deleted 6 18 4 30 QwtDialScaleDraw QwtDial scaleDraw Return the scale draw 6 18 4 31 const QwtDialScaleDraw QwtDial scaleDraw const Return the scale draw Generated on Sun Mar 22 16 4
160. Painter 152 mightRender QwtMathMLTextEngine 148 QwtPlainTextEngine 183 QwtRichTextEngine 310 QwtTextEngine 378 minimumExtent QwtAbstractScaleDraw 21 minimumSizeHint QwtArrowButton 41 QwtDial 77 QwtKnob 117 QwtPlot 199 QwtPlotLayout 246 QwtScaleWidget 345 QwtSlider 354 QwtTextLabel 381 QwtThermo 389 QwtWheel 395 minLabelDist QwtScaleDraw 322 minLength QwtScaleDraw 322 minPen QwtPlotGrid 230 minScaleArc QwtDial 75 minVal QwtCounter 61 min Value QwtDoubleInterval 91 QwtDoubleRange 98 QwtThermo 389 minX Value QwtPlotCurve 216 minY Value QwtPlotCurve 217 minZoomSize QwtPlotZoomer 302 Mode QwtDial 71 QwtLinearColorMap 134 mode QwtDial 73 QwtLinearColorMap 135 mouseFactor QwtMagnifier 142 mouseMatch QwtEventPattern 111 mouseMoveEvent QwtAbstractSlider 29 mousePattern QwtEventPattern 110 MousePatternCode QwtEventPattern 107 mousePressEvent QwtAbstractSlider 29 QwtLegendItem 131 mouseReleaseEvent QwtAbstractSlider 29 QwtLegendItem 131 move QwtPicker 173 QwtPlotPicker 265 QwtPlotZoomer 301 QwtScaleDraw 323 moveBy QwtPlotZoomer 301 moveCanvas QwtPlotPanner 259 moveCenter QwtRoundScaleDraw 312 moved QwtPanner 158 QwtPicker 171 QwtPlotPicker 263 needle QwtDial 76 normalized QwtDoubleInterval 90 num QwtArrowButton 40 numButtons QwtCounter 59 numCols QwtDynGridLayout 102 numRows QwtDynGridLayout 101 numThornLevels QwtSimpleCompassRose 348 num
161. Panner 156 QwtPicker 169 QwtPlotRescaler 275 setExpandingDirection QwtPlotRescaler 276 setExpandingDirections QwtDynGridLayout 103 setFillBrush QwtThermo 386 setFillColor QwtThermo 386 setFitMode QwtSplineCurveFitter 361 setFocusIndicator QwtPlotCanvas 206 setFont QwtPlotScaleItem 282 QwtText 371 setFrameShadow QwtDial 72 setGeometry QwtDynGridLayout 103 setHand QwtAnalogClock 35 setIdentifierMode QwtLegendItem 128 setIdentifierWidth QwtLegendItem 128 setIncSteps QwtCounter 59 setIndent QwtTextLabel 381 setInternalBorder QwtWheel 395 setInterval QwtDoubleInterval 90 QwtScaleDiv 318 setItemAttribute QwtPlotItem 235 setItemMode QwtLegend 122 QwtLegendItem 127 setKeyFactor QwtMagnifier 144 setKeyPattern QwtEventPattern 110 setKnob Width QwtKnob 116 setLabel QwtPlotMarker 254 setLabelAlignment QwtPlotMarker 255 QwtScaleDraw 324 QwtScaleWidget 344 setLabelMap QwtCompass 48 setLabelOrientation QwtPlotMarker 255 setLabelRotation QwtScaleDraw 325 QwtScaleWidget 345 setLayoutAttribute QwtText 374 setLegendPosition QwtPlotLayout 245 setLegendRatio QwtPlotLayout 246 setLength QwtScaleDraw 323 setLinePen QwtPlotMarker 254 setLineStyle QwtPlotMarker 253 setLine Width QwtDial 72 setMajPen QwtPlotGrid 229 setMargin QwtPlot 189 QwtPlotLayout 243 QwtScaleWidget 342 QwtTextLabel 381 QwtThermo 389 setMargins QwtScaleEngine 331 QwtSlider 354
162. Parameters i Index Returns x X value of data point i Implemented in QwtPolygonFData QwtArrayData and QwtCPointerData Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 69 6 17 3 4 virtual double QwtData y size_ti const pure virtual Return the y value of data point i Parameters i Index Returns y Y value of data point i Implemented in QwtPolygonFData QwtArrayData and QwtCPointerData 6 17 3 5 QwtDoubleRect QwtData boundingRect const virtual Returns the bounding rectangle of the data If there is no bounding rect like for empty data the rectangle is invalid QwtDoubleRect isValid false Warning This is an slow implementation iterating over all points It is intended to be overloaded by derived classes In case of auto scaling boundingRect is called for every replot so it might be worth to implement a cache or use x 0 x size 1 for ordered data Reimplemented in QwtArrayData and QwtCPointerData 6 17 3 6 QwtData amp QwtData operator const QwtData amp protected Assignment operator virtualized 6 18 QwtDial Class Reference QwtDial class provides a rounded range control include lt qwt_dial h gt Inheritance diagram for QwtDial QuwtDoubleRange QwtAbstractSlider QwtDial QwtAnalogClock QwtCompass Public Types e enum Shadow Plain QFrame Plain
163. Pen const QPen amp pen Assign a pen for the minor gridlines The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen Pen See also minPen setMajPen setPen QwtPainter scaledPen 6 53 3 18 const QPen amp QwtPlotGrid minPen const Returns the pen for the minor gridlines See also setMinPen setMajPen setPen 6 53 3 19 void QwtPlotGrid draw QPainter painter const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp canvasRect const virtual Draw the grid The grid is drawn into the bounding rectangle such that gridlines begin and end at the rectangle s borders The X and Y maps are used to map the scale divisions into the drawing region screen Parameters painter Painter xMap X axis map yMap Y axis canvasRect Contents rect of the plot canvas Implements QwtPlotItem 6 53 3 20 void QwtPlotGrid updateScaleDiv const QwtScaleDiv amp xScaleDiv const QwtScaleDiv amp yScaleDiv virtual Update the grid to changes of the axes scale division Parameters xScaleDiv Scale division of the x axis yScaleDiv Scale division of the y axis See also QwtPlot updateAxes Reimplemented from QwtPlotItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 232 6 54 QwtPlotItem Class Reference Base class for items on the plot canvas
164. Picker 171 trackerRect QwtPicker 171 trackerText QwtPicker 170 QwtPlotPicker 264 265 trackerWidget QwtPicker 176 transform QwtPlot 192 QwtPlotItem 240 QwtPlotPicker 264 QwtScaleMap 335 transformation QwtLinearScaleEngine 138 QwtLog10ScaleEngine 140 QwtScaleEngine 332 QwtScaleMap 335 transition QwtPicker 172 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 447 QwtPickerClickPointMachine 177 QwtPickerClickRectMachine 178 QwtPickerDragPointMachine 178 QwtPickerDragRectMachine 179 QwtPickerMachine 180 QwtPickerPolygonMachine 181 translate QwtMetricsMap 150 type QwtScaleTransformation 338 unite QwtDoubleInterval 93 updateAxes QwtPlot 200 updateDisplay QwtPicker 176 updateLayout QwtPlot 200 updateLegend QwtLegendItemManager 132 QwtPlotCurve 220 QwtPlotItem 238 updateMask QwtDial 78 updateScale QwtDial 80 updateScaleDiv QwtPlotGrid 230 QwtPlotItem 239 QwtPlotScaleItem 285 updateScales QwtPlotRescaler 279 updateTabOrder QwtPlot 202 upperBound QwtScaleDiv 319 upperMargin QwtScaleEngine 332 usedColor QwtText 372 usedFont QwtText 371 value QwtCounter 62 QwtDoubleRange 96 QwtIntervalData 114 QwtPlotMarker 253 QwtRasterData 308 QwtSpline 360 QwtThermo 389 valueChange QwtAbstractSlider 29 QwtDial 81 QwtDoubleRange 99 QwtSlider 356 QwtWheel 396 valueChanged QwtAbstractSlider 28
165. PlotItem 238 QwtPlotPicker 262 yData QwtArrayData 39 QwtCPointerData 65 yEnabled QwtPlotGrid 227 yMinEnabled QwtPlotGrid 228 yScaleDiv QwtPlotGrid 229 yValue QwtPlotMarker 253 QwtPlotItem 236 zoom QwtPlotZoomer 301 302 zoomBase QwtPlotZoomer 299 zoomed QwtPlotZoomer 302 zoomRect QwtPlotZoomer 299 zoomRectIndex QwtPlotZoomer 300 zoomStack QwtPlotZoomer 300 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen
166. PlotSpectrogram draw QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp canvasRect const virtual Draw the spectrogram Parameters painter Painter xMap Maps x values into pixel coordinates yMap Maps y values into pixel coordinates canvasRect Contents rect of the canvas in painter coordinates See also setDisplayMode renderlmage QwtPlotRasterItem draw drawContourLines Reimplemented from QwtPlotRasterItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 293 6 64 4 18 QImage QwtPlotSpectrogram renderImage const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QwtDoubleRect amp area const protected virtual Render an image from the data and color map The area is translated into a rect of the paint device For each pixel of this rect the intensity is mapped into a color Parameters xMap X Scale Map yMap Y Scale Map area Area that should be rendered in scale coordinates Returns A QImage Format_Indexed8 or QImage Format_ARGB32 depending on the color map See also QwtRasterData intensityQ QwtColorMap rgb QwtColorMap colorIndex Implements QwtPlotRasterItem 6 64 4 19 QSize QwtPlotSpectrogram contourRasterSize const QwtDoubleRect amp area const QRect amp rect const protected virtual Return the raster to be used by the CONREC contour alg
167. PointerData 64 QwtData 67 QwtLinearColorMap 134 QwtPolygonFData 304 QwtRasterData 307 QwtScaleTransformation 338 data QwtPlotCurve 215 216 QwtPlotSpectrogram 288 QwtPolygonFData 305 dataSize QwtPlotCurve 216 defaultContourPen QwtPlotSpectrogram 289 detach QwtPlotItem 234 detachItems QwtPlotDict 225 deviceClipping QwtPainter 152 deviceClipRect QwtPainter 153 dimForLength QwtScaleWidget 345 Direction QwtDial 71 direction QwtDial 76 discardRaster QwtRasterData 308 DisplayMode QwtPicker 164 QwtPlotSpectrogram 286 displayPolicy QwtLegend 122 divideEps QwtScaleArithmetic 315 divideInterval QwtScaleEngine 333 divideScale QwtLinearScaleEngine 137 QwtLog10ScaleEngine 139 QwtScaleEngine 332 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 417 draw drawFocusIndicator QwtAbstractScaleDraw 20 QwtDial 79 QwtCompassMagnetNeedle 52 QwtPlotCanvas 208 QwtCompassRose 54 drawFrame QwtCompass WindArrow 56 QwtDial 79 QwtDialNeedle 82 drawHand QwtDialSimpleNeedle 86 QwtAnalogClock 37 QwtKnob 118 drawlIdentifier QwtMathMLTextEngine 148 QwtLegendItem 129 QwtPlainTextEngine 183 drawltem QwtPlotCurve 219 220 QwtLegendItem 130 QwtPlotGrid 230 drawItems QwtPlotItem 238 QwtPlot 202 QwtPlotMarker 256 drawKnob QwtPlotRasterltem 272 QwtDialNeedle 83 QwtPlotScalelItem 284 QwtKnob 119 QwtPlotSpectrogram 291 drawLabel QwtPlotSvglte
168. QAbstractItemModel There are several convenience classes derived from QwtData that also store the points inside like QStandardItemModel QwtPlot Curve also offers a couple of variations of setData that build QwtData objects from arrays internally c Attach the curve to a plot See QwtPlotItem attach Example see examples bode See also QwtPlot QwtData QwtSymbol QwtScaleMap 6 51 2 Member Enumeration Documentation 6 51 2 1 enum QwtPlotCurve CurveType Curve type e Yfx Draws y as a function of x the default The baseline is interpreted as a horizontal line with y baseline e Xfy Draws x as a function of y The baseline is interpreted as a vertical line with x baseline The baseline is used for aligning the sticks or filling the curve with a brush See also setCurveType curveType baseline brush 6 51 2 2 enum QwtPlotCurve CurveStyle Curve styles NoCurve Don t draw a curve Note This doesn t affect the symbols Lines Connect the points with straight lines The lines might be interpolated depending on the Fitted attribute Curve fitting can be configured using setCurveFitter Sticks Draw vertical Yfx or horizontal Xfy sticks from a baseline which is defined by setBaseline Steps Connect the points with a step function The step function is drawn from the left to the right or vice versa depending on the Inverted attribute Generated on
169. Qt white const QColor amp dark Qt red Constructor 6 11 4 Member Function Documentation 6 11 4 1 void QwtCompassMagnetNeedle draw QPainter painter const QPoint amp center int length double direction QPalette ColorGroup colorGroup QPalette Active const virtual Draw the needle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 11 QwtCompassMagnetNeedle Class Reference 53 Parameters painter Painter center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise colorGroup Color group used for painting Implements QwtDialNeedle 6 11 4 2 void QwtCompassMagnetNeedle drawTriangleNeedle QPainter x painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length double direction static Draw a compass needle Parameters painter Painter palette Palette colorGroup Color group center Center where the needle starts length Length of the needle direction Direction 6 11 4 3 void QwtCompassMagnetNeedle drawThinNeedle QPainter painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length double direction static Draw a compass needle Parameters painter Painter palette Palette colorGroup Color group center Center where the needle starts length Length of the needle direc
170. Qwt User s Guide Reference Manual 5 2 0 Generated by Doxygen 1 5 0 Sun Mar 22 16 44 05 2009 CONTENTS 1 Contents 1 Qwt Qt Widgets for Technical Applications 1 2 Qwt User s Guide Hierarchical Index 3 3 Qwt User s Guide Class Index 6 4 Qwt User s Guide File Index 9 5 Qwt User s Guide Page Index 12 6 Qwt User s Guide Class Documentation 12 7 Qwt User s Guide File Documentation 398 8 Qwt User s Guide Page Documentation 400 1 Qwt Qt Widgets for Technical Applications The Qwt library contains GUI Components and utility classes which are primarily useful for programs with a technical background Beside a 2D plot widget it provides scales sliders dials compasses thermometers wheels and knobs to control or display values arrays or ranges of type double 1 1 License Qwt is distributed under the terms of the Qwt License Version 1 0 1 2 Platforms Qwt 5 x might be usable in all environments where you find Ot It is compatible with Qt 3 3 x and Qt 4 x but the documentation is generated for Qt 4 x 1 3 Screenshots e Curve Plots e Scatter Plot e Spectrogram Contour Plot e Histogram e Dials Compasses Knobs Wheels Sliders Thermos Screenshots are only available in the HTML docs Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 1 4 Downloads 2 1 4 Downloads Stable releases prereleases and snapshots are available at the Qwt project page For getting a s
171. QwtAbstractSlider QwtDoubleRange QwtAbstractSlider QwiDial ao QwtSlider QwiWheel QwtAnalogClock QwiCompass Public Types e enum ScrollMode ScrNone ScrMouse ScrTimer ScrDirect ScrPage Public Slots e virtual void setValue double val e virtual void fitValue double val e virtual void inc Value int steps e virtual void setReadOnly bool Signals e void valueChanged double value e void sliderPressed e void sliderReleased e void sliderMoved double value Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 25 Public Member Functions e QwtAbstractSlider Qt Orientation QWidget parent NULL virtual QwtAbstractSlider void setUpdateTime int t void stopMoving void setTracking bool enable virtual void setMass double val virtual double mass const virtual void setOrientation Qt Orientation o Qt Orientation orientation const bool isReadOnly const bool is Valid const void set Valid bool valid Protected Member Functions virtual void setPosition const QPoint amp virtual void valueChange virtual void timerEvent QTimerEvent xe virtual void mousePressEvent QMouseEvent e virtual void mouseReleaseEvent QMouseEvent xe virtual void mouseMoveEvent QMouseEvent e virtual void keyPressEvent QKeyEvent e virtual void whee
172. QwtCounter 62 verticalScrollBar QwtLegend 124 viewAngle QwtWheel 393 viewBox QwtPlotSvglItem 296 wheelButtonState QwtMagnifier 143 wheelEvent QwtAbstractSlider 30 QwtCounter 62 wheelFactor QwtMagnifier 143 widgetKeyPressEvent QwtMagnifier 146 QwtPanner 159 QwtPicker 174 QwtPlotZoomer 303 widgetKeyReleaseEvent QwtMagnifier 146 QwtPanner 159 QwtPicker 175 widgetLeaveEvent QwtPicker 175 widgetMouseDoubleClickEvent QwtPicker 174 widgetMouseMoveEvent QwtMagnifier 146 QwtPanner 159 QwtPicker 174 widgetMousePressEvent QwtMagnifier 145 QwtPanner 158 QwtPicker 173 widgetMouseReleaseEvent QwtMagnifier 145 QwtPanner 158 QwtPicker 174 QwtPlotZoomer 302 widgetWheelEvent QwtMagnifier 146 QwtPicker 174 width QwtDialSimpleNeedle 88 QwtDoubleInterval 92 QwtSimpleCompassRose 348 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 448 wrapping QwtDial 73 QwtArrayData 38 QwtCPointerData 64 QwtData 67 QwtPlotCurve 216 QwtPolygonFData 305 XAX S QwtPlotItem 237 QwtPlotPicker 262 xData QwtArrayData 39 QwtCPointerData 65 xEnabled QwtPlotGrid 227 xForm QwtScaleTransformation 338 xMinEnabled QwtPlotGrid 228 xScaleDiv QwtPlotGrid 228 xTransform QwtScaleMap 336 xValue QwtPlotMarker 253 xyPosition QwtSlider 356 QwtArrayData 39 QwtCPointerData 65 QwtData 68 QwtPlotCurve 216 QwtPolygonFData 305 yAxis Qwt
173. QwtPlotLayout 247 QwtPlotPicker 263 ScrollMode QwtAbstractSlider 25 sDist QwtScaleMap 337 selected QwtPicker 171 QwtPlotPicker 262 263 selection QwtPicker 170 selectionFlags QwtPicker 166 SelectionMode QwtPicker 164 SelectionType QwtPicker 163 setAbortKey QwtPanner 157 setAbstractScaleDraw QwtAbstractScale 16 setAlarmBrush QwtThermo 387 setAlarmColor QwtThermo 387 setAlarmEnabled QwtThermo 388 setAlarmLevel QwtThermo 387 setAlignCanvasToScales QwtPlotLayout 244 setAlignment QwtPlotScaleItem 284 QwtScaleDraw 324 QwtScaleWidget 346 setAlpha Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 441 QwtPlotRasterltem 271 setAngleRange QwtRoundScaleDraw 313 setAspectRatio QwtPlotRescaler 277 setAttribute QwtScaleEngine 330 setAttributes QwtScaleEngine 330 setAutoDelete QwtPlotDict 225 setAutoReplot QwtPlot 188 setAutoScale QwtAbstractScale 14 setAxis QwtPlotItem 237 QwtPlotPicker 262 QwtPlotZoomer 300 setAxisAutoScale QwtPlot 192 setAxisEnabled QwtPlotMagnifier 250 QwtPlotPanner 259 setAxisFont QwtPlot 193 setAxisLabelAlignment QwtPlot 197 setAxisLabelRotation QwtPlot 197 setAxisMaxMajor QwtPlot 198 setAxisMax Minor QwtPlot 198 setAxisScale QwtPlot 194 setAxisScaleDiv QwtPlot 194 setAxisScaleDraw QwtPlot 194 setAxisScaleEngine QwtPlot 192 setAxisTitle QwtPlot 197 setBackgroundBrush
174. QwtThermo setFillBrush const QBrush amp brush Change the brush of the liquid Parameters brush New brush The default brush is solid black See also fillBrushQ 6 86 3 7 const QBrush amp QwtThermo fillBrush const Return the liquid brush See also setFillBrush 6 86 3 8 void QwtThermo setFillColor const QColor amp c Change the color of the liquid Parameters c New color The default color is black See also fillColorQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 388 6 86 3 9 const QColor amp QwtThermo fillColor const Return the liquid color See also setFillColor 6 86 3 10 void QwtThermo setAlarmBrush const QBrush amp brush Specify the liquid brush above the alarm threshold Parameters brush New brush The default is solid white See also alarmBrush 6 86 3 11 const QBrush amp QwtThermo alarmBrush const Return the liquid brush above the alarm threshold See also setAlarmBrush 6 86 3 12 void QwtThermo setAlarmColor const QColor amp c Specify the liquid color above the alarm threshold Parameters c New color The default is white 6 86 3 13 const QColor amp QwtThermo alarmColor const Return the liquid color above the alarm threshold 6 86 3 14 void QwtThermo setAlarmLevel double level Specify the alarm threshold Parameters level Alarm threshold See a
175. QwtThermo or the next call of setScaleDraw 6 86 3 30 const QwtScaleDraw QwtThermo scaleDraw const Returns the scale draw of the thermo See also setScaleDraw 6 86 3 31 void QwtThermo setValue double value slot Set the current value Parameters value New Value See also value 6 86 3 32 void QwtThermo draw QPainter painter const QRect amp rect protected Draw the whole QwtThermo Parameters painter Painter rect Update rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 QwtWheel Class Reference 392 6 86 3 33 void QwtThermo drawThermo QPainter x painter protected Redraw the liquid in thermometer pipe Parameters painter Painter 6 86 3 34 void QwtThermo layoutThermo bool update_geometry true protected Recalculate the QwtThermo geometry and layout based on the QwtThermo rect and the fonts Parameters update_geometry notify the layout system and call update to redraw the scale 6 86 3 35 void QwtThermo scaleChange protected virtual Notify a scale change Reimplemented from QwtAbstractScale 6 86 3 36 void QwtThermo fontChange const QFont amp oldFont protected virtual Notify a font change 6 86 3 37 void QwtThermo paintEvent QPaintEvent x event protected virtual Qt paint event event Paint event 6 86 3 38 void QwtThermo resizeEvent QResizeEvent xe protected virtual Qt
176. ReleaseEvent widgetMouseMoveEvent widgetWheel Event widgetKeyPressEvent widgetKeyReleaseEvent 6 36 3 20 virtual void QwtMagnifier rescale double factor protected pure virtual Rescale the parent widget Parameters factor Scale factor Implemented in QwtPlotMagnifier 6 36 3 21 void QwtMagnifier widgetMousePressEvent QMouseEvent me protected virtual Handle a mouse press event for the observed widget Parameters me Mouse event See also eventFilter widgetMouseReleaseEvent widgetMouseMoveEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 147 6 36 3 22 void QwtMagnifier widgetMouseReleaseEvent QMouseEvent protected virtual Handle a mouse release event for the observed widget See also eventFilter widgetMousePressEvent widgetMouseMoveEvent 6 36 3 23 void QwtMagnifier widgetMouseMoveEvent QMouseEvent me protected virtual Handle a mouse move event for the observed widget Parameters me Mouse event See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent 6 36 3 24 void QwtMagnifier widgetWheelEvent QWheelEvent we protected virtual Handle a wheel event for the observed widget Parameters we Wheel event See also eventFilter 6 36 3 25 void QwtMagnifier widgetKeyPressEvent QKeyEvent ke protected virtual Handle a key pres
177. ReleaseEvent QMouseEvent x protected virtual Handle mouse release events 6 31 4 28 void QwtLegendItem keyPressEvent QKeyEvent protected virtual Handle key press events 6 31 4 29 void QwtLegendItem keyReleaseEvent QKeyEvent protected virtual Handle key release events 6 31 4 30 void QwtLegendItem drawText QPainter const QRect amp protected virtual Redraw the text Reimplemented from QwtTextLabel 6 32 QwtLegendItemManager Class Reference Abstract API to bind plot items to the legend include lt qwt_legend_itemmanager h gt Inheritance diagram for QwtLegendItemManager Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 32 QwtLegendItemManager Class Reference 133 QwitLegenditemManager QwtPlotltem QwtPlotCurve QwiPlotGrid QwiPlotMarker QwiPlotRasterltem QwiPlotScaleltem QwiPlotSvgitem QwtPlotSpectrogram Public Member Functions e QwtLegendItemManager e virtual QwtLegendItemManager e virtual void updateLegend QwtLegend legend const 0 e virtual QWidget legendItem const 0 6 32 1 Detailed Description Abstract API to bind plot items to the legend 6 32 2 Constructor amp Destructor Documentation 6 32 2 1 QwtLegendItemManager QwtLegendItemManager inline Constructor 6 32 2 2 virtual QwtLegendItemManager QwtLegendItemManager inline virtual Dest
178. ScaleDraw orientation const Return the orientation TopScale BottomScale are horizontal Qt Horizontal scales LeftScale RightScale are vertical Qt Vertical scales See also alignment 6 73 4 12 QPoint QwtScaleDraw pos const Returns Origin of the scale See also move length 6 73 4 13 int QwtScaleDraw length const Returns the length of the backbone See also setLengthQ pos Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 326 6 73 4 14 void QwtScaleDraw setLabelAlignment Qt Alignment alignment Change the label flags Labels are aligned to the point ticklength spacing away from the backbone The alignment is relative to the orientation of the label text In case of an flags of 0 the label will be aligned depending on the orientation of the scale QwtScaleDraw TopScale Qt AlignHCenter Qt AlignTop QwtScaleDraw BottomScale Qt AlignHCenter Qt AlignBottom QwtScaleDraw LeftScale Qt AlignLeft Qt AlignVCenter QwtScaleDraw RightScale Qt AlignRight Qt AlignVCenter Changing the alignment is often necessary for rotated labels Parameters alignment Or d Qt AlignmentFlags lt see qnamespace h gt See also setLabelRotation labelRotation labelAlignment Warning The various alignments might be confusing The alignment of the label is not the alignment of the scale and is not th
179. Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 213 Dots Draw dots at the locations of the data points Note This is different from a dotted line see setPen and faster as a curve in NoStyle style and a symbol painting a point e UserCurve Styles gt UserCurve are reserved for derived classes of QwtPlotCurve that overload drawCurve with additional application specific curve types See also setStyle styleQ 6 51 2 3 enum QwtPlotCurve CurveAttribute Attribute for drawing the curve e Fitted in combination with the Lines QwtPlotCurve CurveStyle only A QwtCurveFitter tries to interpolate smooth the curve before it is painted Note that curve fitting requires temorary memory for calculating coefficients and additional points If painting in Fitted mode is slow it might be better to fit the points before they are passed to QwtPlotCurve e Inverted For Steps only Draws a step function from the right to the left See also setCurveAttribute testCurveAttribute curveFitter 6 51 2 4 enum QwtPlotCurve PaintA ttribute Attributes to modify the drawing algorithm e PaintFiltered Tries to reduce the data that has to be painted by sorting out duplicates or paintings outside the visible area Might have a notable impact on curves with many close points Only a couple of very basic filtering algos are implemented e ClipPolygons Clip polygons before p
180. TATIC_CONST double LogMax 6 75 1 Detailed Description A scale map QwtScaleMap offers transformations from a scale into a paint interval and vice versa 6 75 2 Constructor amp Destructor Documentation 6 75 2 1 QwtScaleMap QwtScaleMap Constructor The scale and paint device intervals are both set to 0 1 6 75 2 2 QwtScaleMap QwtScaleMap const QwtScaleMap amp Copy constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 75 QwtScaleMap Class Reference 336 6 75 2 3 QwtScaleMap QwtScaleMap Destructor 6 75 3 Member Function Documentation 6 75 3 1 QwtScaleMap amp QwtScaleMap operator const QwtScaleMap amp Assignment operator 6 75 3 2 void QwtScaleMap setTransformation QwtScaleTransformation x transformation Initialize the map with a transformation 6 75 3 3 const QwtScaleTransformation x QwtScaleMap transformation const Get the transformation 6 75 3 4 void QwtScaleMap setPaintInterval int p1 int p2 Specify the borders of the paint device interval Parameters pl first border p2 second border 6 75 3 5 void QwtScaleMap setPaintX Interval double p1 double p2 Specify the borders of the paint device interval Parameters pl first border p2 second border 6 75 3 6 void QwtScaleMap setScaleInterval double s7 double s2 Specify the borders of the scale interval Parameters s1 first border s2 second border Warning
181. The Page size is specified in the constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 100 6 23 3 15 void QwtDoubleRange fitValue double x virtual Adjust the value to the closest point in the step raster Parameters x value Warning The value is clipped when it lies outside the range When the range is QwtDoubleRange periodic it will be mapped to a point in the interval such that new value x n max value min value with an integer number n Reimplemented in QwtAbstractSlider 6 23 3 16 double QwtDoubleRange exactValue const protected Returns the exact value The exact value is the value which QwtDoubleRange value would return if the value were not adjusted to the step raster It differs from the current value only if QwtDoubleRange fitValue or QwtDouble Range incValue have been used before This function is intended for internal use in derived classes 6 23 3 17 double QwtDoubleRange exactPrevValue const protected Returns the exact previous value 6 23 3 18 double QwtDoubleRange prevValue const protected Returns the previous value 6 23 3 19 void QwtDoubleRange valueChange protected virtual Notify a change of value This virtual function is called whenever the value changes The default implementation does nothing Reimplemented in QwtAbstractSlider QwtDial QwtSlider and QwtWheel 6 23 3
182. Thorns QwtSimpleCompassRose 348 operator amp QwtDoubleInterval 93 operator amp QwtDoubleInterval 93 operator QwtDoubleInterval 91 QwtScaleDiv 318 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 423 QwtSymbol 364 QwtText 370 operator QwtAbstractScaleDraw 18 QwtAlphaColorMap 32 QwtArrayData 38 QwtCPointerData 64 QwtData 68 QwtLinearColorMap 134 QwtPolygonFData 304 QwtRoundScaleDraw 312 QwtScaleDraw 322 QwtScaleMap 335 QwtSpline 358 QwtText 370 operator QwtDoubleInterval 91 QwtScaleDiv 318 QwtSymbol 364 QwtText 370 operator QwtDoubleInterval 93 operator QwtDoubleInterval 93 Options QwtPlotLayout 242 QwtPlotPrintFilter 267 options QwtPlotPrintFilter 268 orientation QwtAbstractSlider 26 QwtPlotRescaler 279 QwtScaleDraw 324 orientations QwtPanner 157 origin QwtDial 75 pl QwtScaleMap 336 p2 QwtScaleMap 336 pageSize QwtDoubleRange 98 PaintAttribute QwtPlotCanvas 205 QwtPlotCurve 212 QwtText 369 paintCache QwtPlotCanvas 207 paintEvent QwtArrowButton 41 QwtDial 78 QwtKnob 118 QwtLegendItem 131 QwtPanner 159 QwtPlotCanvas 207 QwtScaleWidget 346 QwtSlider 355 QwtTextLabel 382 QwtThermo 391 QwtWheel 396 paintRect QwtPlotItem 240 palette QwtCompassRose 53 QwtDialNeedle 83 QwtPlotScalelItem 282 paletteChange QwtWheel 397 panned QwtPanner 158 parentWidget QwtMagni
183. Time 36 QwtArrayData 37 QwtArrayData 38 QwtArrayData boundingRect 39 copy 38 operator 38 QwtArrayData 38 size 38 x 38 xData 39 y 39 yData 39 QwtArrowButton 39 QwtArrowButton 40 QwtArrowButton QwtArrowButton 40 arrowSize 41 arrowType 40 drawArrow 41 drawButtonLabel 41 keyPressEvent 42 labelRect 41 minimumSizeHint 41 num 40 paintEvent 41 QwtArrowButton 40 sizeHint 40 QwtClipper 42 QwtClipper clipCircle 43 clipPolygon 42 clipPolygonF 42 QwtColorMap 43 QwtColorMap 44 QwtColorMap QwtColorMap 44 color 45 colorIndex 45 colorTable 46 copy 45 Format 44 format 45 QwtColorMap 44 rgb 45 QwtCompass 46 QwtCompass 47 QwtCompass QwtCompass 47 drawRose 49 drawScaleContents 49 keyPressEvent 49 labelMap 48 QwtCompass 47 rose 47 48 scaleLabel 49 setLabelMap 48 setRose 47 QwtCompassMagnetNeedle 50 QwtCompassMagnetNeedle 52 QwtCompassMagnetNeedle draw 52 drawPointer 53 drawThinNeedle 52 drawTriangleNeedle 52 QwtCompassMagnetNeedle 52 Style 51 QwtCompassRose 53 QwtCompassRose draw 54 palette 53 setPalette 53 QwtCompassWindArrow 54 QwtCompassWindArrow 56 QwtCompassWindArrow draw 56 drawStylel Needle 56 drawStyle2Needle 56 QwtCompassWindArrow 56 Style 55 QwtCounter 57 QwtCounter 59 QwtCounter QwtCounter 59 Button 58 buttonReleased 62 editable 59 event 62 Generated on Sun Mar
184. WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MAY MODIFY AND OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE BE LIABLE TO YOU FOR DAMAGES INCLUDING ANY GENERAL SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Libraries If you develop a new library and you want it to be of the greatest possible use to the public we recommend making it free software that everyone can redistribute and change You can do so by permitting redistribution under these terms or alternatively under the terms of the ordinary General Public License To apply these terms attach the following notices to the library It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty and each file should have at least the copyright line and a pointer to where the full notice is found lt one line to give the library s name and a brief idea of what it does gt Copyright C lt year gt lt name of author gt This library is free software you can redistribute it and or modify it under the ter
185. Zoomer zoomed const QwtDoubleRect amp rect signal A signal emitting the zoomRect when the plot has been zoomed in or out Parameters rect Current zoom rectangle 6 66 3 16 void QwtPlotZoomer rescale protected virtual Adjust the observed plot to zoomRect Note Initiates QwtPlot replot 6 66 3 17 QwtDoubleSize QwtPlotZoomer minZoomSize const protected virtual Limit zooming by a minimum rectangle Returns zoomBase width 10e4 zoomBase height 10e4 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 304 6 66 3 18 void QwtPlotZoomer widgetMouseReleaseEvent QMouseEvent x me protected virtual Qt MidButton zooms out one position on the zoom stack Qt RightButton to the zoom base Changes the current position on the stack but doesn t pop any rectangle Note The mouse events can be changed using QwtEventPattern setMousePattern 2 1 Reimplemented from QwtPicker 6 66 3 19 void QwtPlotZoomer widgetKeyPressEvent QKeyEvent ke protected virtual Qt Key_Plus zooms out Qt Key_Minus zooms in one position on the zoom stack Qt Key_Escape zooms out to the zoom base Changes the current position on the stack but doesn t pop any rectangle Note The keys codes can be changed using QwtEventPattern setKeyPattern 3 4 5 Reimplemented from QwtPicker 6 66 3 20 void QwtPlotZoomer begin pro
186. _Space e KeyAbort Qt Key_Escape KeyLeft Qt Key_Left Qt LeftButton Qt ControlButton Qt ShiftButton Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 110 e KeyRight Qt Key_Right e KeyUp Qt Key_Up e KeyDown Qt Key_Down e KeyUndo Qt Key_Minus e KeyRedo Qt Key_Plus e KeyHome Qt Key_Escape 6 25 3 Constructor amp Destructor Documentation 6 25 3 1 QwtEventPattern QwtEventPattern Constructor See also MousePatternCode KeyPatternCode 6 25 3 2 QwtEventPattern QwtEventPattern virtual Destructor 6 25 4 Member Function Documentation 6 25 4 1 void QwtEventPattern initMousePattern int numButtons Set default mouse patterns depending on the number of mouse buttons Parameters numButtons Number of mouse buttons lt 3 See also MousePatternCode 6 25 4 2 void QwtEventPattern initKeyPattern Set default mouse patterns See also KeyPatternCode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 111 6 25 4 3 void QwtEventPattern setMousePattern uint pattern int button int state Qt NoButton Change one mouse pattern Parameters pattern Index of the pattern button Button state State See also QMouseEvent 6 25 4 4 void QwtEventPattern setKeyPattern uint pattern int key int state Qt NoBut
187. _plot_dict h Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 Qwt User s Guide Page Documentation 400 qwt_plot_dict h qwt_plot_item h qwt_legend_itemmanager h L qglobal h qwt_global h qlist h qwt_text h A qstring h qsize h qfont h qwt_array h gt qvector h qwt_double_rect h o QPointF QSizeF QRectF Classes e class QwtPlotDict A dictionary for plot items Typedefs e typedef QList lt QwtPlotItem gt ConstIterator QwtPlotItemIterator e typedef QList lt QwtPlotItem gt QwtPlotItemList 7 2 1 Detailed Description 7 2 2 Typedef Documentation 7 2 2 1 typedef QList lt QwtPlotItem gt QwtPlotItemList See QT 4 x assistant documentation for QList 8 Qwt User s Guide Page Documentation 8 1 Qwt License Version 1 0 Qwt License Version 1 0 January 1 2003 The Qwt library and included programs are provided under the terms of the GNU LESSER GENERAL PUBLIC LICENSE LGPL with the following exceptions 1 Widgets that are subclassed from Qwt widgets do not constitute a derivative work Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 401 2 Static linking of applications and widgets to the Qwt library does not constitute a derivative work and does not require the author to provide source code for the application or wi
188. a QwtIntervalData Constructor 6 28 2 2 QwtIntervalData QwtIntervalData const QwtArray lt QwtDoubleInterval gt amp const QwtArray lt double gt amp Constructor 6 28 2 3 QwtIntervalData QwtIntervalData Destructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 28 QwtIntervalData Class Reference 115 6 28 3 Member Function Documentation 6 28 3 1 void QwtIntervalData setData const QwtArray lt QwtDoubleInterval gt amp const Qwt Array lt double gt amp Assign samples 6 28 3 2 size_t QwtIntervalData size const inline Returns Number of samples 6 28 3 3 const QwtDoubleInterval amp QwtIntervalData interval size_t i const inline Interval of a sample Parameters i Sample index Returns Interval See also value size 6 28 3 4 double QwtIntervalData value size_t i const inline Value of a sample Parameters i Sample index Returns Value See also interval sizeQ 6 28 3 5 QwtDoubleRect QwtIntervalData boundingRect const Calculate the bounding rectangle of the samples The x coordinates of the rectangle are built from the intervals the y coordinates from the values Returns Bounding rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 29 QwtKnob Class Reference 116 6 29 QwtKnob Class Reference The Knob Widget include lt qwt_knob h gt
189. ainter painter double value const protected virtual Draws the label for a major scale tick Parameters painter Painter value Value See also drawTick drawBackbone Implements QwtAbstractScaleDraw 6 71 QwtScaleArithmetic Class Reference Arithmetic including a tolerance include lt qwt_scale_engine h gt Static Public Member Functions static int compareEps double value1 double value2 double intervalSize static double ceilEps double value double intervalSize static double floorEps double value double intervalSize static double divideEps double interval double steps static double ceil125 double x static double floor125 double x Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 71 QwtScaleArithmetic Class Reference 316 6 71 1 Detailed Description Arithmetic including a tolerance 6 71 2 Member Function Documentation 6 71 2 1 int QwtScaleArithmetic compareEps double value1 double value2 double intervalSize static Compare 2 values relative to an interval Values are equal when value2 valuel lt abs intervalSize 10e Parameters valuel First value to compare value2 Second value to compare intervalSize interval size Returns 0 if equal 1 if value2 gt valuel 1 if valuel gt value2 6 71 2 2 double QwtScaleArithmetic ceilEps double value double intervalSize static Ceil a value relative to an interv
190. ainter Painter center Center of the compass radius of the circle where to paint the rose north Direction pointing north in degrees counter clockwise cg Color group 6 10 3 9 void QwtCompass drawScaleContents QPainter painter const QPoint amp center int ra dius const protected virtual Draw the contents of the scale Parameters painter Painter center Center of the content circle radius Radius of the content circle Reimplemented from QwtDial 6 10 3 10 void QwtCompass keyPressEvent QKeyEvent kev protected virtual Handles key events Beside the keys described in QwtDial keyPressEvent numbers from 1 9 without 5 set the direction ac cording to their position on the num pad See also isReadOnly Reimplemented from QwtDial Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 11 QwtCompassMagnetNeedle Class Reference 51 6 11 QwtCompassMagnetNeedle Class Reference A magnet needle for compass widgets include lt qwt_dial_needle h gt Inheritance diagram for QwtCompassMagnetNeedle QuwtDialNeedle QuwtCompassMagnetNeedle Public Types e enum Style Arrow Ray TriangleStyle ThinStyle Stylel Style2 NoSymbol 1 Ellipse Rect Diamond Triangle DTriangle UTriangle LTriangle RTriangle Cross XCross HLine VLine Star Star2 Hexagon StyleCnt Public Member Functions e QwtCompassMagnetNeedle Styl
191. ainting them In situations where points are far outside the visible area f e when zooming deep this might be a substantial improvement for the painting performance especially on Windows The default is that no paint attributes are enabled See also setPaintAttribute testPaintAttribute 6 51 3 Constructor amp Destructor Documentation 6 51 3 1 QwtPlotCurve QwtPlotCurve explicit Constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 214 6 51 3 2 QwtPlotCurve QwtPlotCurve const QwtText amp title explicit Constructor Parameters title Title of the curve 6 51 3 3 QwtPlotCurve QwtPlotCurve const QString amp title explicit Constructor Parameters title Title of the curve 6 51 3 4 QwtPlotCurve QwtPlotCurve virtual Destructor 6 51 4 Member Function Documentation 6 51 4 1 int QwtPlotCurve rtti const virtual Returns QwtPlotItem Rtti_PlotCurve Reimplemented from QwtPlotItem 6 51 4 2 void QwtPlotCurve setCurveType CurveType curveType Assign the curve type Parameters curveType Yfx or Xfy See also CurveType curveType 6 51 4 3 QwtPlotCurve CurveType QwtPlotCurve curveType const Return the curve type See also CurveType setCurveType Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 215 6 51 4 4 voi
192. al Reimplemented in QwtSlider and QwtWheel 6 3 4 7 Qt Orientation QwtAbstractSlider orientation const Returns Orientation See also setOrientation Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 28 6 3 4 8 bool QwtAbstractSlider isReadOnly const In read only mode the slider can t be controlled by mouse or keyboard Returns true if read only See also setReadOnly 6 3 4 9 bool QwtAbstractSlider isValid const inline See also QwtDbIRange is Valid Reimplemented from QwtDoubleRange 6 3 4 10 void QwtAbstractSlider setValid bool valid inline Parameters valid true false See also QwtDbIRange is Valid Reimplemented from QwtDoubleRange 6 3 4 11 void QwtAbstractSlider setValue double val virtual slot Move the slider to a specified value This function can be used to move the slider to a value which is not an integer multiple of the step size Parameters val new value See also fit ValueQ Reimplemented from QwtDoubleRange 6 3 4 12 void QwtAbstractSlider fitValue double value virtual slot Set the slider s value to the nearest integer multiple of the step size Parameters value Value See also setValue incValue Reimplemented from QwtDoubleRange Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 29 6
193. al Parameters value Value to ceil intervalSize Interval size See also floorEps 6 71 2 3 double QwtScaleArithmetic floorEps double value double intervalSize static Floor a value relative to an interval Parameters value Value to floor intervalSize Interval size See also floorEpsQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 72 QwtScaleDiv Class Reference 317 6 71 2 4 double QwtScaleArithmetic divideEps double intervalSize static Divide an interval into steps stepSize intervalSize intervalSize 10e numSteps Parameters intervalSize Interval size numSteps Number of steps Returns Step size 6 71 2 5 double QwtScaleArithmetic ceil125 double x static double numSteps Find the smallest value out of 1 2 5 10n with an integer number n which is greater than or equal to x Parameters x Input value 6 71 2 6 double QwtScaleArithmetic floor125 doublex static Find the largest value out of 1 2 5 10n with an integer number n which is smaller than or equal to x Parameters x Input value 6 72 QwtScaleDiv Class Reference A class representing a scale division include lt qwt_scale_div h gt Public Types e enum TickType NoTick 1 MinorTick MediumTick MajorTick NTickTypes Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 72 QwtScaleDiv Class Reference 318
194. aleDraw Class Reference 21 6 2 4 11 void QwtAbstractScaleDraw setSpacing int spacing Set the spacing between tick and labels The spacing is the distance between ticks and labels The default spacing is 4 pixels Parameters spacing Spacing See also spacing 6 2 4 12 int QwtAbstractScaleDraw spacing const Get the spacing The spacing is the distance between ticks and labels The default spacing is 4 pixels See also setSpacing 6 2 4 13 void QwtAbstractScaleDraw draw QPainter painter const QPalette amp palette const virtual Draw the scale Parameters painter The painter palette Palette text color is used for the labels foreground color for ticks and backbone 6 2 4 14 QwtText QwtAbstractScaleDraw label double value const virtual Convert a value into its representing label The value is converted to a plain text using QLocale system toString value This method is often over loaded by applications to have individual labels Parameters value Value Returns Label string Reimplemented in QwtDialScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 22 6 2 4 15 virtual int QwtAbstractScaleDraw extent const QPen amp const QFont amp const pure virtual Calculate the extent The extent is the distcance from the baseline to the outermost pixel of the scale draw in opposite to its or
195. alid QwtAbstractSlider 27 QwtDoubleInterval 93 QwtDoubleRange 96 QwtScaleDiv 320 QwtSpline 359 is Visible QwtPlotItem 237 Item QwtPlotPrintFilter 267 itemAt QwtDynGridLayout 102 ItemAttribute QwtPlotItem 233 itemChanged QwtPlotItem 238 itemCount QwtDynGridLayout 104 QwtLegend 124 itemList QwtPlotDict 225 itemMode QwtLegend 122 QwtLegendItem 127 keyFactor QwtMagnifier 144 keyMatch QwtEventPattern 111 112 keyPattern QwtEventPattern 110 KeyPatternCode QwtEventPattern 108 keyPressEvent QwtAbstractSlider 30 QwtArrowButton 42 QwtCompass 49 QwtCounter 62 QwtDial 78 QwtLegendItem 131 keyReleaseEvent QwtLegendItem 131 knobWidth QwtKnob 116 label QwtAbstractScaleDraw 21 QwtDialScaleDraw 84 QwtPlotMarker 255 labelAlignment QwtPlotMarker 255 QwtScaleDraw 325 labelMap QwtCompass 48 labelMatrix QwtScaleDraw 327 labelOrientation Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 421 QwtPlotMarker 256 labelPosition QwtScaleDraw 326 labelRect QwtArrowButton 41 QwtScaleDraw 326 labelRotation QwtScaleDraw 325 labelSize QwtScaleDraw 326 LayoutAttribute QwtText 369 layoutContents QwtLegend 125 layoutGrid QwtDynGridLayout 105 layoutItems QwtDynGridLayout 103 layoutLegend QwtPlotLayout 247 layoutScale QwtScaleWidget 346 layoutSlider QwtSlider 356 layoutThermo QwtThermo 391 layoutWheel QwtWheel
196. alignment Change the alignment for the labels See also QwtScaleDraw setLabelAlignment setLabelRotation 6 77 3 22 void QwtScaleWidget setLabelRotation double rotation Change the rotation for the labels See QwtScaleDraw setLabelRotation rotation Rotation See also QwtScaleDraw setLabelRotation setLabelFlags 6 77 3 23 QSize QwtScaleWidget sizeHint const virtual Returns a size hint 6 77 3 24 QSize QwtScaleWidget minimumSizeHint const virtual Returns a minimum size hint 6 77 3 25 int QwtScale Widget titleHeightForWidth int width const Find the height of the title for a given width Parameters width Width Returns height Height 6 77 3 26 int QwtScaleWidget dimForLength int length const QFont amp scaleFont const Find the minimum dimension for a given length dim is the height length the width seen in direction of the title Parameters length width for horizontal height for vertical scales scaleFont Font of the scale Returns height for horizontal width for vertical scales Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 347 6 77 3 27 void QwtScaleWidget drawTitle QPainter painter QwtScaleDraw Alignment align const QRect amp rect const Rotate and paint a title according to its position into a given rectangle Parameters painter Painter align Alignment rect B
197. alue is NoScale A valid combination of scale position and orientation is enforced e a horizontal thermometer can have the scale positions TopScale BottomScale or NoScale e a vertical thermometer can have the scale positions LeftScale RightScale or NoScale e an invalid scale position will default to NoScale See also setScalePosition 6 86 3 2 void QwtThermo setScalePosition ScalePos scalePos Change the scale position and thermometer orientation Parameters scalePos Position of the scale A valid combination of scale position and orientation is enforced e if the new scale position is LeftScale or RightScale the scale orientation will become Qt Vertical e if the new scale position is BottomScale or TopScale the scale orientation will become Qt Horizontal e if the new scale position is NoScale the scale orientation will not change See also setOrientation scalePosition Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 387 6 86 3 3 QwtThermo ScalePos QwtThermo scalePosition const Return the scale position See also setScalePosition 6 86 3 4 void QwtThermo setBorder Width int width Set the border width of the pipe Parameters width Border width See also borderWidth 6 86 3 5 int QwtThermo border Width const Return the border width of the thermometer pipe See also setBorderWidth 6 86 3 6 void
198. alues y Array of y values size Size of the x and y arrays Warning The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 15 QwtCPointerData Class Reference 65 See also QwtPlotCurve setData QwtPlotCurve setRawData 6 15 3 Member Function Documentation 6 15 3 1 QwtCPointerData amp QwtCPointerData operator const QwtCPointerData amp Assignment 6 15 3 2 QwtData x QwtCPointerData copy const virtual Returns Pointer to a copy virtual copy constructor Implements QwtData 6 15 3 3 size_t QwtCPointerData size const virtual Returns Size of the data set Implements QwtData 6 15 3 4 double QwtCPointerData x size_ti const virtual Return the x value of data point i Parameters i Index Returns x X value of data point i Implements QwtData 6 15 3 5 double QwtCPointerData y size_ti const virtual Return the y value of data point i Parameters i Index Returns y Y value of data point i Implements QwtData Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 16 QwtCurveFitter Class Reference 66 6 15 3 6 const double QwtCPointerData xData const Returns Array of the x values 6 15 3 7 const double x QwtCPointerData yData const Returns Array of the y
199. am 6 62 QwtPlotRescaler Class Reference QwtPlotRescaler takes care of fixed aspect ratios for plot scales include lt qwt_plot_rescaler h gt Public Types e enum RescalePolicy Fixed Expanding Fitting e enum ExpandingDirection ExpandUp ExpandDown ExpandBoth Public Member Functions e QwtPlotRescaler QwtPlotCanvas x int referenceAxis QwtPlot xBottom Rescale Policy Expanding virtual QwtPlotRescaler void setEnabled bool bool isEnabled const void setRescalePolicy RescalePolicy RescalePolicy rescalePolicy const void setExpandingDirection ExpandingDirection void setExpandingDirection int axis ExpandingDirection ExpandingDirection expandingDirection int axis const void setReferenceAxis int axis int referenceAxis const void setAspectRatio double ratio void setAspectRatio int axis double ratio double aspectRatio int axis const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 275 void setIntervalHint int axis const QwtDoubleInterval amp QwtDoubleInterval intervalHint int axis const QwtPlotCanvas canvas const QwtPlotCanvas canvas const QwtPlot x plot Q const QwtPlot plot const virtual bool eventFilter QObject x QEvent void rescale const Protected Member Functions virtual void canvasResizeEvent QResizeEvent virtual void rescale const QSize amp oldSize c
200. ameters spacing Spacing See also spacing setLabelAlignment 6 57 4 22 int QwtPlotMarker spacing const Returns the spacing See also setSpacing 6 57 4 23 void QwtPlotMarker draw QPainter painter const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp canvasRect const virtual Draw the marker Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 58 QwtPlotPanner Class Reference 258 Parameters painter Painter xMap x Scale Map yMap y Scale Map canvasRect Contents rect of the canvas in painter coordinates Implements QwtPlotItem 6 57 4 24 QwtDoubleRect QwtPlotMarker boundingRect const virtual Returns An invalid bounding rect QwtDoubleRect 1 0 1 0 2 0 2 0 Reimplemented from QwtPlotItem 6 57 4 25 void QwtPlotMarker drawAt QPainter painter const QRect amp canvasRect const QPoint amp pos const protected Draw the marker at a specific position Parameters painter Painter canvasRect Contents rect of the canvas in painter coordinates pos Position of the marker in painter coordinates 6 58 QwtPlotPanner Class Reference QwtPlotPanner provides panning of a plot canvas include lt qwt_plot_panner h gt Inheritance diagram for QwtPlotPanner QuwtPanner QuwtPlotPanner Public Member Functions e QwtPlotPanner QwtPlotCanvas virtual QwtPlotPanner QwtPlotCanvas ca
201. ap QwtColorMap QwiAlphaColorMap l QwtLinearColorMap Public Types e enum Format RGB Indexed Public Member Functions e QwtColorMap Format QwtColorMap RGB virtual QwtColorMap Format format const virtual QwtColorMap copy const 0 virtual QRgb rgb const QwtDoubleInterval amp interval double value const 0 virtual unsigned char colorIndex const QwtDoublelInterval amp interval double value const 0 QColor color const QwtDoubleInterval amp double value const virtual QVector lt QRgb gt colorTable const QwtDoubleInterval amp const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 9 QwtColorMap Class Reference 45 6 9 1 Detailed Description QwtColorMap is used to map values into colors For displaying 3D data on a 2D plane the 3rd dimension is often displayed using colors like f e in a spectrogram Each color map is optimized to return colors for only one of the following image formats e QImage Format_Indexed8 e QImage Format_ARGB32 See also QwtPlotSpectrogram QwtScaleWidget 6 9 2 Member Enumeration Documentation 6 9 2 1 enum QwtColorMap Format e RGB The map is intended to map into QRgb values Indexed The map is intended to map into 8 bit values that are indices into the color table See also rgbQ colorIndex colorTableQ 6 9 3 Constructor amp Destructor Documentation 6 9 3 1 QwtColorMap QwtC
202. arameters mode New mode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 74 The 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 origin and the needle is rotating in case of QwtDial RotateScale the needle points to origin and the scale is rotating The default mode is QwtDial RotateNeedle See also mode setValue setOrigin 6 18 4 8 QwtDial Mode QwtDial mode const Returns mode of the dial The 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 origin and the needle is rotating in case of QwtDial RotateScale the needle points to origin and the scale is rotating The default mode is QwtDial RotateNeedle See also setMode origin setScaleArc value 6 18 4 9 void QwtDial setWrapping bool wrapping virtual Sets whether it is possible to step the value from the highest value to the lowest value and vice versa to on Parameters wrapping en disables wrapping See also wrapping QwtDoubleRange periodic Note The meaning of wrapping is like the wrapping property of QSpinBox but not like it is used in QDial 6 18 4 10 bool QwtDial wrapping const wrapping holds whether it
203. are the current limits of the axis scale Parameters axisId axis index Returns Scale division See also QwtScaleDiv setAxisScaleDiv 6 49 4 37 QwtScaleDiv x QwtPlot axisScaleDiv int axisId Return the scale division of a specified axis axisScaleDiv axisId gt lowerBound axisScaleDiv axisId gt upperBound are the current limits of the axis scale Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 197 Parameters axisId axis index Returns Scale division See also QwtScaleDiv setAxisScaleDiv 6 49 4 38 const QwtScaleDraw QwtPlot axisScaleDraw int axisId const Returns the scale draw of a specified axis Parameters axisId axis index Returns specified scaleDraw for axis or NULL if axis is invalid See also QwtScaleDraw 6 49 4 39 QwtScaleDraw QwtPlot axisScaleDraw int axisId Returns the scale draw of a specified axis Parameters axisId axis index Returns specified scaleDraw for axis or NULL if axis is invalid See also QwtScaleDraw 6 49 4 40 const QwtScaleWidget QwtPlot axisWidget int axisId const Returns specified axis or NULL if axisId is invalid Parameters axisId axis index Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 198 6 49 4 41 QwtScaleWidget x QwtPlot axisWidget int axisId Returns speci
204. as QwtPlotScaleItem 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 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 updateScaleDiv The scale might be at a specific position f e 0 0 or it might be aligned to a canvas border Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 63 QwtPlotScaleItem Class Reference 282 Example The following example shows how to replace the left axis by a scale item at the x position 0 0 QwtPlotScaleItem scaleItem new QwtPlotScaleItem QwtScaleDraw RightScale 0 0 scaleItem gt setFont plot gt axisWidget QwtPlot yLeft gt font scaleItem gt attach plot plot gt enableAxis QwtPlot yLeft false 6 63 2 Constructor amp Destructor Documentation 6 63 2 1 QwtPlotScaleItem QwtPlotScaleItem QwtScaleDraw Alignment alignment QwtScaleDraw BottomScale const double pos 0 0 explicit Constructor for scale item at the position pos Parameters alignment In case of QwtScaleDraw BottomScale QwtScaleDrawTopScale the scale item is corre sponding to the xAxis otherwise it corresponds to the yAxis pos x ory position depending on the corresponding axis See also setPosition
205. ase classes will implement this method with specific rtti values so a user can differentiate them The rtti value is useful for environments where the runtime type information is disabled and it is not possible to do a dynamic_cast lt gt Returns rtti value See also Rtti Values Reimplemented in QwtPlotCurve QwtPlotGrid QwtPlotMarker QwtPlotScaleItem QuwtPlot Spectrogram and QwtPlotSvglItem 6 54 4 8 void QwtPlotItem setItemAttribute ItemAttribute attribute bool on true Toggle an item attribute Parameters attribute Attribute type on true false See also testItemAttribute ItemAttribute 6 54 4 9 bool QwtPlotItem testItemAttribute ItemAttribute attribute const Test an item attribute Parameters attribute Attribute type Returns true false See also setItemAttribute ItemAttribute Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 237 6 54 4 10 void QwtPlotItem setRenderHint RenderHint hint bool on t rue Toggle an render hint Parameters hint Render hint on true false See also testRenderHint RenderHint 6 54 4 11 bool QwtPlotItem testRenderHint RenderHint hint const Test a render hint Parameters hint Render hint Returns true false See also setRenderHint RenderHint 6 54 4 12 double QwtPlotItem z const Plot items are painted in increasing z order Returns se
206. assWindArrow drawStyle1Needle QPainter painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length double direction static Draw a compass needle Parameters painter Painter palette Palette colorGroup colorGroup center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise 6 13 4 3 void QwtCompassWindArrow drawStyle2Needle QPainter painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length double direction static Draw a compass needle Parameters painter Painter palette Palette colorGroup colorGroup center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 58 6 14 QwtCounter Class Reference The Counter Widget include lt qwt_counter h gt Inheritance diagram for QwtCounter QwtDoubleRange QwtCounter Public Types enum Button Button1 Button2 Button3 ButtonCnt Signals void buttonReleased double value void valueChanged double value Public Member Functions QwtCounter QWidget parent NULL virtual QwtCounter bool editable const void setEditable bo
207. asses structs unions and interfaces with brief descriptions QwtAbstractScale An abstract base class for classes containing a scale 12 QwtAbstractScaleDraw A abstract base class for drawing scales 17 QwtAbstractSlider An abstract base class for slider widgets 24 QwtAlphaColorMap QwtAlphaColorMap variies the alpha value of a color 32 QwtAnalogClock An analog clock 34 QwtArrayData Data class containing two QwtArray lt double gt objects 38 QwtArrowButton Arrow Button 40 QwtClipper Some clipping algos 43 QwtColorMap QwtColorMap is used to map values into colors 44 QwtCompass A Compass Widget 47 QwtCompassMagnetNeedle A magnet needle for compass widgets 51 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 3 1 Qwt User s Guide Class List 7 QwtCompassRose Abstract base class for a compass rose 54 QwtCompassWindArrow An indicator for the wind direction 55 QwtCounter The Counter Widget 58 QwtCPointerData Data class containing two pointers to memory blocks of doubles 64 QwtCurveFitter Abstract base class for a curve fitter 66 QwtData QwtData defines an interface to any type of curve data 67 QwtDial QwtDial class provides a rounded range control 69 QwtDialNeedle Base class for needles that can be used in a QwtDial 83 QwtDialScaleDraw A special scale draw made for QwtDial 84 QwtDialSimpleNeedle A needle for dial widgets 86 QwtDoubleInterval A class representing
208. asterItem QwtPlotRasterItem virtual Destructor 6 61 4 Member Function Documentation 6 61 4 1 void QwtPlotRasterItem setAlpha int alpha Set an alpha value for the raster data Often a plot has several types of raster data organized in layers f e a geographical map with weather statistics Using setAlpha raster items can be stacked easily The alpha value is a value 0 255 to control the transparency of the image 0 represents a fully transparent color while 255 represents a fully opaque color Parameters alpha Alpha value e alpha gt 0 All alpha values of the pixels returned by renderlmage will be set to alpha beside those with an alpha value of 0 invalid pixels e alpha lt 0 The alpha values returned by renderImage are not changed The default alpha value is 1 See also alpha 6 61 4 2 int QwtPlotRasterItem alpha const Returns Alpha value of the raster item See also setAlpha Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 61 QwtPlotRasterItem Class Reference 273 6 61 4 3 void QwtPlotRasterItem setCachePolicy QwtPlotRasterItem CachePolicy policy Change the cache policy The default policy is NoCache Parameters policy Cache policy See also CachePolicy cachePolicy 6 61 4 4 QwtPlotRasterItem CachePolicy QwtPlotRasterItem cachePolicy const Returns Cache policy See also CachePolicy setCachePolicy
209. ates and performs whatever part of its purpose remains meaningful For example a function in a library to compute square roots has a purpose that is entirely well defined independent of the application Therefore Subsection 2d requires that any application supplied function or table used by this function must be optional if the application does not supply it the square root function must still compute square roots hese requirements apply to the modified work as a whole If dentifiable sections of that work are not derived from the Library nd can be reasonably considered independent and separate works in hemselves then this License and its terms do not apply to those ections when you distribute them as separate works But when you istribute the same sections as part of a whole which is a work based n the Library the distribution of the whole must be on the terms of his License whose permissions for other licensees extend to the ntire whole and thus to each and every part regardless of who wrote BH OoOtoAant ak H ct Thus it is not the intent of this section to claim rights or contest your rights to work written entirely by you rather the intent is to exercise the right to control the distribution of derivative or collective works based on the Library In addition mere aggregation of another work not based on the Library with the Library or with a work based on the Library on a volume of a storage or distribution me
210. aw h qwt_abstract_slider h qwt_analog_clock h qwt_array h qwt_arrow_button h 310 312 315 317 321 329 335 338 340 348 350 358 361 363 368 377 380 383 392 2 ads Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 4 1 Qwt User s Guide File List 10 qwt_clipper h 2 qwt_color_map h qwt_compass h 2 qwt_compass_rose h 2 qwt_counter h qwt_curve_fitter h 2 qwt_data h 2 qwt_dial h qwt_dial_needle h 2 qwt_double_interval h 2 qwt_double_range h qwt_double_rect h 398 qwt_dyngrid_layout h qwt_event_pattern h 72 qwt_global h qwt_interval_data h qwt_knob h qwt_layout_metrics h 2 qwt_legend h qwt_legend_item h qwt_legend_itemmanager h 2 qwt_magnifier h qwt_math h qwt_mathml_text_engine h 2 qwt_paint_buffer h qwt_painter h qwt_panner h 2 qwt_picker h qwt_picker_machine h Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 4 1 Qwt User s Guide File List 11 qwt_plot h 2 qwt_plot_canvas h qwt_plot_curve h 2 qwt_plot_dict h 399 qwt_plot_grid h qwt_plot_item h 2 qwt_plot_layout h qwt_plot_magnifier h 2 qwt_plot_marker h qwt_plot_panner h 2 qwt_plot_picker h qwt_plot_printfilter h Be qwt_plot_rasteritem h qwt_plot_rescaler h 72 qwt_plot_scaleitem h 2 qwt_plot_spectrogram h qwt_plot_svgitem h qwt_plot_zoo
211. ax bool logarithmic false Set the range Parameters vmin value corresponding lower or left end of the thermometer vmax value corresponding to the upper or right end of the thermometer logarithmic logarithmic mapping true or false 6 86 3 26 void QwtThermo setMargin int m Specify the distance between the pipe s endpoints and the widget s border The margin is used to leave some space for the scale labels If a large font is used it is advisable to adjust the margins Parameters m New Margin The default values are 10 for horizontal orientation and 20 for vertical orientation Warning The margin has no effect if the scale is disabled This function is a NOOP because margins are determined automatically 6 86 3 27 QSize QwtThermo sizeHint const virtual Returns the minimum size hint See also minimumSizeHint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 391 6 86 3 28 QSize QwtThermo minimumSizeHint const virtual Return a minimum size hint Warning The return value depends on the font and the scale See also sizeHint 6 86 3 29 void QwtThermo setScaleDraw QwtScaleDraw x scaleDraw Set a scale draw For changing the labels of the scales it is necessary to derive from QwtScaleDraw and overload QwtScale Draw label Parameters scaleDraw ScaleDraw object that has to be created with new and will be deleted in
212. ble reference const void setMargins double lower double upper double lowerMargin const double upperMargin const virtual void autoScale int maxNumSteps double amp x1 double amp x2 double amp stepSize const 0 virtual QwtScaleDiv divideScale double x1 double x2 int maxMajSteps int maxMinSteps double stepSize 0 0 const 0 virtual QwtScaleTransformation transformation const 0 Protected Member Functions e bool contains const QwtDoubleInterval amp double val const e QwtValueList strip const QwtValueList amp const QwtDoublelInterval amp const e double divideInterval double interval int numSteps const e QwtDoubleInterval buildInterval double v const 6 74 1 Detailed Description Base class for scale engines A scale engine trys to find reasonable ranges and step sizes for scales The layout of the scale can be varied with setAttribute Qwt offers implementations for logarithmic log 10 and linear scales Contributions for other types of scale engines date time log2 are welcome 6 74 2 Member Enumeration Documentation 6 74 2 1 enum QwtScaleEngine Attribute e IncludeReference Build a scale which includes the reference value e Symmetric Build a scale which is symmetric to the reference value e Floating The endpoints of the scale are supposed to be equal the outmost included values plus the specified margins see setMargins If this attribute is xnot set the
213. blePoint amp pos void selected const QwtDoubleRect amp rect void selected const QwtArray lt QwtDoublePoint gt amp pa void appended const QwtDoublePoint amp pos void moved const QwtDoublePoint amp pos Public Member Functions QwtPlotPicker QwtPlotCanvas virtual QwtPlotPicker QwtPlotPicker int xAxis int yAxis QwtPlotCanvas QwtPlotPicker int xAxis int yAxis int selectionFlags RubberBand rubberBand DisplayMode trackerMode QwtPlotCanvas virtual void setAxis int xAxis int yAxis int xAxis const int yAxis const QwtPlot x plot Q const QwtPlot plot const QwtPlotCanvas canvas const QwtPlotCanvas x canvas const Protected Member Functions QwtDoubleRect scaleRect const QwtDoubleRect invTransform const QRect amp const QRect transform const QwtDoubleRect amp const QwtDoublePoint invTransform const QPoint amp const QPoint transform const QwtDoublePoint amp const virtual QwtText trackerText const QPoint amp const virtual QwtText trackerText const QwtDoublePoint amp const virtual void move const QPoint amp virtual void append const QPoint amp virtual bool end bool ok true Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 262 6 59 1 Detailed Description QwtPlotPicker provides selections on a plot canvas QwtPlotPicker is a QwtPicker tailored for selections on a plot can
214. c scales A scale has a position an alignment and a length which can be specified The labels can be rotated and aligned to the ticks using setLabelRotation and setLabelAlignment After a scale division has been specified as a QwtScaleDiv object using QwtAbstractScaleDraw setScale Div const QwtScaleDiv amp s the scale can be drawn with the QwtAbstractScaleDraw draw member 6 73 2 Member Enumeration Documentation 6 73 2 1 enum QwtScaleDraw Alignment Alignment of the scale draw See also setAlignment alignment 6 73 3 Constructor amp Destructor Documentation 6 73 3 1 QwtScaleDraw QwtScaleDraw Constructor The range of the scale is initialized to 0 100 The position is at 0 0 with a length of 100 The orientation is QwtAbstractScaleDraw Bottom 6 73 3 2 QwtScaleDraw QwtScaleDraw const QwtScaleDraw amp Copy constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 323 6 73 3 3 QwtScaleDraw QwtScaleDraw virtual Destructor 6 73 4 Member Function Documentation 6 73 4 1 QwtScaleDraw amp QwtScaleDraw operator const QwtScaleDraw amp other Assignment operator 6 73 4 2 void QwtScaleDraw getBorderDistHint const QFont amp font int amp start int amp end const Determine the minimum border distance This member function returns the minimum space needed to draw the mark labels at the scale s e
215. canvasRect QRect scaleRect QwtPlot axisCnt const 6 55 1 Detailed Description Layout engine for QwtPlot It is used by the QwtPlot widget to organize its internal widgets or by QwtPlot print to render its content to a QPaintDevice like a QPrinter QPixmap QImage or QSvgRenderer 6 55 2 Member Enumeration Documentation 6 55 2 1 enum QwtPlotLayout Options Options to configure the plot layout engine AlignScales Unused IgnoreScrollbars Ignore the dimension of the scrollbars There are no scrollbars when the plot is rendered to a paint device QwtPlot print IgnoreFrames Ignore all frames QwtPlot print doesn t paint them IgnoreMargin Ignore the margin IgnoreLegend Ignore the legend See also activate Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 244 6 55 3 Constructor amp Destructor Documentation 6 55 3 1 QwtPlotLayout QwtPlotLayout explicit Constructor 6 55 3 2 QwtPlotLayout QwtPlotLayout virtual Destructor 6 55 4 Member Function Documentation 6 55 4 1 void QwtPlotLayout setMargin int margin Change the margin of the plot The margin is the space around all components Parameters margin new margin See also margin setSpacing QwtPlot setMargin 6 55 4 2 int QwtPlotLayout margin const Returns margin See also setMargin spacing QwtPlot margin
216. changed 172 DisplayMode 164 drawRubberBand 170 drawTracker 170 end 173 eventFilter 169 isActive 169 isEnabled 169 move 173 moved 171 parentWidget 169 170 pickRect 170 QwtPicker 165 RectSelectionType 163 reset 173 ResizeMode 165 resizeMode 167 RubberBand 164 rubberBand 166 rubberBandPen 168 rubberBand Widget 176 selected 171 selection 170 selectionFlags 166 SelectionMode 164 SelectionType 163 setEnabled 169 setResizeMode 167 setRubberBand 166 setRubberBandPen 167 setSelectionFlags 166 setTrackerFont 168 setTrackerMode 166 setTrackerPen 168 stateMachine 175 stretchSelection 175 trackerFont 168 trackerMode 167 trackerPen 168 trackerPosition 171 trackerRect 171 trackerText 170 trackerWidget 176 transition 172 updateDisplay 176 widgetKeyPressEvent 174 widgetKeyReleaseEvent 175 widgetLeaveEvent 175 widgetMouseDoubleClickEvent 174 widgetMouseMoveEvent 174 widgetMousePressEvent 173 widgetMouseReleaseEvent 174 widgetWheelEvent 174 QwtPickerClickPointMachine 176 QwtPickerClickPointMachine transition 177 QwtPickerClickRectMachine 177 QwtPickerClickRectMachine transition 178 QwtPickerDragPointMachine 178 QwtPickerDragPointMachine transition 178 QwtPickerDragRectMachine 178 QwtPickerDragRectMachine transition 179 QwtPickerMachine 179 QwtPickerMachine 180 QwtPickerMachine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxyg
217. cks drawLines drawSteps Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 52 QwtPlotDict Class Reference 224 6 51 4 46 void QwtPlotCurve drawSteps QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const protected Draw step function The direction of the steps depends on Inverted attribute Parameters painter Painter xMap x map yMap y map from index of the first point to be painted to index of the last point to be painted See also CurveAttribute setCurveAttribute draw drawCurve drawDots drawLines drawSticks 6 51 4 47 void QwtPlotCurve fillCurve QPainter painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap QwtPolygon amp pa const protected Fill the area between the curve and the baseline with the curve brush Parameters painter Painter xMap x map yMap y map pa Polygon See also setBrushQ setBaseline setCurveType 6 51 4 48 void QwtPlotCurve closePolyline const QwtScaleMap amp xMap const QwtScaleMap amp yMap QwtPolygon amp pa const protected Complete a polygon to be a closed polygon including the area between the original polygon and the base line Parameters xMap X map yMap Y map pa Polygon to be completed 6 52 QwtPlotDict Class Reference A dictionary for plot items include lt qwt_plot_dict h gt Generated on Sun Mar 22 16 44 05 2009
218. cks drawing style The default value is 0 0 The interpretation of the baseline depends on the CurveType With QwtPlotCurve Yfx the baseline is interpreted as a horizontal line at y baseline with QwtPlotCurve Yfy it is interpreted as a vertical line at x baseline Parameters reference baseline See also baseline setBrush setStyleQ setCurveType 6 51 4 29 double QwtPlotCurve baseline const Return the value of the baseline See also setBaseline Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 220 6 51 4 30 void QwtPlotCurve setStyle CurveStyle style Set the curve s drawing style Parameters style Curve style See also CurveStyle styleQ 6 51 4 31 QwtPlotCurve CurveStyle QwtPlotCurve style const Return the current style See also CurveStyle setStyle 6 51 4 32 void QwtPlotCurve setSymbol const QwtSymbol amp symbol Assign a symbol Parameters symbol Symbol See also symbol 6 51 4 33 const QwtSymbol amp QwtPlotCurve symbol const Return the current symbol See also setS ymbol 6 51 4 34 void QwtPlotCurve setCurveFitter QwtCurveFitter curveFitter Assign a curve fitter setCurveFitter NULL disables curve fitting Parameters curveFitter Curve fitter 6 51 4 35 QwtCurveFitter QwtPlotCurve curveFitter const Get the curve fitter If curve fitting is disab
219. const Returns true if attribute is enabled See also CurveAttribute setCurveAttribute 6 51 4 24 void QwtPlotCurve setPen const QPen amp pen Assign a pen The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen New pen See also pen brush QwtPainter scaledPen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 219 6 51 4 25 const QPen amp QwtPlotCurve pen const Return the pen used to draw the lines See also setPen brush 6 51 4 26 void QwtPlotCurve setBrush const QBrush amp brush Assign a brush In case of brush style QBrush NoBrush and style QwtPlotCurve Sticks the area between the curve and the baseline will be filled In case brush color is Valid the area will be filled by pen color The fill algorithm simply connects the first and the last curve point to the baseline So the curve data has to be sorted ascending or descending Parameters brush New brush See also brush setBaseline baseline 6 51 4 27 const QBrush amp QwtPlotCurve brush const Return the brush used to fill the area between lines and the baseline See also setBrush setBaseline baseline 6 51 4 28 void QwtPlotCurve setBaseline double reference Set the value of the baseline The baseline is needed for filling the curve with a brush or the Sti
220. ctMachine A state machine for rectangle selections 178 QwtPickerDragPointMachine A state machine for point selections 179 QwtPickerDragRectMachine A state machine for rectangle selections 179 QwtPickerMachine A state machine for QwtPicker selections 180 QwtPickerPolygonMachine A state machine for polygon selections 182 QwtPlainTextEngine A text engine for plain texts 182 QwtPlot A 2 D plotting widget 185 QwtPlotCanvas Canvas of a QwtPlot 205 QwtPlotCurve A plot item that represents a series of points 209 QwtPlotDict A dictionary for plot items 224 QwtPlotGrid A class which draws a coordinate grid 226 QwtPlotItem Base class for items on the plot canvas 232 QwtPlotLayout Layout engine for QwtPlot 242 QwtPlotMagnifier QwtPlotMagnifier provides zooming by magnifying in steps 250 QwtPlotMarker A class for drawing markers 252 QwtPlotPanner QwtPlotPanner provides panning of a plot canvas 258 QwtPlotPicker QwtPlotPicker provides selections on a plot canvas 260 QwtPlotPrintFilter A base class for plot print filters 267 QwtPlotRasterItem A class which displays raster data 270 QwtPlotRescaler QwtPlotRescaler takes care of fixed aspect ratios for plot scales 274 QwtPlotScaleItem A class which draws a scale inside the plot canvas 281 QwtPlotSpectrogram A plot item which displays a spectrogram 286 QwtPlotSvgItem A plot item which displays data in Scalable Vector Graphics SVG format 294 QwtP
221. d 124 QwtPlot 202 QwtScaleWidget 346 QwtSlider 355 QwtThermo 391 QwtWheel 396 ResizeMode QwtPicker 165 resizeMode QwtPicker 167 rgb QwtAlphaColorMap 33 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 440 QwtColorMap 45 QwtLinearColorMap 136 rose QwtCompass 47 48 rtti QwtPlotCurve 213 QwtPlotGrid 227 QwtPlotItem 235 QwtPlotMarker 253 QwtPlotScaleltem 281 QwtPlotSpectrogram 291 QwtPlotSvglItem 295 Rtti Values QwtPlotItem 233 RubberBand QwtPicker 164 rubberBand QwtPicker 166 rubberBandPen QwtPicker 168 rubberBandWidget QwtPicker 176 sl QwtScaleMap 336 s2 QwtScaleMap 336 scaleChange QwtAbstractScale 16 QwtScaleWidget 346 QwtSlider 356 QwtThermo 391 ScaleComponent QwtAbstractScaleDraw 18 scaleContentsRect QwtDial 77 scaleDiv QwtAbstractScaleDraw 19 QwtPlotScaleItem 281 scaleDivChanged QwtScaleWidget 340 scaledPen QwtPainter 154 scaleDraw QwtDial 77 78 QwtKnob 118 QwtPlotScalelItem 283 QwtScaleWidget 344 QwtSlider 354 356 QwtThermo 390 391 scaleEngine QwtAbstractScale 15 scaleLabel QwtAnalogClock 36 QwtCompass 49 QwtDial 80 scaleMap QwtAbstractScale 15 QwtAbstractScaleDraw 22 scaleMax Major QwtAbstractScale 15 scaleMax Minor QwtAbstractScale 14 ScaleOptions QwtDial 71 ScalePos QwtSlider 351 scalePosition QwtSlider 353 QwtThermo 385 scaleRect QwtPlotItem 239
222. d QwtPlotCurve setPaintAttribute PaintAttribute attribute bool on t rue Specify an attribute how to draw the curve Parameters attribute Paint attribute on On Off sa PaintAttribute testPaintAttribute 6 51 4 5 bool QwtPlotCurve testPaintAttribute PaintAttribute attribute const Return the current paint attributes See also PaintAttribute setPaintAttribute 6 51 4 6 void QwtPlotCurve setRawData const double xData const double x yData int size Initialize the data by pointing to memory blocks which are not managed by QwtPlotCurve setRawData is provided for efficiency It is important to keep the pointers during the lifetime of the under lying QwtCPointerData class Parameters xData pointer to x data yData pointer to y data size size of x and y Note Internally the data is stored in a QwtCPointerData object 6 51 4 7 void QwtPlotCurve setData const double xData const double yData int size Set data by copying x and y values from specified memory blocks Contrary to setCurveRawData this function makes a deep copy of the data Parameters xData Pointer to x values yData Pointer to y values size Size of xData and yData Note Internally the data is stored in a QwtArrayData object Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 216 6 51 4 8 void QwtPlotCurve setData const QwtArray lt double gt amp x
223. d for the contour levels See also QwtRasterData QwtColorMap 6 64 2 Member Enumeration Documentation 6 64 2 1 enum QwtPlotSpectrogram DisplayMode The display mode controls how the raster data will be represented Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 288 e ImageMode The values are mapped to colors using a color map e ContourMode The data is displayed using contour lines When both modes are enabled the contour lines are painted on top of the spectrogram The default setting enables ImageMode See also setDisplayMode testDisplay Mode 6 64 3 Constructor amp Destructor Documentation 6 64 3 1 QwtPlotSpectrogram QwtPlotSpectrogram const QString amp title QString nul1 explicit Sets the following item attributes e QwtPlotItem AutoScale true e QwtPlotItem Legend false The z value is initialized by 8 0 Parameters title Title See also QwtPlotItem setItemAttribute QwtPlotItem setZ 6 64 3 2 QwtPlotSpectrogram QwtPlotSpectrogram virtual Destructor 6 64 4 Member Function Documentation 6 64 4 1 void QwtPlotSpectrogram setDisplayMode DisplayMode mode bool on t rue The display mode controls how the raster data will be represented Parameters mode Display mode on On Off The default setting enables ImageMode See also DisplayMode displayMode Generated on Sun Mar
224. d on 6 87 3 18 void QwtWheel draw QPainter painter const QRect amp update_rect protected Redraw panel and wheel Parameters painter Painter 6 87 3 19 void QwtWheel drawWheel QPainter x painter const QRect amp r protected Redraw the wheel Parameters painter painter r contents rectangle 6 87 3 20 void QwtWheel drawWheelBackground QPainter painter const QRect amp r protected Draw the Wheel s background gradient Parameters painter Painter r Bounding rectangle 6 87 3 21 void QwtWheel setColorArray protected Set up the color array for the background pixmap Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 7 Qwt User s Guide File Documentation 398 6 87 3 22 void QwtWheel valueChange protected virtual Notify value change Reimplemented from QwtAbstractSlider 6 87 3 23 void QwtWheel paletteChange const QPalette amp protected virtual Call update when the palette changes 6 87 3 24 double QwtWheel getValue const QPoint amp p protected virtual Determine the value corresponding to a specified point Implements QwtAbstractSlider 6 87 3 25 void QwtWheel getScrollMode const QPoint amp p int amp scrollMode int amp direction protected virtual Determine the scrolling mode and direction corresponding to a specified point Parameters p point scrollMode scrolling mode direction direction Imple
225. de by Doxygen 6 24 QwtDynGridLayout Class Reference 105 6 24 3 14 void QwtDynGridLayout setGeometry const QRect amp rect virtual Reorganizes columns and rows and resizes managed widgets within the rectangle rect Parameters rect Layout geometry 6 24 3 15 bool QwtDynGridLayout hasHeightForWidth const virtual Returns true QwtDynGridLayout implements heightForWidth See also heightForWidth 6 24 3 16 int QwtDynGridLayout heightForWidth int width const virtual Returns The preferred height for this layout given the width w See also hasHeightForWidth 6 24 3 17 QSize QwtDynGridLayout sizeHint const virtual Return the size hint If maxCols gt 0 it is the size for a grid with maxCols columns otherwise it is the size for a grid with only one row See also maxCols setMaxCols 6 24 3 18 bool QwtDynGridLayout isEmpty const virtual Returns true if this layout is empty 6 24 3 19 uint QwtDynGridLayout itemCount const Returns number of layout items Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 106 6 24 3 20 uint QwtDynGridLayout columnsForWidth int width const virtual Calculate the number of columns for a given width It tries to use as many columns as possible limited by maxCols Parameters width Available width for all columns See also maxCols setMaxC
226. dget use the shared Qwt libraries or link their applications or widgets against a user supplied version of Qwt If you link the application or widget to a modified version of Qwt then the changes to Qwt must be provided under the terms of the LGPL in sections 1 2 and 4 3 You do not have to provide a copy of the Qwt license with programs that are linked to the Qwt library nor do you have to identify the Qwt license in your program or documentation as required by section 6 of the LGPL However programs must still identify their use of Qwt The following example statement can be included in user documentation to satisfy this requirement program widget is based in part on the work of the Qwt project http qwt sf net GNU LESSER GENERAL PUBLIC LICENSE Version 2 1 February 1999 Copyright C 1991 1999 Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document but changing it is not allowed This is the first released version of the Lesser GPL It also counts as the successor of the GNU Library Public License version 2 hence the version number 2 1 Preamble The licenses for most software are designed to take away your freedom to share and change it By contrast the GNU General Public Licenses are intended to guarantee your freedom to share and change free software to make sure the software is free fo
227. dium provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty keep intact all the notices that refer to this License and to the absence of any warranty and distribute a copy of this License along with the Library You may charge a fee for the physical act of transferring a copy and you may at your option offer warranty protection in exchange for a fee 2 You may modify your copy or copies of the Library or any portion of it thus forming a work based on the Library and copy and distribute such modifications or work under the terms of Section 1 above provided that you also meet all of these conditions a The modified work must itself be a software library b You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 404 c You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License d If a facility in the modified Library refers to a function ora table of data to be supplied by an application program that uses the facility other than as an argument passed when the facility is invoked then you must make a good faith effort to ensure that in the event an application does not supply such function or table the facility still oper
228. dium does not bring the other work under the scope of this License 3 You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library To do this you must alter all the notices that refer to this License so that they refer to the ordinary GNU General Public License version 2 instead of to this License If a newer version than version 2 of the ordinary GNU General Public License has appeared then you can specify that version instead if you wish Do not make any other change in these notices Once this change is made in a given copy it is irreversible for hat copy so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy ct This option is useful when you wish to copy part of the code of he Library into a program that is not a library ct 4 You may copy and distribute the Library or a portion or derivative of it under Section 2 in object code or executable form under the terms of Sections 1 and 2 above provided that you accompany it with the complete corresponding machine readable source code which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange If distribution of object code is made by offering access to copy from a designated place then offering equivalent access to copy the source code from the same place satisfies the require
229. draw 20 drawBackbone 22 drawLabel 22 drawTick 22 enableComponent 19 extent 21 hasComponent 19 invalidateCache 23 label 21 majTickLength 20 map 19 minimumExtent 21 operator 18 QwtAbstractScaleDraw 18 ScaleComponent 18 scaleDiv 19 scaleMap 22 setMinimumExtent 21 setScaleDiv 18 setSpacing 20 setTickLength 19 setTransformation 19 spacing 20 tickLabel 23 tickLength 20 QwtAbstractSlider 23 QwtAbstractSlider 25 QwtAbstractSlider QwtAbstractSlider 25 fitValue 27 getScrollMode 30 getValue 30 incValue 28 isReadOnly 27 isValid 27 keyPressEvent 30 mass 26 mouseMoveE vent 29 mousePressEvent 29 mouseReleaseEvent 29 orientation 26 QwtAbstractSlider 25 ScrollMode 25 setMass 26 setOrientation 26 setPosition 29 setReadOnly 28 setTracking 25 setUpdateTime 25 set Valid 27 set Value 27 sliderMoved 29 sliderPressed 28 sliderReleased 28 stopMoving 25 timerEvent 29 valueChange 29 valueChanged 28 wheelEvent 30 QwtAlphaColorMap 31 QwtAlphaColorMap 32 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 425 QwtAlphaColorMap QwtAlphaColorMap 32 color 33 copy 32 operator 32 QwtAlphaColorMap 32 rgb 33 setColor 32 QwtAnalogClock 33 QwtAnalogClock 35 QwtAnalogClock QwtAnalogClock 35 drawHand 37 drawNeedle 36 Hand 35 hand 35 QwtAnalogClock 35 scaleLabel 36 setCurrentTime 36 setHand 35 set
230. drawSymbols QPainter p const QwtSymbol amp const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void drawLines QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void drawSticks QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void drawDots QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void drawSteps QPainter xp const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const void fillCurve QPainter const QwtScaleMap amp const QwtScaleMap amp QwtPolygon amp const void closePolyline const QwtScaleMap amp const QwtScaleMap amp QwtPolygon amp const 6 51 1 Detailed Description A plot item that represents a series of points A curve is the representation of a series of points in the x y plane It supports different display styles interpolation f e spline and symbols Usage a Assign curve properties When a curve is created it is configured to draw black solid lines with in Lines style and no symbols You can change this by calling setPen setStyle and setSymbol Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 212 b Connect Assign data QwtPlotCurve gets its points using a QwtData object offering a bridge to the real storage of the points like
231. e 6 73 4 21 QRect QwtScaleDraw labelRect const QFont amp font double value const Find the bounding rect for the label The coordinates of the rect are relative to spacing ticklength from the backbone in direction of the tick Parameters font Font used for painting value Value Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 328 6 73 4 22 QSize QwtScaleDraw labelSize const QFont amp font double value const Calculate the size that is needed to draw a label Parameters font Label font value Value 6 73 4 23 QRect QwtScaleDraw boundingLabelRect const QFont amp font double value const Find the bounding rect for the label The coordinates of the rect are absolute coordinates calculated from pos in direction of the tick Parameters font Font used for painting value Value See also labelRect 6 73 4 24 QMatrix QwtScaleDraw labelMatrix const QPoint amp pos const QSize amp size const protected Calculate the matrix that is needed to paint a label depending on its alignment and rotation Parameters pos Position where to paint the label size Size of the label See also setLabelAlignment setLabelRotation 6 73 4 25 void QwtScaleDraw drawTick QPainter painter double value int len const protected virtual Draw a tick Parameters painter Painter value Value of the tick len Lenght of the
232. e canvasRect Canvas rectangle pfilter Print filter See also QwtPlotPrintFilter 6 49 4 76 void QwtPlot printLegend QPainter painter const QRect amp rect const protected virtual Print the legend into a given rectangle Parameters painter Painter rect Bounding rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 50 QwtPlotCanvas Class Reference 205 6 50 QwtPlotCanvas Class Reference Canvas of a QwtPlot include lt qwt_plot_canvas h gt Public Types enum PaintAttribute PaintCached 1 PaintPacked 2 PaintFiltered 1 ClipPolygons 2 PaintUsingTextFont 1 PaintUsingTextColor 2 PaintBackground 4 enum FocusIndicator NoFocusIndicator CanvasFocusIndicator ItemFocusIndicator Public Member Functions QwtPlotCanvas QwtPlot virtual QwtPlotCanvas QwtPlot x plot Q const QwtPlot plot const void setFocusIndicator FocusIndicator FocusIndicator focusIndicator const void setPaintAttribute PaintAttribute bool on true bool testPaintAttribute PaintAttribute const QPixmap paintCache const QPixmap paintCache const void invalidatePaintCache void replot Protected Member Functions virtual void hideEvent QHideEvent virtual void paintEvent QPaintEvent virtual void drawContents QPainter virtual void drawFocusIndicator QPainter void drawCanvas QPainter painter NULL Gen
233. e LegendItemMode See also LegendItemMode 6 30 4 4 QwtLegend LegendItemMode QwtLegend itemMode const See also LegendItemMode 6 30 4 5 int QwtLegend identifierMode const Returns the IdentifierMode to be used in combination with LegendDisplayPolicy Fixed Default is ShowLine ShowSymbol ShowText 6 30 4 6 QWidget QwtLegend contentsWidget The contents widget is the only child of the viewport and the parent widget of all legend items 6 30 4 7 const QWidget QwtLegend contents Widget const The contents widget is the only child of the viewport and the parent widget of all legend items Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 124 6 30 4 8 void QwtLegend insert const QwtLegendItemManager x plotItem QWidget x legend Item Insert a new item for a plot item Parameters plotItem Plot item legendItem New legend item Note The parent of item will be changed to QwtLegend contents Widget 6 30 4 9 void QwtLegend remove const QwtLegendItemManager x plotItem Find the corresponding item for a plotItem and remove it from the item list Parameters plotItem Plot item 6 30 4 10 QWidget x QwtLegend find const QwtLegendItemManager x plotItem const Find the widget that represents a plot item Parameters plotItem Plot item Returns Widget on the legend or NULL 6 30 4 11 QwtLegendItemManag
234. e const QwtScaleDiv amp s void setAutoScale bool autoScale const void setScaleMaxMajor int ticks int scaleMaxMinor const void setScaleMaxMinor int ticks int scaleMaxMajor const void setScaleEngine QwtScaleEngine const QwtScaleEngine scaleEngine const QwtScaleEngine scaleEngine const QwtScaleMap amp scaleMap const Protected Member Functions e void rescale double vmin double vmax double step 0 0 e void setAbstractScaleDraw QwtAbstractScaleDraw e const QwtAbstractScaleDraw x abstractScaleDraw const e QwtAbstractScaleDraw abstractScaleDraw e virtual void scaleChange 6 1 1 Detailed Description An abstract base class for classes containing a scale QwtAbstractScale is used to provide classes with a QwtScaleDraw and a QwtScaleDiv The QwtScaleDiv might be set explicitely or calculated by a QwtScaleEngine 6 1 2 Constructor amp Destructor Documentation 6 1 2 1 QwtAbstractScale QwtAbstractScale Constructor Creates a default QwtScaleDraw and a QwtLinearScaleEngine Autoscaling is enabled and the stepSize is initialized by 0 0 6 1 2 2 QwtAbstractScale QwtAbstractScale virtual Destructor 6 1 3 Member Function Documentation 6 1 3 1 void QwtAbstractScale setScale double vmin double vmax double stepSize 0 0 Specify a scale Disable autoscaling and define a scale by an interval and a step size Generated on Sun Mar 22 16 44 05 2009 for Qwt
235. e QwtCounter sizeHint const virtual A size hint 6 14 4 9 void QwtCounter polish Q virtual Sets the minimum width for the buttons 6 14 4 10 double QwtCounter step const returns the step size Reimplemented from QwtDoubleRange 6 14 4 11 void QwtCounter setStep double stepSize Set the step size Parameters stepSize Step size See also QwtDoubleRange setStep Reimplemented from QwtDoubleRange 6 14 4 12 double QwtCounter min Val const returns the minimum value of the range 6 14 4 13 void QwtCounter setMin Value double value Set the minimum value of the range Parameters value Minimum value See also setMax Value min Val Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 62 6 14 4 14 double QwtCounter maxVal const returns the maximum value of the range 6 14 4 15 void QwtCounter setMax Value double value Set the maximum value of the range Parameters value Maximum value See also setMinValue max Val 6 14 4 16 void QwtCounter setStepButton1 int nSteps Set the number of increment steps for button 1 Parameters nSteps Number of steps 6 14 4 17 int QwtCounter stepButton1 const returns the number of increment steps for button 1 6 14 4 18 void QwtCounter setStepButton2 int nSteps Set the number of increment steps for button 2 Parameters nSteps Number of steps 6 14
236. e TriangleStyle const QColor amp light Qt white const QColor amp dark Qt red e virtual void draw QPainter const QPoint amp int length double direction QPalette Color Group QPalette Active const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 11 QwtCompassMagnetNeedle Class Reference 52 Static Public Member Functions e static void drawTriangleNeedle QPainter x const QPalette amp QPalette ColorGroup const QPoint amp int length double direction e static void drawThinNeedle QPainter x const QPalette amp QPalette ColorGroup const QPoint amp int length double direction Static Protected Member Functions e static void drawPointer QPainter painter const QBrush amp brush int colorOffset const QPoint amp center int length int width double direction 6 11 1 Detailed Description A magnet needle for compass widgets A magnet needle points to two opposite directions indicating north and south The following colors are used e QColorGroup Light Used for pointing south e QColorGroup Dark Used for pointing north e QColorGroup Base Knob ThinStyle only See also QwtDial QwtCompass 6 11 2 Member Enumeration Documentation 6 11 2 1 enum QwtCompassMagnetNeedle Style Style of the needle 6 11 3 Constructor amp Destructor Documentation 6 11 3 1 QwtCompassMagnetNeedle QwtCompassMagnetNeedle Style TriangleStyle const QColor amp light
237. e alignment of the flags QwtText flags returned from QwtAbstractScaleDraw label 6 73 4 15 Qt Alignment QwtScaleDraw labelAlignment const Returns the label flags See also setLabelAlignment labelRotation 6 73 4 16 void QwtScaleDraw setLabelRotation double rotation Rotate all labels When changing the rotation it might be necessary to adjust the label flags too Finding a useful combination is often the result of try and error Parameters rotation Angle in degrees When changing the label rotation the label flags often needs to be adjusted too See also setLabelAlignment labelRotation labelAlignment Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 327 6 73 4 17 double QwtScaleDraw labelRotation const Returns the label rotation See also setLabelRotation labelAlignment 6 73 4 18 int QwtScaleDraw maxLabelHeight const QFont amp font const Parameters font Font Returns the maximum height of a label 6 73 4 19 int QwtScaleDraw maxLabelWidth const QFont amp font const Parameters font Font Returns the maximum width of a label 6 73 4 20 QPoint QwtScaleDraw labelPosition double value const Find the position where to paint a label The position has a distance of majTickLength spacing 1 from the backbone The direction depends on the alignment Parameters value Valu
238. e by Doxygen 6 24 QwtDynGridLayout Class Reference 104 6 24 3 9 int QwtDynGridLayout count const virtual Returns Number of items in the layout 6 24 3 10 void QwtDynGridLayout setExpandingDirections Qt Orientations expanding Set whether this layout can make use of more space than sizeHint A value of Qt Vertical or Qt Horizontal means that it wants to grow in only one dimension while Qt Vertical Qt Horizontal means that it wants to grow in both dimensions The default value is 0 Parameters expanding Or d orientations See also expandingDirections 6 24 3 11 Qt Orientations QwtDynGridLayout expandingDirections const virtual Returns whether this layout can make use of more space than sizeHint A value of Qt Vertical or Qt Horizontal means that it wants to grow in only one dimension while Qt Vertical Qt Horizontal means that it wants to grow in both dimensions See also setExpandingDirections 6 24 3 12 QList lt QRect gt QwtDynGridLayout layoutItems const QRect amp rect uint numCols const Calculate the geometries of the layout items for a layout with numCols columns and a given rect Parameters rect Rect where to place the items numCols Number of columns Returns item geometries 6 24 3 13 int QwtDynGridLayout maxItemWidth const virtual Returns the maximum width of all layout items Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Gui
239. eMap s2 const inline Returns Second border of the scale interval 6 75 3 14 double QwtScaleMap pDist const inline Returns qwtAbs p2 p10 6 75 3 15 double QwtScaleMap sDist const inline Returns qwtAbs s2 s1 6 76 QwtScaleTransformation Class Reference Operations for linear or logarithmic base 10 transformations include lt qwt_scale_map h gt Public Types e enum Type RubberBand Text Linear Log10 Other Public Member Functions e QwtScaleTransformation Type type virtual QwtScaleTransformation virtual double xForm double x double s1 double s2 double p1 double p2 const virtual double invX Form double x double s1 double s2 double p1 double p2 const Type type const virtual QwtScaleTransformation copy const 6 76 1 Detailed Description Operations for linear or logarithmic base 10 transformations Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 76 QwtScaleTransformation Class Reference 339 6 76 2 Constructor amp Destructor Documentation 6 76 2 1 QwtScaleTransformation QwtScaleTransformation Type type Constructor for a linear transformation 6 76 2 2 QwtScaleTransformation QwtScaleTransformation virtual Destructor 6 76 3 Member Function Documentation 6 76 3 1 double QwtScaleTransformation xForm double s double s7 double s2 double p1 double p2 const virtual Transform a value
240. ected virtual Resize and update internal layout Parameters e Resize event 6 49 4 72 void QwtPlot printLegendItem QPainter x painter const QWidget w const QRect amp rect const protected virtual Print the legend item into a given rectangle Parameters painter Painter w Widget representing a legend item rect Bounding rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 204 6 49 4 73 void QwtPlot printTitle QPainter x painter const QRect amp rect const protected virtual Print the title into a given rectangle Parameters painter Painter rect Bounding rectangle 6 49 4 74 void QwtPlot printScale QPainter painter int axisId int startDist int endDist int base Dist const QRect amp rect const protected virtual Paint a scale into a given rectangle Paint the scale into a given rectangle Parameters painter Painter axisId Axis startDist Start border distance endDist End border distance baseDist Base distance rect Bounding rectangle 6 49 4 75 void QwtPlot printCanvas QPainter painter const QRect amp boundingRect const QRect amp canvasRect const QwtScaleMap map axisCnt const QwtPlotPrintFilter amp pfilter const protected virtual Print the canvas into a given rectangle Parameters painter Painter map Maps mapping between plot and paint device coordinates boundingRect Bounding rectangl
241. ed Description Data class containing a single QwtArray lt QwtDoublePoint gt object 6 67 2 Constructor amp Destructor Documentation 6 67 2 1 QwtPolygonFData QwtPolygonFData const QPolygonF amp polygon Constructor Parameters polygon Polygon data See also QwtPlotCurve setData 6 67 3 Member Function Documentation 6 67 3 1 QwtPolygonFData amp QwtPolygonFData operator const QwtPolygonFData amp Assignment 6 67 3 2 QwtData x QwtPolygonFData copy const virtual Returns Pointer to a copy virtual copy constructor Implements QwtData Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 68 QwtRasterData Class Reference 306 6 67 3 3 size_t QwtPolygonFData size const virtual Returns Size of the data set Implements QwtData 6 67 3 4 double QwtPolygonFData x size_ti const virtual Return the x value of data point i Parameters i Index Returns x X value of data point i Implements QwtData 6 67 3 5 double QwtPolygonFData y size_ti const virtual Return the y value of data point i Parameters i Index Returns y Y value of data point i Implements QwtData 6 67 3 6 const QPolygonF amp QwtPolygonFData data const Returns Point array 6 68 QwtRasterData Class Reference QwtRasterData defines an interface to any type of raster data include lt qwt_raster_data h gt Inheritance diagram for QwtRasterData QwiRas
242. ed on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 373 6 83 4 11 void QwtText setRenderFlags int renderFlags Change the render flags The default setting is Qt AlignCenter Parameters renderFlags Bitwise OR of the flags used like in QPainter drawText See also renderFlags QwtTextEngine draw Note Some renderFlags might have no effect depending on the text format 6 83 4 12 int QwtText renderFlags const Returns Render flags See also setRenderFlags 6 83 4 13 void QwtText setColor const QColor amp color Set the pen color used for painting the text Parameters color Color Note Setting the color might have no effect when the text contains control sequences for setting colors 6 83 4 14 QColor QwtText color const Return the pen color used for painting the text 6 83 4 15 QColor QwtText usedColor const QColor amp defaultColor const Return the color of the text if it has one Otherwise return defaultColor Parameters defaultColor Default color See also setColor color PaintAttributes Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 374 6 83 4 16 void QwtText setBackgroundPen const QPen amp pen Set the background pen Parameters pen Background pen See also backgroundPen Q setBackgroundBrush 6 83 4 17 QPen QwtText backgroundP
243. eference 140 Public Member Functions e virtual void autoScale int maxSteps double amp x1 double amp x2 double amp stepSize const e virtual QwtScaleDiv divideScale double x1 double x2 int numMajorSteps int numMinorSteps double stepSize 0 0 const e virtual QwtScaleTransformation transformation const Protected Member Functions e QwtDoublelInterval log10 const QwtDoubleInterval amp const e QwtDoublelInterval pow10 const QwtDoubleInterval amp const 6 35 1 Detailed Description A scale engine for logarithmic base 10 scales The step size is measured in decades and the major step size will be adjusted to fit the pattern 1 2 3 5 10 where n is a natural number including zero Warning the step size as well as the margins are measured in decades 6 35 2 Member Function Documentation 6 35 2 1 void QwtLog10ScaleEngine autoScale int maxNumSteps double amp x1 double amp x2 dou ble amp stepSize const virtual Align and divide an interval Parameters maxNumSteps Max number of steps x1 First limit of the interval In Out x2 Second limit of the interval In Out stepSize Step size Out See also QwtScaleEngine setAttribute Implements QwtScaleEngine 6 35 2 2 QwtScaleDiv QwtLog10ScaleEngine divideScale double x7 double x2 int maxMajSteps int maxMinSteps double stepSize 0 0 const virtual Calculate a scale division Parameters x1 First interval limi
244. eference 263 rubberBand Rubberband style trackerMode Tracker mode canvas Plot canvas to observe also the parent object See also QwtPicker QwtPicker setSelectionFlags QwtPicker setRubberBand QwtPicker setTracker Mode QwtPlot autoReplot QwtPlot replotQ QwtPlotPicker scaleRect 6 59 3 Member Function Documentation 6 59 3 1 void QwtPlotPicker setAxis int xAxis int yAxis virtual Set the x and y axes of the picker Parameters xAxis X axis yAxis Y axis Reimplemented in QwtPlotZoomer 6 59 3 2 int QwtPlotPicker xAxis const Return x axis 6 59 3 3 int QwtPlotPicker yAxis const Return y axis 6 59 3 4 QwtPlot x QwtPlotPicker plot 0 Return plot widget containing the observed plot canvas 6 59 3 5 const QwtPlot QwtPlotPicker plot const Return plot widget containing the observed plot canvas 6 59 3 6 QwtPlotCanvas x QwtPlotPicker canvas Return observed plot canvas 6 59 3 7 const QwtPlotCanvas QwtPlotPicker canvas const Return Observed plot canvas 6 59 3 8 void QwtPlotPicker selected const QwtDoublePoint amp pos signal A signal emitted in case of selectionFlags amp PointSelection Parameters pos Selected point Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 264 6 59 3 9 void QwtPlotPicker selected const QwtDoubleRect amp rect signal A signal emitted in case of se
245. eference point Parameters r new reference value The reference point is needed if options IncludeReference or Symmetric are active Its default value is 0 0 See also Attribute 6 74 4 6 double QwtScaleEngine reference const Returns the reference value See also setReference setAttribute 6 74 4 7 void QwtScaleEngine setMargins double lower double upper Specify margins at the scale s endpoints Parameters lower minimum distance between the scale s lower boundary and the smallest enclosed value upper minimum distance between the scale s upper boundary and the greatest enclosed value Margins can be used to leave a minimum amount of space between the enclosed intervals and the bound aries of the scale Warning e QwtLog10ScaleEngine measures the margins in decades See also upperMargin lowerMargin Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 333 6 74 4 8 double QwtScaleEngine lowerMargin const Returns the margin at the lower end of the scale The default margin is 0 See also setMargins 6 74 4 9 double QwtScaleEngine upper Margin const Returns the margin at the upper end of the scale The default margin is 0 See also setMargins 6 74 4 10 virtual void QwtScaleEngine autoScale int maxNumSteps double amp x1 double amp x2 double amp stepSize const pure virtual
246. efines the ratio between the current range on the parent widget and the zoomed range for each key press of the zoom in out keys The default value is 0 9 Parameters factor Key factor See also keyFactor setZoomInKey setZoomOutKey setWheelFactor setMouseFactor 6 36 3 14 double QwtMagnifier keyFactor const Returns Key factor See also setKeyFactor 6 36 3 15 void QwtMagnifier setZoomInKey int key int modifiers Assign the key that is used for zooming in The default combination is Qt Key_Plus Qt NoModifier Parameters key modifiers See also getZoomInKey setZoomOutKey 6 36 3 16 void QwtMagnifier getZoomInKey int amp key int amp modifiers const See also setZoomInKey Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 146 6 36 3 17 void QwtMagnifier setZoomOutKey int key int modifiers Assign the key that is used for zooming out The default combination is Qt Key_Minus Qt NoModifier Parameters key modifiers See also getZoomOutKey setZoomOutKey 6 36 3 18 void QwtMagnifier getZoomOutKey int amp key int amp modifiers const See also setZoomOutKey 6 36 3 19 bool QwtMagnifier eventFilter QObject o QEvent xe virtual Event filter When isEnabled the mouse events of the observed widget are filtered See also widgetMousePressEvent widgetMouse
247. elative to the y position of the marker but the horizontal flags correspond to the canvas rectangle In case of QwtPlotMarker VLine the alignment is relative to the X position of the marker but the vertical flags correspond to the canvas rectangle In all other styles the alignment is relative to the marker s position Parameters align Alignment A combination of AlignTop AlignBottom AlignLeft AlignRight AlignCenter AlgnHCenter AlignVCenter See also labelAlignment labelOrientation 6 57 4 18 Qt Alignment QwtPlotMarker labelAlignment const Returns the label alignment See also setLabelAlignment setLabelOrientation Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 257 6 57 4 19 void QwtPlotMarker setLabelOrientation Qt Orientation orientation Set the orientation of the label When orientation is Qt Vertical the label is rotated by 90 0 degrees from bottom to top Parameters orientation Orientation of the label See also labelOrientation setLabelAlignment 6 57 4 20 Qt Orientation QwtPlotMarker labelOrientation const Returns the label orientation See also setLabelOrientation labelAlignment 6 57 4 21 void QwtPlotMarker setSpacing int spacing Set the spacing When the label is not centered on the marker position the spacing is the distance between the position and the label Par
248. en INDEX 431 QwtPickerMachine 180 Command 180 QwtPickerMachine 180 reset 180 setState 181 state 180 transition 180 QwtPickerPolygonMachine 181 QwtPickerPolygonMachine transition 181 QwtPlainTextEngine 181 QwtPlainTextEngine 182 QwtPlainTextEngine QwtPlainTextEngine 182 draw 183 heightForWidth 182 mightRender 183 QwtPlainTextEngine 182 textMargins 183 textSize 182 QwtPlot 184 QwtPlot 188 QwtPlot QwiPlot 188 autoRefresh 201 autoReplot 188 Axis 187 axisAutoScale 193 axisEnabled 193 axisFont 194 axisMaxMajor 198 axisMaxMinor 198 axisScaleDiv 195 axisScaleDraw 196 axisScaleEngine 192 axisStepSize 195 axisTitle 197 axis Valid 201 axis Widget 196 canvas 190 canvasBackground 191 canvasLine Width 191 canvasMap 191 clear 201 drawCanvas 200 drawltems 202 enableAxis 193 event 200 insertLegend 198 invTransform 191 legend 199 legendChecked 200 legendClicked 200 legendItemChecked 201 legendItemClicked 201 LegendPosition 187 margin 189 minimumSizeHint 199 plotLayout 189 polish 199 print 188 189 printCanvas 203 printLegend 203 printLegendItem 202 printScale 203 printTitle 202 QwtPlot 188 replot 201 resizeEvent 202 setAutoReplot 188 setAxisAutoScale 192 setAxisFont 193 setAxisLabelAlignment 197 setAxisLabelRotation 197 setAxisMaxMajor 198 setAxisMaxMinor 198 setAxisScale 194 setAxisScaleDiv 194 setAxisScaleDraw 194 set
249. en const Returns Background pen See also setBackgroundPen backgroundBrush 6 83 4 18 void QwtText setBackgroundBrush const QBrush amp brush Set the background brush Parameters brush Background brush See also backgroundBrush setBackgroundPen 6 83 4 19 QBrush QwtText backgroundBrush const Returns Background brush See also setBackgroundBrush backgroundPen 6 83 4 20 void QwtText setPaintAttribute PaintAttribute attribute bool on true Change a paint attribute Parameters attribute Paint attribute on On Off Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 375 Note Used by setFont setColor setBackgroundPen and setBackgroundBrush See also testPaintAttribute 6 83 4 21 bool QwtText testPaintAttribute PaintAttribute attribute const Test a paint attribute Parameters attribute Paint attribute Returns true if attribute is enabled See also setPaintAttribute 6 83 4 22 void QwtText setLayoutAttribute LayoutAttribute attribute bool on t rue Change a layout attribute Parameters attribute Layout attribute on On Off See also testLayoutAttribute 6 83 4 23 bool QwtText testLayoutAttribute LayoutAttribute attribute const Test a layout attribute Parameters attribute Layout attribute Returns true if attribute is enabled See also setLay
250. endItem 130 clear QwtLegend 123 QwtPlot 201 QwtTextLabel 381 clicked QwtLegendItem 130 clipCircle QwtClipper 43 clipPolygon QwtClipper 42 clipPolygonF QwtClipper 42 clone QwtSymbol 364 closePolyline QwtPlotCurve 223 closestPoint QwtPlotCurve 215 coefficientsA QwtSpline 360 coefficientsB QwtSpline 360 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 416 coefficientsC count QwtSpline 360 QwtDynGridLayout 102 color cursor QwtAlphaColorMap 33 QwtPanner 157 QwtColorMap 45 CurveAttribute QwtPlotPrintFilter 268 QwtPlotCurve 212 QwtText 372 curveFitter colorl QwtPlotCurve 219 QwtLinearColorMap 136 curvePen color2 QwtLegendItem 129 QwtLinearColorMap 136 CurveStyle colorIndex QwtPlotCurve 211 QwtColorMap 45 CurveType QwtLinearColorMap 136 QwtPlotCurve 211 colorMap curveType QwtPlotSpectrogram 288 QwtPlotCurve 213 colorStops QwtLinearColorMap 135 colorTable QwtColorMap 46 columnsForWidth QwtDynGridLayout 104 Command QwtPickerMachine 180 compareEps QwtScaleArithmetic 315 ConrecAttribute QwtRasterData 306 contains QwtDoubleInterval 92 QwtScaleDiv 319 QwtScaleEngine 333 contentsRect QwtDial 77 contents Widget QwtLegend 122 contourLevels QwtPlotSpectrogram 291 contourLines QwtRasterData 308 contourPen QwtPlotSpectrogram 289 contourRasterSize QwtPlotSpectrogram 292 copy QwtAlphaColorMap 32 QwtArrayData 38 QwtColorMap 45 QwtC
251. endpoints of the scale will be integer multiples of the step size Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 331 Inverted Turn the scale upside down See also setAttribute testAttribute reference lowerMargin upperMargin 6 74 3 Constructor amp Destructor Documentation 6 74 3 1 QwtScaleEngine QwtScaleEngine explicit Constructor 6 74 3 2 QwtScaleEngine QwtScaleEngine virtual Destructor 6 74 4 Member Function Documentation 6 74 4 1 void QwtScaleEngine setAttribute Attribute attribute bool on t rue Change a scale attribute Parameters attribute Attribute to change on On Off See also Attribute testAttribute 6 74 4 2 bool QwtScaleEngine testAttribute Attribute attribute const Check if a attribute is set Parameters attribute Attribute to be tested See also Attribute setAttribute 6 74 4 3 void QwtScaleEngine setAttributes int attributes Change the scale attribute Parameters attributes Set scale attributes See also Attribute attributes Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 332 6 74 4 4 int QwtScaleEngine attributes const Return the scale attributes See also Attribute setAttributes testAttribute 6 74 4 5 void QwtScaleEngine setReference double r Specify a r
252. ent x e const Compare a key event with an event pattern A key event matches the pattern when both have the same key value and in the state value the same key flags Qt KeyButtonMask are set Parameters pattern Index of the event pattern e Key event Returns true if matches See also mouseMatch 6 25 4 13 bool QwtEventPattern mouseMatch const MousePattern amp pattern const QMouse Event x e const protected virtual Compare a mouse event with an event pattern A mouse event matches the pattern when both have the same button value and in the state value the same key flags Qt KeyButtonMask are set Parameters pattern Mouse event pattern e Mouse event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 26 QwtEventPattern KeyPattern Class Reference 113 Returns true if matches See also keyMatch 6 25 4 14 bool QwtEventPattern keyMatch const KeyPattern amp pattern const QKeyEvent x e const protected virtual Compare a key event with an event pattern A key event matches the pattern when both have the same key value and in the state value the same key flags Qt KeyButtonMask are set Parameters pattern Key event pattern e Key event Returns true if matches See also mouseMatch 6 26 QwtEventPattern KeyPattern Class Reference A pattern for key events include lt qwt_event_pattern h gt Public Member Functions e
253. enter the second a corner of the rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 165 CenterToRadius The first point is the center of a quadrat calculated by the maximum of the x and y distance The default value is CornerToCorner See also QwtPicker setSelectionFlags QwtPicker selectionFlags 6 41 2 3 enum QwtPicker SelectionMode Values of this enum type or d together with a SelectionType value identifies which state machine should be used for the selection The default value is ClickSelection See also stateMachine 6 41 2 4 enum QwtPicker RubberBand Rubberband style NoRubberBand No rubberband HLineRubberBand amp PointSelection A horizontal line VLineRubberBand amp PointSelection A vertical line CrossRubberBand amp PointSelection A horizontal and a vertical line RectRubberBand amp RectSelection A rectangle EllipseRubberBand amp RectSelection An ellipse PolygonRubberBand amp PolygonSelection A polygon UserRubberBand Values gt UserRubberBand can be used to define additional rubber bands The default value is NoRubberBand See also QwtPicker setRubberBand QwtPicker rubberBand Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 166 6 41 2 5 enum QwtPicker DisplayMode e AlwaysOff Display never e Alwa
254. er Functions e virtual void drawTick QPainter p double val int len const e virtual void drawBackbone QPainter p const e virtual void drawLabel QPainter p double val const 6 70 1 Detailed Description A class for drawing round scales QwtRoundScaleDraw can be used to draw round scales The circle segment can be adjusted by Qwt RoundScaleDraw setAngleRange The geometry of the scale can be specified with QwtRoundScale Draw moveCenter and QwtRoundScaleDraw setRadius After a scale division has been specified as a QwtScaleDiv object using QwtAbstractScaleDraw setScale Div const QwtScaleDiv amp s the scale can be drawn with the QwtAbstractScaleDraw draw member 6 70 2 Constructor amp Destructor Documentation 6 70 2 1 QwtRoundScaleDraw QwtRoundScaleDraw Constructor The range of the scale is initialized to 0 100 The center is set to 50 50 with a radius of 50 The angle range is set to 135 135 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 70 QwtRoundScaleDraw Class Reference 313 6 70 2 2 QwtRoundScaleDraw QwtRoundScaleDraw const QwtRoundScaleDraw amp Copy constructor 6 70 2 3 QwtRoundScaleDraw QwtRoundScaleDraw virtual Destructor 6 70 3 Member Function Documentation 6 70 3 1 QwtRoundScaleDraw amp QwtRoundScaleDraw operator const QwtRoundScaleDraw amp other Assignment operator 6 70 3 2 void QwtRoundScaleDraw setRad
255. er x QwtLegend find const QWidget legendItem const Find the widget that represents a plot item Parameters legendItem Legend item Returns Widget on the legend or NULL 6 30 4 12 QList lt QWidget x gt QwtLegend legendItems const virtual Return a list of all legend items 6 30 4 13 void QwtLegend clear Remove all items Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 125 6 30 4 14 bool QwtLegend isEmpty const Return true if there are no legend items 6 30 4 15 uint QwtLegend itemCount const Return the number of legend items 6 30 4 16 bool QwtLegend eventFilter QObject x o QEvent xe virtual Filter layout related events of QwtLegend contents Widget Parameters o Object to be filtered e Event 6 30 4 17 QSize QwtLegend sizeHint const virtual Return a size hint 6 30 4 18 int QwtLegend heightFor Width int width const virtual Returns The preferred height for the width w Parameters width Width 6 30 4 19 QScrollBar x QwtLegend horizontalScrollBar const Returns Horizontal scrollbar See also verticalScrollBar 6 30 4 20 QScrollBar QwtLegend verticalScrollBar const Returns Vertical scrollbar See also horizontalScrollBar Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 31 QwtLegendItem Class Reference 126 6
256. erated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 434 end 266 QwtPlotRescaler 275 invTransform 263 264 referenceAxis 276 move 265 rescale 278 moved 263 RescalePolicy 274 plot 262 rescalePolicy 275 QwtPlotPicker 261 scaleRect 263 selected 262 263 setAxis 262 trackerText 264 265 transform 264 xAxis 262 yAxis 262 QwtPlotPrintFilter 266 QwtPlotPrintFilter 268 QwtPlotPrintFilter QwtPlotPrintFilter 268 apply 269 color 268 font 268 Item 267 Options 267 options 268 QwtPlotPrintFilter 268 reset 269 setOptions 268 QwtPlotRasterItem 269 QwtPlotRasterltem 271 QwtPlotRasterltem QwtPlotRasterltem 271 alpha 271 CachePolicy 270 cachePolicy 272 draw 272 invalidateCache 272 QwtPlotRasterltem 271 rasterHint 272 renderImage 272 setAlpha 271 setCachePolicy 271 QwtPlotRescaler 273 QwtPlotRescaler 275 QwtPlotRescaler QwtPlotRescaler 275 aspectRatio 277 canvas 277 eventFilter 278 expandingDirection 276 expandInterval 279 expandScale 278 interval 279 isEnabled 275 orientation 279 plot 278 setAspectRatio 277 setEnabled 275 setExpandingDirection 276 setReferenceAxis 276 setRescalePolicy 275 syncScale 278 updateScales 279 QwtPlotScaleItem 280 QwtPlotScalelItem 281 QwtPlotScaleItem QwtPlotScaleItem 281 borderDistance 284 draw 284 font 282 isScaleDivFromAxis 282 palette 282
257. erated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 50 QwtPlotCanvas Class Reference 206 6 50 1 Detailed Description Canvas of a QwtPlot See also QwtPlot 6 50 2 Member Enumeration Documentation 6 50 2 1 enum QwtPlotCanvas PaintA ttribute Paint attributes e PaintCached Paint double buffered and reuse the content of the pixmap buffer for some spontaneous repaints that happen when a plot gets unhidden deiconified or changes the focus Disabling the cache will improve the performance for incremental paints using QwtPlotCurve draw e PaintPacked Suppress system background repaints and paint it together with the canvas contents Painting packed might avoid flickering for expensive repaints when there is a notable gap between painting the background and the plot contents The default setting enables PaintCached and PaintPacked See also setPaintAttribute testPaintAttribute paintCache 6 50 2 2 enum QwtPlotCanvas FocusIndicator Focus indicator e NoFocusIndicator Don t paint a focus indicator e CanvasFocusIndicator The focus is related to the complete canvas Paint the focus indicator using paintFocus ItemFocusIndicator The focus is related to an item curve point on the canvas It is up to the application to display a focus indication using f e highlighting See also setFocusIndicator focusIndicator paintFocus 6 50 3 Constructor amp Dest
258. escription A text engine for Qt rich texts QwtRichTextEngine renders Qt rich texts using the classes of the Scribe framework of Qt 6 69 2 Constructor amp Destructor Documentation 6 69 2 1 QwtRichTextEngine QwtRichTextEngine Constructor 6 69 3 Member Function Documentation 6 69 3 1 int QwtRichTextEngine heightFor Width const QFont amp font int flags const QString amp text int width const virtual Find the height for a given width Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered width Width Returns Calculated height Implements QwtTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 69 QwtRichTextEngine Class Reference 311 6 69 3 2 QSize QwtRichTextEngine textSize const QFont amp font int flags const QString amp text const virtual Returns the size that is needed to render text Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered Returns Caluclated size Implements QwtTextEngine 6 69 3 3 void QwtRichTextEngine draw QPainter painter const QRect amp rect int flags const QString amp text const virtual Draw the text in a clipping rectangle Parameters painter Painter rect Clipping rectangle flags Bitwise OR of the flags like in for QPainter drawText text Text to be rendered
259. essEvent widgetMouseReleaseEvent widgetMouseMoveEvent 6 40 3 13 void QwtPanner panned int dx int dy signal Signal emitted when panning is done Parameters dx Offset in horizontal direction dy Offset in vertical direction 6 40 3 14 void QwtPanner moved int dx int dy signal Signal emitted while the widget moved but panning is not finished Parameters dx Offset in horizontal direction dy Offset in vertical direction 6 40 3 15 void QwtPanner widgetMousePressEvent QMouseEvent me protected virtual Handle a mouse press event for the observed widget Parameters me Mouse event See also eventFilter widgetMouseReleaseEvent widgetMouseMoveEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 40 QwtPanner Class Reference 160 6 40 3 16 void QwtPanner widgetMouseReleaseEvent QMouseEvent me protected virtual Handle a mouse release event for the observed widget Parameters me Mouse event See also eventFilter widgetMousePressEvent widgetMouseMoveEvent 6 40 3 17 void QwtPanner widgetMouseMoveEvent QMouseEvent me protected virtual Handle a mouse move event for the observed widget Parameters me Mouse event See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent 6 40 3 18 void QwtPanner widgetKeyPressEvent QKeyEvent x ke protected virtual Handle a key press event for the observed
260. etDisplayPolicy displayPolicy QwtLegendItem IdentifierMode 6 30 2 2 enum QwtLegend LegendItemMode Interaction mode for the legend items e ReadOnlyItem The legend item is not interactive like a label e ClickableItem The legend item is clickable like a push button e CheckableItem The legend item is checkable like a checkable button Default is ReadOnlyItem See also setItemMode itemMode QwtLegendItem IdentifierMode QwtLegendItem clickedQ Qwt LegendItem checked QwtPlot legendClicked QwtPlot legendChecked 6 30 3 Constructor amp Destructor Documentation 6 30 3 1 QwtLegend QwtLegend QWidget x parent NULL explicit Constructor Parameters parent Parent widget 6 30 3 2 QwtLegend QwtLegend virtual Destructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 123 6 30 4 Member Function Documentation 6 30 4 1 void QwtLegend setDisplayPolicy LegendDisplayPolicy policy int mode Set the legend display policy to Parameters policy Legend display policy mode Identifier mode or d ShowLine ShowSymbol ShowText See also displayPolicy LegendDisplay Policy 6 30 4 2 QwtLegend LegendDisplayPolicy QwtLegend displayPolicy const Returns the legend display policy Default is LegendDisplayPolicy Auto See also setDisplayPolicy LegendDisplayPolicy 6 30 4 3 void QwtLegend setItemMod
261. etTitle const QString amp title void setTitle const QwtText amp title QwtText title const void setBorderDist int start int end int startBorderDist const int endBorderDist const void getBorderDistHint int amp start int amp end const void getMinBorderDist int amp start int amp end const void setMinBorderDist int start int end void setMargin int int margin const void setSpacing int td int spacing const void setPenWidth int int penWidth const void setScaleDiv QwtScaleTransformation const QwtScaleDiv amp sd void setScaleDraw QwtScaleDraw const QwtScaleDraw x scaleDraw const QwtScaleDraw x scaleDraw void setLabelAlignment Qt Alignment void setLabelRotation double rotation void setColorBarEnabled bool bool isColorBarEnabled const void setColorBar Width int int colorBarWidth const void setColorMap const QwtDoubleInterval amp const QwtColorMap amp QwtDoublelInterval colorBarInterval const const QwtColorMap amp colorMap const virtual QSize sizeHint const virtual QSize minimumSizeHint const int titleHeightForWidth int width const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 341 e int dimForLength int length const QFont amp scaleFont const e void drawColorBar QPainter painter const QRect amp rect const e void drawTitle QPainter painter QwtSca
262. etrics int layoutToDeviceX int x const e int deviceToLayoutX int x const e int screenToLayoutX int x const int layoutToScreenX int x const e int layoutToDeviceY int y const e int deviceToLayoutY int y const e int screenToLayoutyY int y const int layoutToScreenY int y const QPoint layoutToDevice const QPoint amp const QPainter x NULL const QPoint deviceToLayout const QPoint amp const QPainter NULL const e QPoint screenToLayout const QPoint amp const e QPoint layoutToScreen const QPoint amp point const e QSize layoutToDevice const QSize amp const QSize deviceToLayout const QSize amp const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 38 QwtMetricsMap Class Reference 151 e QSize screenToLayout const QSize amp const e QSize layoutToScreen const QSize amp const QRect layoutToDevice const QRect amp const QPainter NULL const e QRect deviceToLayout const QRect amp const QPainter NULL const e QRect screenToLayout const QRect amp const QRect layoutToScreen const QRect amp const e QwtPolygon layoutToDevice const QwtPolygon amp const QPainter NULL const e QwtPolygon deviceToLayout const QwtPolygon amp const QPainter _NULL const Static Public Member Functions e static QwtPolygon translate const QMatrix amp const QwtPolygon amp e static QRect translate const QMatrix amp const QRect amp
263. eyReleaseEvent 6 41 4 47 void QwtPicker stretchSelection const QSize amp oldSize const QSize amp newSize protected virtual Scale the selection by the ratios of oldSize and newSize The changed signal is emitted Parameters oldSize Previous size newSize Current size See also ResizeMode setResizeMode resizeMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 42 QwtPickerClickPointMachine Class Reference 177 6 41 4 48 QwtPickerMachine QwtPicker stateMachine int flags const protected virtual Create a state machine depending on the selection flags e PointSelection ClickSelection QwtPickerClickPointMachine e PointSelection DragSelection QwtPickerDragPointMachine e RectSelection ClickSelection QwtPickerClickRectMachine e RectSelection DragSelection QwtPickerDragRectMachine e PolygonSelection QwtPickerPolygonMachine See also setSelectionFlags 6 41 4 49 void QwtPicker updateDisplay protected virtual Update the state of rubberband and tracker label 6 41 4 50 const QWidget QwtPicker rubberBandWidget const protected Returns Widget displaying the rubberband 6 41 4 51 const QWidget QwtPicker trackerWidget const protected Returns Widget displaying the tracker text 6 42 QwtPickerClickPointMachine Class Reference A state machine for point selections include lt qwt_picker_machine h gt
264. f the work is an executable linked with the Library with the complete machine readable work that uses the Library as object code and or source code so that the user can modify the Library and then relink to produce a modified executable containing the modified Library It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions b Use a suitable shared library mechanism for linking with the Library A suitable mechanism is one that 1 uses at run time a copy of the library already present on the user s computer system rather than copying library functions into the executable and 2 will operate properly with a modified version of the library if the user installs one as long as the modified version is interface compatible with the version that the work was made with Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 406 c Accompany the work with a written offer valid for at least three years to give the same user the materials specified in Subsection 6a above for a charge no more than the cost of performing this distribution d If distribution of the work is made by offering access to copy from a designated place offer equivalent access to copy the above specified materials from the same place e Verify that the user has already received a
265. fied axis or NULL if axisId is invalid Parameters axisId axis index 6 49 4 42 void QwtPlot setAxisLabelAlignment int axisId Qt Alignment alignment Change the alignment of the tick labels Parameters axisId axis index alignment Or d Qt AlignmentFlags lt see qnamespace h gt See also QwtScaleDraw setLabelAlignment 6 49 4 43 void QwtPlot setAxisLabelRotation int axisId double rotation Rotate all tick labels Parameters axisId axis index rotation Angle in degrees When changing the label rotation the label alignment might be adjusted too See also QwtScaleDraw setLabelRotation setAxisLabelAlignment 6 49 4 44 void QwtPlot setAxisTitle int axisId const QString amp title Change the title of a specified axis Parameters axisId axis index title axis title 6 49 4 45 void QwtPlot setAxisTitle int axisId const QwtText amp title Change the title of a specified axis Parameters axisId axis index title axis title Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 199 6 49 4 46 QwtText QwtPlot axisTitle int axisId const Returns the title of a specified axis Parameters axisId axis index 6 49 4 47 void QwtPlot setAxisMaxMinor int axisId int maxMinor Set the maximum number of minor scale intervals for a specified axis Parameters axisId axis index maxMinor maximum number of minor step
266. fier 141 QwtPicker 169 170 pDist QwtScaleMap 337 pen QwtPlotCurve 217 QwtSymbol 366 penWidth QwtDialScaleDraw 84 QwtScaleWidget 343 periodic QwtDoubleRange 97 pickRect QwtPicker 170 pipeWidth QwtThermo 388 plot QwtPlotCanvas 206 QwtPlotItem 234 QwtPlotMagnifier 250 QwtPlotPanner 258 QwtPlotPicker 262 QwtPlotRescaler 278 plotLayout QwtPlot 189 points QwtSpline 359 polish QwtCounter 60 QwtPlot 199 pos QwtScaleDraw 324 position QwtPlotScalelItem 283 pow10 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 424 QwtLog10ScaleEngine 140 pressed QwtLegendItem 130 prev Value QwtDoubleRange 99 print QwtPlot 188 189 printCanvas QwtPlot 203 printLegend QwtPlot 203 printLegendItem QwtPlot 202 printScale QwtPlot 203 printTitle QwtPlot 202 qwt_double_rect h 397 QwtDoublePoint 398 QwtDoubleRect 398 QwtDoubleSize 398 qwt_plot_dict h 398 QwtPlotItemList 399 QwtAbstractScale 12 QwtAbstractScale 13 QwtAbstractScale QwtAbstractScale 13 abstractScaleDraw 16 autoScale 14 QwtAbstractScale 13 rescale 16 scaleChange 16 scaleEngine 15 scaleMap 15 scaleMaxMajor 15 scaleMaxMinor 14 setAbstractScaleDraw 16 setAutoScale 14 setScale 13 14 setScaleEngine 15 setScaleMaxMajor 14 setScaleMaxMinor 15 QwtAbstractScaleDraw 17 QwtAbstractScaleDraw 18 QwtAbstractScaleDraw QwtAbstractScaleDraw 18
267. fier canvas Return observed plot canvas 6 56 3 4 const QwtPlotCanvas QwtPlotMagnifier canvas const Return Observed plot canvas 6 56 3 5 QwtPlot x QwtPlotMagnifier plot Return plot widget containing the observed plot canvas 6 56 3 6 const QwtPlot QwtPlotMagnifier plot const Return plot widget containing the observed plot canvas Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 252 6 56 3 7 void QwtPlotMagnifier rescale double factor protected virtual Zoom in out the axes scales Parameters factor A value lt 1 0 zooms in a value gt 1 0 zooms out Implements QwtMagnifier 6 57 QwtPlotMarker Class Reference A class for drawing markers include lt qwt_plot_marker h gt Inheritance diagram for QwtPlotMarker QwtLegenditemManager QwtPlotitem QwtPlotMarker Public Types e enum LineStyle NoLine HLine VLine Cross Public Member Functions e QwtPlotMarker virtual QwtPlotMarker virtual int rtti const double xValue const double yValue const QwtDoublePoint value const void setX Value double void set Y Value double void set Value double double void set Value const QwtDoublePoint amp void setLineStyle LineStyle st LineStyle lineStyle const void setLinePen const QPen amp p const QPen amp linePen const
268. for a regular Unix build qmake make E Qtopia Qtopia Core I once compiled the Qwt library against Qtopia 4 2 0 successfully but not more It should be possible to build and install Qwt but it s not done yet Good luck 8 3 Curve Plots 8 4 Scatter Plot 8 5 Spectrogram Contour Plot Ix 8 6 Histogram 8 7 Dials Compasses Knobs Wheels Sliders Thermos 8 8 Deprecated List Member QwtPlot clear Use QwtPlotDeict detachItems instead Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 8 Deprecated List 412 Class QwtPlotPrintFilter In Qwt 5 0 the design of QwtPlot allows recommends writing individual Qwt PlotItems that are not known to QwtPlotPrintFilter So this concept is outdated and QwtPlotPrint Filter will be removed replaced in Qwt 6 x Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen Index QwtAbstractScale QwtAbstractScale 13 QwtAbstractScaleDraw QwtAbstractScaleDraw 18 QwtAbstractSlider QwtAbstractSlider 25 QwtAlphaColorMap QwtAlphaColorMap 32 QwtAnalogClock QwtAnalogClock 35 QwtArrowButton QwtArrowButton 40 QwtColorMap QwtColorMap 44 QwtCompass QwtCompass 47 QwtCounter QwtCounter 59 QwtCurveFitter QwtCurveFitter 66 QwtData QwtData 67 QwtDial QwtDial 71 QwtDialNeedle QwtDialNeedle 82 QwtDoubleRange QwtDoubleRange 95 QwtDynGridLayout QwtDynGridLayout 101 QwtEventPattern QwtEventPattern 10
269. from a list that are not inside an interval Parameters ticks Tick list interval Interval Returns Stripped tick list 6 74 4 15 double QwtScaleEngine divideInterval double intervalSize int numSteps const protected Calculate a step size for an interval size Parameters intervalSize Interval size numSteps Number of steps Returns Step size 6 74 4 16 QwtDoubleInterval QwtScaleEngine buildInterval double v const protected Build an interval for a value In case of v 0 0 the interval is 0 5 0 5 otherwide it is 0 5 v 1 5 v Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 75 QwtScaleMap Class Reference 335 6 75 QwtScaleMap Class Reference A scale map include lt qwt_scale_map h gt Public Member Functions e QwtScaleMap e QwtScaleMap const QwtScaleMap amp QwtScaleMap QwtScaleMap amp operator const QwtScaleMap amp void setTransformation QwtScaleTransformation const QwtScaleTransformation transformation const void setPaintInterval int p1 int p2 void setPaintXInterval double p1 double p2 void setScaleInterval double s1 double s2 int transform double x const double invTransform double i const double xTransform double x const double p1 const double p2 const double s1 const double s2 const double pDist const double sDist const Public Attributes e QT_STATIC_CONST double LogMin e QT_S
270. h int width Specify the width of the scale pen Parameters width Pen width See also penWidthQ Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 345 6 77 3 16 int QwtScaleWidget penWidth const Returns Scale pen width See also setPenWidth 6 77 3 17 void QwtScaleWidget setScaleDiv QwtScaleTransformation transformation const QwtScaleDiv amp scaleDiv Assign a scale division The scale division determines where to set the tick marks Parameters transformation Transformation needed to translate between scale and pixal values scaleDiv Scale Division See also For more information about scale divisions see QwtScaleDiv 6 77 3 18 void QwtScaleWidget setScaleDraw QwtScaleDraw sd Set a scale draw sd has to be created with new and will be deleted in QwtScaleWidget or the next call of setScaleDraw Parameters sd ScaleDraw object See also scaleDraw 6 77 3 19 const QwtScaleDraw QwtScaleWidget scaleDraw const scaleDraw of this scale See also setScaleDraw QwtScaleDraw setScaleDraw 6 77 3 20 QwtScaleDraw QwtScaleWidget scaleDraw scaleDraw of this scale See also QwtScaleDraw setScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 346 6 77 3 21 void QwtScaleWidget setLabelAlignment Qt Alignment
271. he autoReplot option If the autoReplot option is set the plot will be updated implicitly by manipulating member functions Since this may be time consuming it is recommended to leave this option switched off and call replot explicitly if necessary The autoReplot option is set to false by default which means that the user has to call replot in order to make changes visible Parameters tf true or false Defaults to true See also replot 6 49 4 2 bool QwtPlot autoReplot const Returns true if the autoReplot option is set Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 190 6 49 4 3 void QwtPlot print QPaintDevice amp paintDev const QwtPlotPrintFilter amp pfilter Qwt PlotPrintFilter const Print the plot to a QPaintDevice QPrinter This function prints the contents of a QwtPlot instance to QPaintDevice object The size is derived from its device metrics Parameters paintDev device to paint on often a printer pfilter print filter See also QwtPlotPrintFilter 6 49 4 4 void QwtPlot print QPainter painter const QRect amp plotRect const QwtPlotPrintFilter amp pfilter QwtPlotPrintFilter const virtual Paint the plot into a given rectangle Paint the contents of a QwtPlot instance into a given rectangle Parameters painter Painter plotRect Bounding rectangle pfilter Print filter See also QwtPlotPrintFilter
272. he axes and set the zoom base to their scales Parameters xAxis X axis yAxis Y axis Reimplemented from QwtPlotPicker 6 66 3 6 void QwtPlotZoomer setMaxStackDepth int depth Limit the number of recursive zoom operations to depth A value of 1 set the depth to unlimited 0 disables zooming If the current zoom rectangle is below depth the plot is unzoomed Parameters depth Maximum for the stack depth See also maxStackDepth Note depth doesn t include the zoom base so zoomStack count might be maxStackDepth 1 6 66 3 7 int QwtPlotZoomer maxStackDepth const Returns Maximal depth of the zoom stack See also setMaxStackDepth 6 66 3 8 const QwtZoomStack amp QwtPlotZoomer zoomStack const Return the zoom stack zoomStack 0 is the zoom base zoomStack 1 the first zoomed rectangle See also setZoomStack zoomRectIndex Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 302 6 66 3 9 uint QwtPlotZoomer zoomRectIndex const Returns Index of current position of zoom stack 6 66 3 10 void QwtPlotZoomer setSelectionFlags int flags virtual Set the selection flags Parameters flags Or d value of QwtPicker RectSelectionType and QwtPicker SelectionMode The default value is QwtPicker RectSelection amp QwtPicker ClickSelection See also selectionFlags SelectionType RectSelecti
273. he canvas legendRect Maximum geometry for the legend Returns Geometry for the aligned legend 6 55 4 23 void QwtPlotLayout expandLineBreaks int options const QRect amp rect int amp dimTitle int dimAxis QwtPlot axisCnt const protected Expand all line breaks in text labels and calculate the height of their widgets in orientation of the text Parameters options Options how to layout the legend rect Bounding rect for title axes and canvas dimTitle Expanded height of the title widget dimAxis Expanded heights of the axis in axis orientation See also Options 6 55 4 24 void QwtPlotLayout alignScales int options QRect amp canvasRect QRect scaleRect Qwt Plot axisCnt const protected Align the ticks of the axis to the canvas borders using the empty corners See also Options Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 56 QwtPlotMagnifier Class Reference 250 6 56 QwtPlotMagnifier Class Reference QwtPlotMagnifier provides zooming by magnifying in steps include lt qwt_plot_magnifier h gt Inheritance diagram for QwtPlotMagnifier QuwiMagnifier QuwiPlotMagnifier Public Member Functions e QwtPlotMagnifier QwtPlotCanvas virtual QwtPlotMagnifier void setAxisEnabled int axis bool on bool isAxisEnabled int axis const QwtPlotCanvas canvas const QwtPlotCanvas canvas const QwtPlot x plot Q const QwtPlot
274. he suffix pro Files that end with the suffix pri are included by the project files and contain definitions that are common for several project files qwtconfig pri is read by all project files of the Qwt package So the first step is to edit qwtconfig pri to adjust it to your needs MathML Extension Qwt Qt4 supports the MathML render engine from the Qt solutions package that is only available with a commercial Qt license You need a release of gtmmlwidget gt 2 1 Copy the files qtmmlwidget cpp h to textengines mathml Documentation Qwt includes a class documentation that is available in various formats Html files PDF document Qt Compressed Help qch for the Qt assistant Man pages UNIX only A Unix Qt3 ot4 qmake make make install If you have installed a shared library it s path has to be known to the run time linker of your operating system On Linux systems read man ldconfig or google for it Another option is to use he LD_LIBRARY_PATH on some systems LIBPATH is used instead on MacOSX it is called DYLD_LIBRARY_PATH environment variable ct If you only want to check the Qwt examples without installing something you can set the LD_LIBRARY_PATH to the lib directory f your local build If you didn t enable autobuilding of the examples in qwtconfig pri you have to build the examples this way cd examples qmake make B Win32 MSVC Qt3 Qt4 Please read the qma
275. how to render it Format A text might include control sequences f e tags describing how to render it Each format f e Math ML TeX Qt Rich Text has its own set of control sequences that can be handles by a QwtTextEngine for this format Background A text might have a background defined by a QPen and QBrush to improve its visibility Font A text might have an individual font Color A text might have an individual color Render Flags Flags from Qt AlignmentFlag and Qt TextFlag used like in QPainter drawText See also QwtTextEngine QwtTextLabel Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 370 6 83 2 Member Enumeration Documentation 6 83 2 1 enum QwtText TextFormat Text format The text format defines the QwtTextEngine that is used to render the text AutoText The text format is determined using QwtTextEngine mightRender for all available text engines in increasing order gt PlainText If none of the text engines can render the text is rendered like Plain Text PlainText Draw the text as it is using a QwtPlainTextEngine RichText Use the Scribe framework Qt Rich Text to render the text MathMLtText Use a MathML http en wikipedia org wiki MathML render engine to display the text The Qwt MathML extension offers such an engine based on the MathML renderer of the Qt solutions package Unfortunately it is only available fo
276. ice layout const QPaintDevice device static void setMetricsMap const QwtMetricsMap amp static void resetMetricsMap static const QwtMetricsMap amp metricsMap static void setDeviceClipping bool static bool deviceClipping static const QRect amp deviceClipRect static void setClipRect QPainter x const QRect amp static void drawText QPainter x int x int y const QString amp static void drawText QPainter x const QPoint amp const QString amp static void drawText QPainter x int x int y int w int h int flags const QString amp static void drawText QPainter x const QRect amp int flags const QString amp static void drawSimpleRichText QPainter const QRect amp int flags QTextDocument amp static void drawRect QPainter x int x int y int w int h static void drawRect QPainter x const QRect amp rect static void fillRect QPainter x const QRect amp const QBrush amp static void drawEllipse QPainter const QRect amp static void drawPie QPainter x const QRect amp r int a int alen static void drawLine QPainter int x1 int y1 int x2 int y2 static void drawLine QPainter const QPoint amp p1 const QPoint amp p2 static void drawPolygon QPainter x const QwtPolygon amp pa static void drawPolyline QPainter x const QwtPolygon amp pa static void drawPoint QPainter x int x int y static void drawRoundFrame QPainter x const QRect amp
277. idth Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered width Width Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 84 QwtTextEngine Class Reference 379 Returns Calculated height Implemented in QwtPlainTextEngine QwtRichTextEngine and QwtMathMLTextEngine 6 84 3 2 virtual QSize QwtTextEngine textSize const QFont amp font int flags const QString amp text const pure virtual Returns the size that is needed to render text Parameters font Font of the text flags Bitwise OR of the flags like in for QPainter drawText text Text to be rendered Returns Caluclated size Implemented in QwtPlainTextEngine QwtRichTextEngine and QwtMathMLTextEngine 6 84 3 3 virtual bool QwtTextEngine mightRender const QString amp text const pure virtual Test if a string can be rendered by this text engine Parameters text Text to be tested Returns true if it can be rendered Implemented in QwtPlainTextEngine QwtRichTextEngine and QwtMathMLTextEngine 6 84 3 4 virtual void QwtTextEngine textMargins const QFont amp font const QString amp text int amp left int amp right int amp top int amp bottom const pure virtual Return margins around the texts The textSize might include margins around the text like QFontMetrics descent In situations where texts need to be aligend in detail knowi
278. ientation It is at least minimumExtent pixels See also setMinimumExtent minimumExtent Implemented in QwtRoundScaleDraw and QwtScaleDraw 6 2 4 16 void QwtAbstractScaleDraw setMinimumExtent int minExtent Set a minimum for the extent The extent is calculated from the coomponents of the scale draw In situations where the labels are chang ing and the layout depends on the extent f e scrolling a scale setting an upper limit as minimum extent will avoid jumps of the layout Parameters minExtent Minimum extent See also extent minimumExtent 6 2 4 17 int QwtAbstractScaleDraw minimumExtent const Get the minimum extent See also extent setMinimumExtent 6 2 4 18 QwtScaleMap amp QwtAbstractScaleDraw scaleMap Returns Map how to translate between scale and pixel values 6 2 4 19 virtual void QwtAbstractScaleDraw drawTick QPainter painter double value int len const protected pure virtual Draw a tick Parameters painter Painter value Value of the tick len Lenght of the tick Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 23 See also drawBackbone drawLabel Implemented in QwtRoundScaleDraw and QwtScaleDraw 6 2 4 20 virtual void QwtAbstractScaleDraw drawBackbone QPainter painter const protected pure virtual Draws the baseline of the scale Parameters painter Painter
279. if automatic scrolling is active 6 3 4 3 void QwtAbstractSlider setTracking bool enable Enables or disables tracking If tracking is enabled the slider emits a valueChanged signal whenever its value changes the default behaviour If tracking is disabled the value changed signal will only be emitted if e the user releases the mouse button and the value has changed or e at the end of automatic scrolling Tracking is enabled by default Parameters enable true enable or false disable tracking Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 27 6 3 4 4 void QwtAbstractSlider setMass double val virtual Set the slider s mass for flywheel effect If the slider s mass is greater then 0 it will continue to move after the mouse button has been released Its speed decreases with time at a rate depending on the slider s mass A large mass means that it will continue to move for a long time Derived widgets may overload this function to make it public Parameters val New mass in kg See also mass Reimplemented in QwtWheel 6 3 4 5 double QwtAbstractSlider mass const virtual Returns mass See also setMass Reimplemented in QwtWheel 6 3 4 6 void QwtAbstractSlider setOrientation Qt Orientation 0 virtual Set the orientation Parameters o Orientation Allowed values are Qt Horizontal and Qt Vertic
280. implemented in QwtPlotPicker 6 41 4 36 void QwtPicker move const QPoint amp pos protected virtual Move the last point of the selection The moved signal is emitted Parameters pos New position See also isActive begin end append Reimplemented in QwtPlotPicker 6 41 4 37 bool QwtPicker end bool ok true protected virtual Close a selection setting the state to inactive The selection is validated and maybe fixed by QwtPicker accept Parameters ok If true complete the selection and emit a selected signal otherwise discard the selection Returns true if the selection is accepted false otherwise See also isActive begin append move selected accept Reimplemented in QwtPlotPicker and QwtPlotZoomer 6 41 4 38 void QwtPicker reset protected virtual Reset the state machine and terminate end false the selection 6 41 4 39 void QwtPicker widgetMousePressEvent QMouseEvent e protected virtual Handle a mouse press event for the observed widget Begin and or end a selection depending on the selection flags Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 175 See also QwtPicker selectionFlags eventFilter widgetMouseReleaseEvent widgetMouseDoubleClickEvent widgetMouseMove Event widgetWheelEvent widgetKeyPressEvent widgetKeyReleaseEvent 6 41 4 40 void QwtPic
281. in the interval See also setBorderMode testBorderMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 91 6 22 3 Constructor amp Destructor Documentation 6 22 3 1 QwtDoubleInterval QwtDoubleInterval inline Default Constructor Creates an invalid interval 0 0 1 0 See also setInterval is Valid 6 22 3 2 QwtDoubleInterval QwtDoubleInterval double minValue double max Value int border Flags IncludeBorders inline Constructor Build an interval with from min max values Parameters minValue Minimum value max Value Maximum value borderFlags Include Exclude borders 6 22 4 Member Function Documentation 6 22 4 1 void QwtDoubleInterval setInterval double min Value double max Value int borderFlags IncludeBorders inline Assign the limits of the interval Parameters minValue Minimum value max Value Maximum value borderFlags Include Exclude borders 6 22 4 2 QwtDoubleInterval QwtDoubleInterval normalized const Normalize the limits of the interval If max Value lt minValue the limits will be inverted Returns Normalized interval See also is Valid inverted Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 22 QwtDoubleInterval Class Reference 92 6 22 4 3 QwtDoubleInterval QwtDoubleInterval inverted const Invert the limits of the interval Returns
282. index see QwtPlot AxisId oldSize Previous size of the canvas newSize New size of the canvas Returns Calculated new interval for the axis Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 280 6 62 4 21 QwtDoubleInterval QwtPlotRescaler syncScale int axis const QwtDoubleInterval amp reference const QSize amp size const protected virtual Synchronize an axis scale according to the scale of the reference axis Parameters axis Axis index see QwtPlot AxisId reference Interval of the reference axis size Size of the canvas 6 62 4 22 void QwtPlotRescaler updateScales QwtDoublelInterval intervals QwtPlot axisCnt const protected virtual Update the axes scales Parameters intervals Scale intervals 6 62 4 23 Qt Orientation QwtPlotRescaler orientation int axis const protected Return orientation of an axis Parameters axis Axis index see QwtPlot AxisId 6 62 4 24 QwtDoubleInterval QwtPlotRescaler interval int axis const protected Return interval of an axis Parameters axis Axis index see QwtPlot AxisId 6 62 4 25 QwtDoubleInterval QwtPlotRescaler expandInterval const QwtDoubleInterval amp inter val double width ExpandingDirection direction const protected Expand the interval Parameters interval Interval to be expanded width Distance to be added to the interval direction Direction of
283. int width const QPalette amp bool sunken static void drawFocusRect QPainter x QWidget static void drawFocusRect QPainter x QWidget x const QRect amp static void drawColorBar QPainter painter const QwtColorMap amp const QwtDoublelInterval amp const QwtScaleMap amp Qt Orientation const QRect amp static QPen scaledPen const QPen amp 6 39 1 Detailed Description A collection of QPainter workarounds 1 Clipping to coordinate system limits Qt3 only On X11 pixel coordinates are stored in shorts Qt produces overruns when mapping QCOORDS to shorts 2 Scaling to device metrics Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 39 QwtPainter Class Reference 153 QPainter scales fonts line and fill patterns to the metrics of the paint device Other values like the geome tries of rects points remain device independend To enable a device independent widget implementation QwtPainter adds scaling of these geometries Unfortunately QPainter scale scales both types of paintings so the objects of the first type would be scaled twice 6 39 2 Member Function Documentation 6 39 2 1 void QwtPainter setMetricsMap const QPaintDevice x layout const QPaintDevice x de vice static Scale all QwtPainter drawing operations using the ratio QwtPaintMetrics from logicalDpiX Q QwtPaint Metrics to logicalDpiXQ and QwtPaintMetrics from logicalDpiY QwtPaintMetrics to logicalDpiY
284. irection protected virtual Determine scrolling mode and direction Parameters p point scrollMode Scrolling mode direction Direction Implements QwtAbstractSlider 6 79 4 19 void QwtSlider draw QPainter p const QRect amp update_rect protected Draw the QwtSlider 6 79 4 20 void QwtSlider drawSlider QPainter painter const QRect amp r protected virtual Draw the slider into the specified rectangle Parameters painter Painter r Rectangle 6 79 4 21 void QwtSlider drawThumb QPainter x painter const QRect amp sliderRect int pos protected virtual Draw the thumb at a position Parameters painter Painter sliderRect Bounding rectangle of the slider pos Position of the slider thumb 6 79 4 22 void QwtSlider resizeEvent QResizeEvent xe protected virtual Qt resize event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 357 6 79 4 23 void QwtSlider paintEvent QPaintEvent event protected virtual Qt paint event Parameters event Paint event 6 79 4 24 void QwtSlider valueChange protected virtual Notify change of value Reimplemented from QwtAbstractSlider 6 79 4 25 void QwtSlider rangeChange protected virtual Notify change of range Reimplemented from QwtDoubleRange 6 79 4 26 void QwtSlider scaleChange protected virtual Notify changed scale Reimplemented from QwtAbs
285. irtual Returns Size of the data set Implements QwtData 6 6 3 4 double QwtArrayData x size_t i const virtual Return the x value of data point i Parameters i Index Returns x X value of data point i Implements QwtData Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 7 QwtArrowButton Class Reference 40 6 6 3 5 double QwtArrayData y size_ti const virtual Return the y value of data point i Parameters i Index Returns y Y value of data point i Implements QwtData 6 6 3 6 const QwtArray lt double gt amp QwtArrayData xData const Returns Array of the x values 6 6 3 7 const QwtArray lt double gt amp QwtArrayData yData const Returns Array of the y values 6 6 3 8 QwtDoubleRect QwtArrayData boundingRect const virtual Returns the bounding rectangle of the data If there is no bounding rect like for empty data the rectangle is invalid QwtDoubleRect isValid false Reimplemented from QwtData 6 7 QwtArrowButton Class Reference Arrow Button include lt qwt_arrow_button h gt Public Member Functions e QwtArrowButton int num Qt ArrowType QWidget parent NULL e virtual QwtArrowButton e Qt ArrowType arrowType const e int num const e virtual QSize sizeHint const e virtual QSize minimumSizeHint const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 7 QwtArrowButton C
286. is method is slow for Indexed color maps If it is necessary to map many values its better to get the color table once and find the color using colorIndex Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 10 QwtCompass Class Reference 47 6 9 4 6 QwtColorTable QwtColorMap colorTable const QwtDoubleInterval amp interval const virtual Build and return a color map of 256 colors The color table is needed for rendering indexed images in combination with using colorIndex Parameters interval Range for the values Returns A color table that can be used for a QImage 6 10 QwtCompass Class Reference A Compass Widget include lt qwt_compass h gt Inheritance diagram for QwtCompass QwtDoubleRange QuwtAbstractSlider QuwtDial ry QwtCompass Public Member Functions e QwtCompass QWidget parent NULL virtual QwtCompass void setRose QwtCompassRose rose const QwtCompassRose rose const QwtCompassRose x rose const QMap lt double QString gt amp labelMap const QMap lt double QString gt amp labelMap void setLabelMap const QMap lt double QString gt amp map Protected Member Functions virtual QwtText scaleLabel double value const virtual void drawRose QPainter x const QPoint amp center int radius double north QPalette Color Group const virtual void drawScaleContents QPainter x
287. is possible to step the value from the highest value to the lowest value and vice versa See also setWrapping QwtDoubleRange setPeriodic Note The meaning of wrapping is like the wrapping property of QSpinBox but not like it is used in QDial Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 75 6 18 4 11 void QwtDial setScale int maxMajIntv int maxMinInty virtual Change the intervals of the scale See also QwtAbstractScaleDraw setScale 6 18 4 12 void QwtDial setScaleArc double minArc double maxArc Change the arc of the scale Parameters minArc Lower limit maxAre Upper limit 6 18 4 13 void QwtDial setScaleOptions int options A wrapper method for accessing the scale draw options No visible scale setScaleDraw NULL options amp ScaleBackbone En disable the backbone of the scale options amp ScaleTicks En disable the ticks of the scale options amp ScaleLabel En disable scale labels See also QwtAbstractScaleDraw enableComponent 6 18 4 14 void QwtDial setScaleTicks int minLen int medLen int majLen int pen Width 1 Assign length and width of the ticks Parameters minLen Length of the minor ticks medLen Length of the medium ticks majLen Length of the major ticks penWidth Width of the pen for all ticks See also QwtAbstractScaleDraw setTickLength QwtDialScaleDraw setPenWidth d
288. ius int radius Change of radius the scale Radius is the radius of the backbone without ticks and labels Parameters radius New Radius See also moveCenter 6 70 3 3 int QwtRoundScaleDraw radius const Get the radius Radius is the radius of the backbone without ticks and labels See also setRadius extent 6 70 3 4 void QwtRoundScaleDraw moveCenter int x inty inline Move the center of the scale draw leaving the radius unchanged 6 70 3 5 void QwtRoundScaleDraw moveCenter const QPoint amp center Move the center of the scale draw leaving the radius unchanged Parameters center New center See also setRadius Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 70 QwtRoundScaleDraw Class Reference 314 6 70 3 6 QPoint QwtRoundScaleDraw center const Get the center of the scale 6 70 3 7 void QwtRoundScaleDraw setAngleRange double angle1 double angle2 Adjust the baseline circle segment for round scales The baseline will be drawn from min anglel angle2 to max anglel angle2 The default setting is 135 135 An angle of 0 degrees corresponds to the 12 o clock position and positive angles count in a clockwise direction Parameters anglel angle2 boundaries of the angle interval in degrees Warning e The angle range is limited to 360 360 degrees Angles exceeding this range will be clipped e For angles more than 359 degree
289. ivate 246 alignCanvasToScales 244 alignLegend 248 alignScales 248 canvasMargin 243 canvasRect 247 expandLineBreaks 248 invalidate 246 layoutLegend 247 legendPosition 245 legendRatio 246 legendRect 247 margin 243 minimumSizeHint 246 Options 242 QwtPlotLayout 243 scaleRect 247 setAlignCanvasToScales 244 setCanvasMargin 243 setLegendPosition 245 setLegendRatio 246 setMargin 243 setSpacing 244 spacing 245 titleRect 247 QwtPlotMagnifier 249 QwtPlotMagnifier 249 QwtPlotMagnifier QwtPlotMagnifier 249 canvas 250 isAxisEnabled 250 plot 250 QwtPlotMagnifier 249 rescale 250 setAxisEnabled 250 QwtPlotMarker 251 QwtPlotMarker 252 QwtPlotMarker QwtPlotMarker 252 boundingRect 257 draw 256 drawAt 257 label 255 labelAlignment 255 labelOrientation 256 linePen 254 LineStyle 252 lineStyle 253 QwtPlotMarker 252 rtti 253 setLabel 254 setLabelAlignment 255 setLabelOrientation 255 setLinePen 254 setLineStyle 253 setSpacing 256 setSymbol 254 set Value 253 setX Value 253 setY Value 253 spacing 256 symbol 254 value 253 xValue 253 yValue 253 QwtPlotPanner 257 QwtPlotPanner 258 QwtPlotPanner QwtPlotPanner 258 canvas 258 isAxisEnabled 259 moveCanvas 259 plot 258 QwtPlotPanner 258 setAxisEnabled 259 QwtPlotPicker 259 QwtPlotPicker 261 QwtPlotPicker QwtPlotPicker 261 append 265 appended 263 canvas 262 Gen
290. k Event widgetMouseMoveEvent widgetKeyPressEvent widgetKeyReleaseEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 176 6 41 4 44 void QwtPicker widgetKeyPressEvent QKeyEvent ke protected virtual Handle a key press event for the observed widget Selections can be completely done by the keyboard The arrow keys move the cursor the abort key aborts a selection All other keys are handled by the current state machine See also QwtPicker selectionFlags eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseDoubleClick Event widgetMouseMoveEvent widgetWheelEvent widgetKeyReleaseEvent stateMachine QwtEventPattern KeyPatternCode Reimplemented in QwtPlotZoomer 6 41 4 45 void QwtPicker widgetKeyReleaseEvent QKeyEvent ke protected virtual Handle a key release event for the observed widget Passes the event to the state machine See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseDoubleClick Event widgetMouseMoveEvent widgetWheelEvent widgetKeyPressEvent stateMachine 6 41 4 46 void QwtPicker widgetLeaveEvent QEvent protected virtual Handle a leave event for the observed widget See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseDoubleClick Event widgetWheelEvent widgetKeyPressEvent widgetK
291. ke documentation how to convert your pro files into your development environment Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 2 INSTALL 410 F e MSVC with nmake qmake qwt pro nmake If you didn t enable autobuilding of the examples in qwtconfig pri you have to build the examples this way cd examples qmake examples pro nmake admin msvc qmake bat helps users of Visual Studio users to generate makefiles or project files dsp for MSVC 6 0 or vceproj for MSVC NET for Qwt To generate makefiles type admin msvc qmake To generate project files type admin msvc qmake vc When you have built a Qwt DLL you need to add the following define to your compiler flags QWT_DLL Windows doesn t like mixing of debug and release binaries Most of the problems with using the Qwt designer plugin are because of trying to load a Qwt debug library into a designer release executable C Win32 MinGW Qt4 C1 Windows Shell Start a Windows Shell where Qt4 is initialized F e with Programs gt Qt by Trolltech gt Qt 4 x x Command Prompt qmake qwt pro make If you didn t enable autobuilding of the examples in qwtconfig pri you have to build the examples this way cd examples qmake examples pro make make install C2 MSYS Shell Qt gt 4 3 0 Support for the MSYS Shell has been improved in Qt 4 3 0 Now building Qwt from the MSYS Shell works exactly like in UNIX or in the
292. ker widgetMouseReleaseEvent QMouseEvent e protected virtual Handle a mouse relase event for the observed widget End a selection depending on the selection flags See also QwtPicker selectionFlags eventFilter widgetMousePressEvent widgetMouseDoubleClickEvent widgetMouseMove Event widgetWheelEvent widgetKeyPressEvent widgetKeyReleaseEvent Reimplemented in QwtPlotZoomer 6 41 4 41 void QwtPicker widgetMouseDoubleClickEvent QMouseEvent x me protected virtual Handle mouse double click event for the observed widget Empty implementation does nothing See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseMoveEvent widgetWheelEvent widgetKeyPressEvent widgetKeyReleaseEvent 6 41 4 42 void QwtPicker widgetMouseMoveEvent QMouseEvent e protected virtual Handle a mouse move event for the observed widget Move the last point of the selection in case of isActive true See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseDoubleClick Event widgetWheelEvent widgetKeyPressEvent widgetKeyReleaseEvent 6 41 4 43 void QwtPicker widgetWheelEvent QWheelEvent xe protected virtual Handle a wheel event for the observed widget Move the last point of the selection in case of isActive true See also eventFilter widgetMousePressEvent widgetMouseReleaseEvent widgetMouseDoubleClic
293. kground 16 PrintFrameWithScales 32 PrintAll PrintFrameWithScales Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 60 QwtPlotPrintFilter Class Reference 268 e enum Item Title Legend Curve CurveSymbol Marker MarkerSymbol MajorGrid MinorGrid CanvasBackground AxisScale AxisTitle WidgetBackground Public Member Functions e QwtPlotPrintFilter virtual QwtPlotPrintFilter virtual QColor color const QColor amp Item item const virtual QFont font const QFont amp Item item const void setOptions int options int options const virtual void apply QwtPlot const virtual void reset QwtPlot const virtual void apply QwtPlotItem const virtual void reset QwtPlotItem const 6 60 1 Detailed Description A base class for plot print filters A print filter can be used to customize QwtPlot print Deprecated In Qwt 5 0 the design of QwtPlot allows recommends writing individual QwtPlotItems that are not known to QwtPlotPrintFilter So this concept is outdated and QwtPlotPrintFilter will be re moved replaced in Qwt 6 x 6 60 2 Member Enumeration Documentation 6 60 2 1 enum QwtPlotPrintFilter Options Print options 6 60 2 2 enum QwtPlotPrintFilter Item Print items Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 60 QwtPlotPrintFilter Class Reference 269 6 60 3 Constructor amp Destructor Docume
294. lEvent QWheelEvent xe virtual double getValue const QPoint amp p 0 virtual void getScrollMode const QPoint amp p int amp scrollMode int amp direction 0 void setMouse Offset double double mouseOffset const int scrollMode const 6 3 1 Detailed Description An abstract base class for slider widgets QwtAbstractSlider is a base class for slider widgets It handles mouse events and updates the slider s value accordingly Derived classes only have to implement the getValue and getScrollMode members and should react to a valueChange which normally requires repainting 6 3 2 Member Enumeration Documentation 6 3 2 1 enum QwtAbstractSlider ScrollMode Scroll mode See also getScrollMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 26 6 3 3 Constructor amp Destructor Documentation 6 3 3 1 QwtAbstractSlider QwtAbstractSlider Qt Orientation orientation QWidget x parent NULL explicit Constructor Parameters orientation Orientation parent Parent widget 6 3 3 2 QwtAbstractSlider QwtAbstractSlider virtual Destructor 6 3 4 Member Function Documentation 6 3 4 1 void QwtAbstractSlider setUpdateTime int Specify the update interval for automatic scrolling Parameters t update interval in milliseconds See also getScrollMode 6 3 4 2 void QwtAbstractSlider stopMoving Stop updating
295. lEvent xe protected virtual Wheel Event handler Parameters e Whell event 6 3 4 27 virtual double QwtAbstractSlider getValue const QPoint amp p protected pure virtual Determine the value corresponding to a specified poind This is an abstract virtual function which is called when the user presses or releases a mouse button or moves the mouse It has to be implemented by the derived class Parameters p point Implemented in QwtDial QwtSlider and QwtWheel 6 3 4 28 virtual void QwtAbstractSlider getScrollMode const QPoint amp p int amp scrollMode int amp direction protected pure virtual Determine what to do when the user presses a mouse button This function is abstract and has to be implemented by derived classes It is called on a mousePress event The derived class can determine what should happen next in dependence of the position where the mouse was pressed by returning scrolling mode and direction QwtAbstractSlider knows the following modes QwtAbstractSlider ScrNone Scrolling switched off Don t change the value QwtAbstractSlider ScrMouse Change the value while the user keeps the button pressed and moves the mouse QwtAbstractSlider ScrTimer Automatic scrolling Increment the value in the specified direction as long as the user keeps the button pressed QwtAbstractSlider ScrPage Automatic scrolling Same as ScrTimer but increment by page size Generated on Sun Mar 22 16 44 05
296. lass Reference 41 Protected Member Functions virtual void paintEvent QPaintEvent event virtual void drawButtonLabel QPainter p virtual void drawArrow QPainter const QRect amp Qt ArrowType const virtual QRect labelRect const virtual QSize arrowSize Qt ArrowType const QSize amp boundingSize const virtual void keyPressEvent QKeyEvent 6 7 1 Detailed Description Arrow Button A push button with one or more filled triangles on its front An Arrow button can have 1 to 3 arrows in a row pointing up down left or right 6 7 2 Constructor amp Destructor Documentation 6 7 2 1 QwtArrowButton QwtArrowButton int num Qt ArrowType arrowType QWidget par ent NULL explicit Parameters num Number of arrows arrowType see Qt ArowType in the Qt docs parent Parent widget 6 7 2 2 QwtArrowButton QwtArrowButton virtual Destructor 6 7 3 Member Function Documentation 6 7 3 1 Qt ArrowType QwtArrowButton arrowType const The direction of the arrows 6 7 3 2 int QwtArrowButton num const The number of arrows 6 7 3 3 QSize QwtArrowButton sizeHint const virtual Returns a size hint 6 7 3 4 QSize QwtArrowButton minimumSizeHint const virtual Return a minimum size hint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 7 QwtArrowButton Class Reference 42 6 7 3 5 void QwtArrowButton paintEvent QPaintEvent x event protected virt
297. leDraw Alignment const QRect amp rect const e void setAlignment QwtScaleDraw Alignment e QwtScaleDraw Alignment alignment const e QRect colorBarRect const QRect amp const Protected Member Functions virtual void paintEvent QPaintEvent xe virtual void resizeEvent QResizeEvent xe void draw QPainter p const void scaleChange void layoutScale bool update true 6 77 1 Detailed Description A Widget which contains a scale This Widget can be used to decorate composite widgets with a scale 6 77 2 Constructor amp Destructor Documentation 6 77 2 1 QwtScaleWidget QwtScale Widget QWidget x parent NULL explicit Create a scale with the position QwtScaleWidget Left Parameters parent Parent widget 6 77 2 2 QwtScaleWidget QwtScale Widget QwtScaleDraw Alignment align QWidget x parent NULL explicit Constructor Parameters align Alignment parent Parent widget 6 77 2 3 QwtScaleWidget QwtScaleWidget virtual Destructor 6 77 3 Member Function Documentation 6 77 3 1 void QwtScaleWidget scaleDivChanged signal Signal emitted whenever the scale divison changes Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 342 6 77 3 2 void QwtScaleWidget setTitle const QString amp title Give title new text contents Parameters title New title See also titleQ setTitle const QwtText amp
298. leaseEvent 146 widgetMouseMoveEvent 146 widgetMousePressEvent 145 widgetMouseReleaseEvent 145 widgetWheelEvent 146 QwtMathMLtTextEngine 147 QwtMathMLtTextEngine 147 QwtMathMLtTextEngine QwtMathMLtTextEngine 147 draw 148 heightForWidth 148 mightRender 148 QwtMathMLtTextEngine 147 textMargins 149 textSize 148 QwtMetricsMap 149 QwtMetricsMap translate 150 QwtPainter 151 QwtPainter deviceClipping 152 deviceClipRect 153 drawEllipse 154 drawLine 154 drawPie 154 drawPoint 154 drawPolygon 154 drawPolyline 154 drawRect 153 drawRoundFrame 154 drawSimpleRichText 153 drawText 153 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 430 fillRect 153 metricsMap 152 resetMetricsMap 152 scaledPen 154 setClipRect 153 setDeviceClipping 152 setMetricsMap 152 QwtPanner 155 QwtPanner 156 QwtPanner QwtPanner 156 cursor 157 eventFilter 158 getAbortKey 157 getMouseButton 157 isEnabled 156 isOrientationEnabled 157 moved 158 orientations 157 paintEvent 159 panned 158 QwtPanner 156 setAbortKey 157 setCursor 157 setEnabled 156 setMouseButton 156 setOrientations 157 widgetKeyPressEvent 159 widgetKeyReleaseEvent 159 widgetMouseMoveEvent 159 widgetMousePressEvent 158 widgetMouseReleaseEvent 158 QwtPicker 160 QwtPicker 165 QwtPicker QwtPicker 165 accept 172 append 172 appended 171 begin 172
299. lectionFlags amp RectSelection Parameters rect Selected rectangle 6 59 3 10 void QwtPlotPicker selected const QwtArray lt QwtDoublePoint gt amp pa signal A signal emitting the selected points at the end of a selection Parameters pa Selected points 6 59 3 11 void QwtPlotPicker appended const QwtDoublePoint amp pos signal A signal emitted when a point has been appended to the selection Parameters pos Position of the appended point See also append moved 6 59 3 12 void QwtPlotPicker moved const QwtDoublePoint amp pos signal A signal emitted whenever the last appended point of the selection has been moved Parameters pos Position of the moved last point of the selection See also move appended 6 59 3 13 QwtDoubleRect QwtPlotPicker scaleRect const protected Return normalized bounding rect of the axes See also QwtPlot autoReplot QwtPlot replot Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 265 6 59 3 14 QwtDoubleRect QwtPlotPicker invTransform const QRect amp rect const protected Translate a rectangle from pixel into plot coordinates Returns Rectangle in plot coordinates See also QwtPlotPicker transform 6 59 3 15 QRect QwtPlotPicker transform const QwtDoubleRect amp rect const protected Translate a rectangle from plot into pixel coordinates
300. led NULL is returned Returns Curve fitter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 221 6 51 4 36 void QwtPlotCurve draw QPainter painter const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp const virtual Draw the complete curve Parameters painter Painter xMap Maps x values into pixel coordinates yMap Maps y values into pixel coordinates See also drawCurve drawSymbols Implements QwtPlotItem 6 51 4 37 void QwtPlotCurve draw QPainter painter const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap int from int to const virtual Draw an interval of the curve Parameters painter Painter xMap maps x values into pixel coordinates yMap maps y values into pixel coordinates from index of the first point to be painted to index of the last point to be painted If to lt 0 the curve will be painted to its last point See also drawCurve drawSymbols 6 51 4 38 void QwtPlotCurve draw int from int to const Draw a set of points of a curve When observing an measurement while it is running new points have to be added to an existing curve drawCurve can be used to display them avoiding a complete redraw of the canvas Setting plot gt canvas gt setAttribute Qt WA_PaintOutsidePaintEvent true will result in faster paint ing if the paint engine of the canvas widget
301. library in non free programs enables a greater number of people to use a large body of free software For example permission to use the GNU C Library in non free programs enables many more people to use the whole GNU operating system as well as its variant the GNU Linux operating system Although the Lesser General Public License is Less protective of the Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 403 users freedom it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library The precise terms and conditions for copying distribution and modification follow Pay close attention to the difference between a work based on the library and a work that uses the library The former contains code derived from the library whereas the latter must be combined with the library in order to run GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING DISTRIBUTION AND MODIFICATION 0 This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License also called this License Each licensee is addressed as you A library means a collection of software functions and or data prepared
302. lic Slots e void setCurrentTime e void setTime const QTime amp QTime currentTime Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 5 QwtAnalogClock Class Reference 35 Public Member Functions e QwtAnalogClock QWidget parent NULL e virtual QwtAnalogClock e virtual void setHand Hand QwtDialNeedle e const QwtDialNeedle x hand Hand const QwtDialNeedle x hand Hand Protected Member Functions e virtual QwtText scaleLabel double const e virtual void drawNeedle QPainter x const QPoint amp int radius double direction QPalette Color Group const e virtual void drawHand QPainter x Hand const QPoint amp int radius double direction QPalette ColorGroup const 6 5 1 Detailed Description An analog clock Example include lt qwt_analog_clock h gt QwtAnalogClock clock new QwtAnalogClock clock gt scaleDraw gt setPenWidth 3 clock gt setLineWidth 6 clock gt setFrameShadow QwtDial Sunken clock gt setTime update the clock every second QTimer timer new QTimer clock timer gt connect timer SIGNAL timeout clock SLOT setCurrentTime timer gt start 1000 Qwt is missing a set of good looking hands Contributions are very welcome Note The examples dials example shows how to use QwtAnalogClock 6 5 2 Member Enumeration Documentation 6 5 2 1 enum QwtAnalogClock Hand Hand type See also
303. lign with the axis scale ends to control its size Returns align canvas to axis scales setting See also setAlignCanvasToScales setCanvasMargin Note In this context the term scale means the backbone of a scale Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 246 6 55 4 7 void QwtPlotLayout setSpacing int spacing Change the spacing of the plot The spacing is the distance between the plot components Parameters Spacing new spacing See also setMargin spacing 6 55 4 8 int QwtPlotLayout spacing const Returns spacing See also margin setSpacing 6 55 4 9 void QwtPlotLayout setLegendPosition QwtPlot LegendPosition pos double ratio Specify the position of the legend Parameters pos The legend s position ratio Ratio between legend and the bounding rect of title canvas and axes The legend will be shrinked if it would need more space than the given ratio The ratio is limited to 0 0 1 0 In case of lt 0 0 it will be reset to the default ratio The default vertical horizontal ratio is 0 33 0 5 See also QwtPlot setLegendPosition 6 55 4 10 void QwtPlotLayout setLegendPosition QwtPlot LegendPosition pos Specify the position of the legend Parameters pos The legend s position Valid values are QwtPlot LeftLegend QwtPlot Right Legend QwtPlot TopLegend QwtPlot BottomLege
304. limit the size of the image that is rendered from the data Fe this might be important when printing a spectrogram to a AO printer with 600 dpi The default implementation returns an invalid resolution size Parameters rect In most implementations the resolution of the data doesn t depend on the requested rectangle Returns Resolution as number of horizontal and vertical pixels Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 68 QwtRasterData Class Reference 309 6 68 4 5 void QwtRasterData initRaster const QwtDoubleRect amp const QSize amp raster virtual Initialize a raster Before the composition of an image QwtPlotSpectrogram calls initRaster announcing the area and its resolution that will be requested The default implementation does nothing but for data sets that are stored in files it might be good idea to reimplement initRaster where the data is resampled and loaded into memory Parameters rect Area of the raster raster Number of horizontal and vertical pixels See also initRaster value 6 68 4 6 void QwtRasterData discardRaster virtual Discard a raster After the composition of an image QwtPlotSpectrogram calls discardRaster The default implementation does nothing but if data has been loaded in initRaster it could deleted now See also initRaster value 6 68 4 7 virtual double QwtRasterData value double x double y const pure virt
305. lipse Rect Diamond Triangle DTriangle UTriangle LTriangle RTriangle Cross XCross HLine VLine Star1 Star2 Hexagon StyleCnt Public Member Functions e QwtDialSimpleNeedle Style bool hasKnob true const QColor amp mid Qt gray const QColor amp base Qt darkGray e virtual void draw QPainter x const QPoint amp int length double direction QPalette Color Group QPalette Active const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 21 QwtDialSimpleNeedle Class Reference 87 e void setWidth int width e int width const Static Public Member Functions e static void drawArrowNeedle QPainter x const QPalette amp QPalette ColorGroup const QPoint amp int length int width double direction bool hasKnob e static void drawRayNeedle QPainter const QPalette amp QPalette ColorGroup const QPoint amp int length int width double direction bool hasKnob 6 21 1 Detailed Description A needle for dial widgets The following colors are used e QColorGroup Mid Pointer e QColorGroup base Knob See also QwtDial QwtCompass 6 21 2 Member Enumeration Documentation 6 21 2 1 enum QwtDialSimpleNeedle Style Style of the needle 6 21 3 Constructor amp Destructor Documentation 6 21 3 1 QwtDialSimpleNeedle QwtDialSimpleNeedle Style style bool hasKnob true const QColor amp mid Qt gray const QColor amp base Qt darkGray Con
306. ll be set to unlimited ratio Ratio between legend and the bounding rect of title canvas and axes The legend will be shrinked if it would need more space than the given ratio The ratio is limited to 0 0 1 0 In case of lt 0 0 it will be reset to the default ratio The default vertical horizontal ratio is 0 33 0 5 See also legend QwtPlotLayout legendPosition QwtPlotLayout setLegendPosition 6 49 4 52 QwtLegend QwtPlot legend Returns the plot s legend See also insertLegend 6 49 4 53 const QwtLegend QwtPlot legend const Returns the plot s legend See also insertLegend 6 49 4 54 void QwtPlot polish O virtual Polish 6 49 4 55 QSize QwtPlot sizeHint const virtual Return sizeHint See also minimumSizeHint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 201 6 49 4 56 QSize QwtPlot minimumSizeHint const virtual Return a minimum size hint 6 49 4 57 void QwtPlot updateLayout virtual Adjust plot content to its current size See also resizeEvent 6 49 4 58 void QwtPlot drawCanvas QPainter painter virtual Redraw the canvas Parameters painter Painter used for drawing Warning drawCanvas calls drawItems what is also used for printing Applications that like to add individual plot items better overload drawItems See also drawltems 6 49 4 59 void Qw
307. lly refresh the plot myPlot gt replot 6 49 2 Member Enumeration Documentation 6 49 2 1 enum QwtPlot Axis Axis index e yLeft e yRight e xBottom e xTop 6 49 2 2 enum QwtPlot LegendPosition Position of the legend relative to the canvas e LeftLegend The legend will be left from the yLeft axis e RightLegend The legend will be right from the yLeft axis e BottomLegend The legend will be right below the xBottom axis e TopLegend The legend will be between xTop axis and the title e ExternalLegend External means that only the content of the legend will be handled by QwtPlot but not its geometry This might be interesting if an application wants to have a legend in an external window or on the canvas Note In case of ExternalLegend the legend is not printed by print Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 189 See also insertLegend 6 49 3 Constructor amp Destructor Documentation 6 49 3 1 QwtPlot QwtPlot QWidget parent NULL explicit Constructor Parameters parent Parent widget 6 49 3 2 QwtPlot QwtPlot const QwtText amp title QWidget x parent NULL explicit Constructor Parameters title Title text parent Parent widget 6 49 3 3 QwtPlot QwtPlot virtual Destructor 6 49 4 Member Function Documentation 6 49 4 1 void QwtPlot setAutoReplot bool tf t rue Set or reset t
308. lot canvas Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 260 6 58 3 4 const QwtPlot QwtPlotPanner plot const Return plot widget containing the observed plot canvas 6 58 3 5 void QwtPlotPanner setAxisEnabled int axis bool on En Disable an axis Axes that are enabled will be synchronized to the result of panning All other axes will remain unchanged Parameters axis Axis see QwtPlot Axis on On Off See also isAxisEnabled moveCanvas 6 58 3 6 bool QwtPlotPanner isAxisEnabled int axis const Test if an axis is enabled Parameters axis Axis see QwtPlot Axis Returns True if the axis is enabled See also setAxisEnabled moveCanvas 6 58 3 7 void QwtPlotPanner moveCanvas int dx int dy protected Adjust the enabled axes according to dx dy Parameters dx Pixel offset in x direction dy Pixel offset in y direction See also QwtPanner panned 6 59 QwtPlotPicker Class Reference QwtPlotPicker provides selections on a plot canvas include lt qwt_plot_picker h gt virtual slot Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class Reference 261 Inheritance diagram for QwtPlotPicker QwtEventPattern QwtPicker QwtPlotPicker QwtPlotZoomer Signals void selected const QwtDou
309. lotZoomer QwtPlotZoomer provides stacked zooming for a plot widget 297 QwtPolygonFData Data class containing a single QwtArray lt QwtDoublePoint gt object 305 QwtRasterData QwtRasterData defines an interface to any type of raster data 306 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 4 Qwt User s Guide File Index QwtRichTextEngine A text engine for Qt rich texts QwtRoundScaleDraw A class for drawing round scales QwtScaleArithmetic Arithmetic including a tolerance QwtScaleDiv A class representing a scale division QwtScaleDraw A class for drawing scales QwtScaleEngine Base class for scale engines QwtScaleMap A scale map QwtScaleTransformation Operations for linear or logarithmic base 10 transformations QwtScaleWidget A Widget which contains a scale QwtSimpleCompassRose A simple rose for QwtCompass QwtSlider The Slider Widget QwtSpline A class for spline interpolation QwtSplineCurveFitter A curve fitter using cubic splines QwtSymbol A class for drawing symbols QwtText A class representing a text QwtTextEngine Abstract base class for rendering text strings QwtTextLabel A Widget which displays a QwtText QwtThermo The Thermometer Widget QwtWheel The Wheel Widget 4 Qwt User s Guide File Index 4 1 Qwt User s Guide File List Here is a list of all documented files with brief descriptions qwt_abstract_scale h qwt_abstract_scale_dr
310. lso alarmLevel Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 389 6 86 3 15 double QwtThermo alarmLevel const Return the alarm threshold See also setAlarmLevel 6 86 3 16 void QwtThermo setAlarmEnabled bool f Enable or disable the alarm threshold Parameters tf true disabled or false enabled 6 86 3 17 bool QwtThermo alarmEnabled const Return if the alarm threshold is enabled or disabled 6 86 3 18 void QwtThermo setPipeWidth int width Change the width of the pipe Parameters width Width of the pipe See also pipe Width Q 6 86 3 19 int QwtThermo pipeWidth const Return the width of the pipe See also setPipeWidth 6 86 3 20 void QwtThermo setMax Value double max Set the maximum value Parameters max Maximum value See also max Value setMin Value 6 86 3 21 double QwtThermo max Value const Return the maximum value Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 86 QwtThermo Class Reference 390 6 86 3 22 void QwtThermo setMinValue double min Set the minimum value Parameters min Minimum value See also min Value setMax Value 6 86 3 23 double QwtThermo minValue const Return the minimum value 6 86 3 24 double QwtThermo value const Return the value 6 86 3 25 void QwtThermo setRange double vmin double vm
311. lue to be valid invalid Reimplemented in QwtAbstractSlider 6 23 3 3 bool QwtDoubleRange isValid const Indicates if the value is valid Reimplemented in QwtAbstractSlider 6 23 3 4 void QwtDoubleRange set Value double x Set a new value without adjusting to the step raster Parameters x new value Warning virtual The value is clipped when it lies outside the range When the range is QwtDoubleRange periodic it will be mapped to a point in the interval such that new value x n max value min value with an integer number n Reimplemented in QwtAbstractSlider and QwtCounter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 98 6 23 3 5 double QwtDoubleRange value const Returns the current value Reimplemented in QwtCounter 6 23 3 6 void QwtDoubleRange setPeriodic bool f Make the range periodic When the range is periodic the value will be set to a point inside the interval such that point value n width if the user tries to set a new value which is outside the range If the range is nonperiodic the default values outside the range will be clipped Parameters tf true for a periodic range 6 23 3 7 bool QwtDoubleRange periodic const Returns true if the range is periodic See also setPeriodic 6 23 3 8 void QwtDoubleRange setStep double vstep Change the step raster Parameters
312. m 128 identifierWidth QwtLegendItem 128 incPages QwtDoubleRange 98 incSteps QwtCounter 60 incValue QwtAbstractSlider 28 QwtDoubleRange 98 indent QwtTextLabel 381 init QwtPlotCurve 221 initKeyPattern QwtEventPattern 109 initMousePattern QwtEventPattern 109 initRaster QwtRasterData 307 insert QwtLegend 122 insertLegend QwtPlot 198 internalBorder QwtWheel 393 intersect QwtDoubleInterval 92 intersects QwtDoubleInterval 92 interval Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 420 QwtIntervalData 114 QwtPlotRescaler 279 QwtScaleDiv 318 invalidate QwtDoubleInterval 94 QwtDynGridLayout 101 QwtPlotLayout 246 QwtScaleDiv 319 invalidateCache QwtAbstractScaleDraw 23 QwtPlotRasterltem 272 invalidatePaintCache QwtPlotCanvas 207 invert QwtScaleDiv 320 inverted QwtDoubleInterval 90 invTransform QwtPlot 191 QwtPlotItem 240 QwtPlotPicker 263 264 QwtScaleMap 336 invXForm QwtScaleTransformation 338 isActive QwtPicker 169 isAxisEnabled QwtPlotMagnifier 250 QwtPlotPanner 259 isChecked QwtLegendItem 130 isDown QwtLegendItem 131 isEmpty QwtDynGridLayout 104 QwtLegend 123 QwtText 371 isEnabled QwtMagnifier 142 QwtPanner 156 QwtPicker 169 QwtPlotRescaler 275 isNull QwtDoubleInterval 94 QwtText 371 isOrientationEnabled QwtPanner 157 isReadOnly QwtAbstractSlider 27 isScaleDivFromAxis QwtPlotScaleItem 282 is V
313. m 295 QwtRichTextEngine 310 QwtScaleWidget 346 QwtSimpleCompassRose 349 QwtSlider 355 QwtSymbol 366 QwtText 375 QwtTextEngine 378 QwtThermo 390 QwtWheel 396 draw Arrow QwtArrowButton 41 draw ArrowNeedle QwtDialSimpleNeedle 87 drawAt QwtPlotMarker 257 drawBackbone QwtAbstractScaleDraw 22 QwtRoundScaleDraw 314 QwtScaleDraw 327 drawButtonLabel QwtArrowButton 41 drawCanvas QwtPlot 200 QwtPlotCanvas 208 drawContents QwtDial 79 QwtPlotCanvas 207 QwtTextLabel 382 drawContourLines QwtPlotSpectrogram 293 drawCurve QwtPlotCurve 221 drawDots QwtPlotCurve 222 drawEllipse QwtPainter 154 QwtAbstractScaleDraw 22 QwtRoundScaleDraw 314 QwtScaleDraw 328 drawLine QwtPainter 154 drawLines QwtPlotCurve 221 drawMarker QwtKnob 119 drawNeedle QwtAnalogClock 36 QwtDial 80 drawPie QwtPainter 154 drawPoint QwtPainter 154 drawPointer QwtCompassMagnetNeedle 53 drawPolygon QwtPainter 154 drawPolyline QwtPainter 154 drawRayNeedle QwtDialSimpleNeedle 87 drawRect QwtPainter 153 drawRose QwtCompass 49 QwtSimpleCompassRose 349 drawRoundFrame QwtPainter 154 drawRubberBand QwtPicker 170 drawScale QwtDial 79 drawScaleContents QwtCompass 49 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 418 QwtDial 80 end drawSimpleRichText QwtPicker 173 QwtPainter 153 QwtPlotPicker 266 drawSlider QwtPlotZoomer 303 QwtSlider 355 endBorder
314. m border distance depends on the font See also setMinBorderDist getMinBorderDist setBorderDist 6 77 3 9 void QwtScaleWidget getMinBorderDist int amp start int amp end const Get the minimum value for the distances of the scale s endpoints from the widget borders See also setMinBorderDist getBorderDistHint 6 77 3 10 void QwtScaleWidget setMinBorderDist int start int end Set a minimum value for the distances of the scale s endpoints from the widget borders This is useful to avoid that the scales are jumping when the tick labels or their positions change often Parameters start Minimum for the start border end Minimum for the end border See also getMinBorderDist getBorderDistHint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 77 QwtScaleWidget Class Reference 344 6 77 3 11 void QwtScaleWidget setMargin int margin Specify the margin to the colorBar base line Parameters margin Margin See also margin 6 77 3 12 int QwtScale Widget margin const Returns margin See also setMargin 6 77 3 13 void QwtScaleWidget setSpacing int spacing Specify the distance between color bar scale and title Parameters spacing Spacing See also spacing 6 77 3 14 int QwtScaleWidget spacing const Returns distance between scale and title See also setMargin 6 77 3 15 void QwtScaleWidget setPen Widt
315. mbol setBrush const QBrush amp brush Assign a brush The brush is used to draw the interior of the symbol Parameters brush Brush 6 82 4 7 void QwtSymbol setPen const QPen amp pen Assign a pen The pen is used to draw the symbol s outline The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen Pen See also pen setBrush QwtPainter scaledPen 6 82 4 8 void QwtSymbol setStyle QwtSymbol Style s Specify the symbol style The following styles are defined NoSymbol No Style The symbol cannot be drawn Ellipse Ellipse or circle Rect Rectangle Diamond Diamond Triangle Triangle pointing upwards DTriangle Triangle pointing downwards UTriangle Triangle pointing upwards Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 82 QwtSymbol Class Reference 367 LTIriangle Triangle pointing left RTriangle Triangle pointing right Cross Cross XCross Diagonal cross X HLine Horizontal line VLine Vertical line Starl X combined with Star2 Six pointed star Hexagon Hexagon Parameters s style 6 82 4 9 const QBrush amp QwtSymbol brush const inline Return Brush 6 82 4 10 const QPen amp QwtSymbol pen const inline Return Pen 6 82 4 11 const QSize amp QwtSymbol size const inline Return Size 6 82 4 12 Style QwtSymbol style const inline Return Style 6 82 4 13 void
316. ment to distribute the source code even though third parties are not compelled to copy the source along with the object code Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 405 5 A program that contains no derivative of any portion of the Library but is designed to work with the Library by being compiled or linked with it is called a work that uses the Library Such a work in isolation is not a derivative work of the Library and therefore falls outside the scope of this License However linking a work that uses the Library with the Library creates an executable that is a derivative of the Library because it contains portions of the Library rather than a work that uses the library The executable is therefore covered by this License Section 6 states terms for distribution of such executables When a work that uses the Library uses material from a header file that is part of the Library the object code for the work may be a derivative work of the Library even though the source code is not Whether this is true is especially significant if the work can be linked without the Library or if the work is itself a library The threshold for this to be true is not precisely defined by law If such an object file uses only numerical parameters data structure layouts and accessors and small macros and small inline functions ten lines or less in length then the use
317. ments QwtAbstractSlider 7 Qwt User s Guide File Documentation 7 1 qwt_double_rect h File Reference include qwt_global h include qwt_array h include lt QPointF gt include lt QSizeF gt include lt QRectF gt Include dependency graph for qwt_double_rect h qwt_global h qglobal h qwt_array h qwt_double_rect h OPointF qvector h QSizeF QRectF Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 7 2 qwt_plot_dict h File Reference 399 Defines e define QWT_DOUBLE_RECT_H 1 Typedefs e typedef QPointF QwtDoublePoint e typedef QSizeF QwtDoubleSize e typedef QRectF QwtDoubleRect 7 1 1 Detailed Description 7 1 2 Typedef Documentation 7 1 2 1 QPointF QwtDoublePoint This is a typedef see Trolltech Documentation for QPointF in QT assistant 4 x As soon as Qt3 compati bility is dropped this typedef will disappear 7 1 2 2 QRectF QwtDoubleRect This is a typedef see Trolltech Documentation for QRectF in QT assistant 4 x As soon as Qt3 compati bility is dropped this typedef will disappear 7 1 2 3 QSizeF QwtDoubleSize This is a typedef see Trolltech Documentation for QSizeF in QT assistant 4 x As soon as Qt3 compatibility is dropped this typedef will disappear 7 2 qwt_plot_dict h File Reference include qwt_global h include qwt_plot_item h include lt qlist h gt Include dependency graph for qwt
318. mer h qwt_polygon h qwt_raster_data h qwt_round_scale_draw h qwt_scale_div h qwt_scale_draw h qwt_scale_engine h 2 qwt_scale_map h qwt_scale_widget h qwt_slider h 2 qwt_spline h qwt_symbol h Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 5 Qwt User s Guide Page Index 12 qwt_text h qwt_text_engine h qwt_text_label h qwt_thermo h qwt_valuelist h qwt_wheel h 5 Qwt User s Guide Page Index 5 1 Qwt User s Guide Related Pages Here is a list of all related documentation pages Qwt License Version 1 0 INSTALL Curve Plots Scatter Plot Spectrogram Contour Plot Histogram Dials Compasses Knobs Wheels Sliders Thermos Deprecated List 6 Qwt User s Guide Class Documentation 6 1 QwtAbstractScale Class Reference An abstract base class for classes containing a scale include lt qwt_abstract_scale h gt Inheritance diagram for QwtAbstractScale QuwtAbstractScale QwtKnob QuwtSlider QuwtThermo Public Member Functions e QwtAbstractScale 2 2 2 2r 2 400 409 411 411 411 411 411 411 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 1 QwtAbstractScale Class Reference 13 virtual QwtAbstractScale void setScale double vmin double vmax double step 0 0 void setScale const QwtDoublelInterval amp double step 0 0 void setScal
319. mp const QwtDoubleInterval amp Intersects this interval with the given interval 6 22 4 22 QwtDoubleInterval QwtDoubleInterval extend double value const Extend the interval If value is below minValue value becomes the lower limit If value is above maxValue value becomes the upper limit extend has no effect for invalid intervals Parameters value Value See also is ValidQ 6 22 4 23 QwtDoubleInterval QwtDoubleInterval operator double value const inline Extend an interval See also extend Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 95 6 22 4 24 bool QwtDoubleInterval is Valid const inline A interval is valid when minValue lt max Value In case of QwtDoubleInterval ExcludeBorders it is true when minValue lt max Value 6 22 4 25 bool QwtDoubleInterval isNull const inline Returns true if isValid amp amp minValue gt max Value 6 22 4 26 void QwtDoubleInterval invalidate inline Invalidate the interval The limits are set to interval 0 0 1 0 See also isValid 6 22 4 27 QwtDoubleInterval QwtDoubleInterval symmetrize double value const Adjust the limit that is closer to value so that value becomes the center of the interval Parameters value Center Returns Interval with value as center 6 23 QwtDoubleRange Class Reference A class which controls a value wi
320. mp center int radius double north QPalette ColorGroup colorGroup QPalette Active const pure virtual Draw the rose Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 13 QwtCompassWindArrow Class Reference 55 Parameters painter Painter center Center point radius Radius of the rose north Position colorGroup Color group Implemented in QwtSimpleCompassRose 6 13 QwtCompassWindArrow Class Reference An indicator for the wind direction include lt qwt_dial_needle h gt Inheritance diagram for QwtCompassWindArrow QuwtDialNeedle QwtCompassWindArrow Public Types e enum Style Arrow Ray TriangleStyle ThinStyle Stylel Style2 NoSymbol 1 Ellipse Rect Diamond Triangle DTriangle UTriangle LTriangle RTriangle Cross XCross HLine VLine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 13 QwtCompassWindArrow Class Reference 56 Star Star2 Hexagon StyleCnt Public Member Functions e QwtCompassWindArrow Style const QColor amp light Qt white const QColor amp dark Qt gray e virtual void draw QPainter x const QPoint amp int length double direction QPalette Color Group QPalette Active const Static Public Member Functions e static void drawStylel Needle QPainter x const QPalette amp QPalette ColorGroup const QPoint amp int length double directio
321. mp p virtual void getScrollMode const QPoint amp p int amp scrollMode int amp direction 6 87 1 Detailed Description 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 See also The radio example Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 QwtWheel Class Reference 394 6 87 2 Constructor amp Destructor Documentation 6 87 2 1 QwtWheel QwtWheel QWidget parent NULL explicit Constructor 6 87 2 2 QwtWheel QwtWheel virtual Destructor 6 87 3 Member Function Documentation 6 87 3 1 void QwtWheel setOrientation Qt Orientation 0 virtual Set the wheel s orientation Parameters o Orientation Allowed values are Qt Horizontal and Qt Vertical Defaults to Qt Horizontal See also QwtAbstractS lider orientation Reimplemented from QwtAbstractSlider 6 87 3 2 double QwtWheel totalAngle const Returns Total angle which the wheel can be turned See also setTotalAngle 6 87 3 3 double QwtWheel viewAngle const Returns Visible portion of the wheel See also setViewAngle totalAngle 6 87 3 4 int QwtWheel tickCnt const Returns Number of grooves in the wheel s surface See also setTickCnt Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 Q
322. mplemented by public license practices Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system it is up to the author donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License 12 If the distribution and or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces the original copyright holder who places the Library under this License may add an explicit geographical distribution limitation excluding those countries so that distribution is permitted only in or among countries not thus excluded In such case this License incorporates the limitation as if written in the body of this License 13 The Free Software Foundation may publish revised and or new versions of the Lesser General Public License from time to time Such new versions will be similar in spirit to the present version but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Library specifies a version number of this License which applies to it and any later version you have the option of following the terms and conditions either of that version or of any later version published b
323. ms of the GNU Lesser General Public License as published by the Free Software Foundation either version 2 1 of the License or at your option any later version This library is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU Lesser General Public License for more details You should have received a copy of the GNU Lesser General Public License along with this library if not write to the Free Software Foundation Inc 59 Temple Place Suite 330 Boston MA 02111 1307 USA Also add information on how to contact you by electronic and paper mail You should also get your employer if you work as a programmer or your school if any to sign a copyright disclaimer for the library if necessary Here is a sample alter the names Yoyodyne Inc hereby disclaims all copyright interest in the library Frob a library for tweaking knobs written by James Random Hacker lt signature of Ty Coon gt 1 April 1990 Ty Coon President of Vice That s all there is to it Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 2 INSTALL 409 8 2 INSTALL Introduction Qwt uses qmake to build all its components and examples qmake is part of a Qt distribution qmake reads project files that contain the options and rules how to build a certain project A project file ends with t
324. n e static void drawStyle2Needle QPainter x const QPalette amp QPalette ColorGroup const QPoint amp int length double direction 6 13 1 Detailed Description An indicator for the wind direction QwtCompassWindArrow shows the direction where the wind comes from e QColorGroup Light Used for Style1 or the light half of Style2 e QColorGroup Dark Used for the dark half of Style2 See also QwtDial QwtCompass 6 13 2 Member Enumeration Documentation 6 13 2 1 enum QwtCompassWindArrow Style Style of the arrow 6 13 3 Constructor amp Destructor Documentation 6 13 3 1 QwtCompassWindArrow QwtCompassWindArrow Style style const QColor amp light Qt white const QColor amp dark Qt gray Constructor Parameters style Arrow style light Light color dark Dark color Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 13 QwtCompassWindArrow Class Reference 57 6 13 4 Member Function Documentation 6 13 4 1 void QwtCompassWindArrow draw QPainter painter const QPoint amp center int length double direction QPalette ColorGroup colorGroup QPalette Active const virtual Draw the needle Parameters painter Painter center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise colorGroup Color group used for painting Implements QwtDialNeedle 6 13 4 2 void QwtComp
325. n is made for QwtPlotCurve and updates a QwtLegendItem but an item could be represented by any type of widget by overloading legendItem and updateLegend Parameters legend Legend See also legendItem itemChanged QwtLegend Implements QwtLegendItemManager Reimplemented in QwtPlotCurve 6 54 4 27 void QwtPlotItem updateScaleDiv const QwtScaleDiv amp const QwtScaleDiv amp virtual Update the item to changes of the axes scale division Update the item when the axes of plot have changed The default implementation does nothing but items that depend on the scale division like QwtPlotGrid have to reimplement updateScaleDiv Parameters xScaleDiv Scale division of the x axis yScaleDiv Scale division of the y axis See also QwtPlot updateAxes Reimplemented in QwtPlotGrid and QwtPlotScaleItem 6 54 4 28 QWidget x QwtPlotItem legendItem const virtual Allocate the widget that represents the item on the legend The default implementation is made for QwtPlotCurve and returns a QwtLegendItem but an item could be represented by any type of widget by overloading legendItem and updateLegend Returns QwtLegendItem See also updateLegend QwtLegend Implements QwtLegendItemManager Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 241 6 54 4 29 QwtDoubleRect QwtPlotItem scaleRect const QwtScaleMap amp
326. nGridLayout invalidate virtual Invalidate all internal caches 6 24 3 2 void QwtDynGridLayout setMaxCols uint maxCols Limit the number of columns Parameters maxCols upper limit 0 means unlimited See also maxCols 6 24 3 3 uint QwtDynGridLayout maxCols const Return the upper limit for the number of columns 0 means unlimited what is the default See also setMaxCols Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 24 QwtDynGridLayout Class Reference 103 6 24 3 4 uint QwtDynGridLayout numRows const Returns Number of rows of the current layout See also numCols Warning The number of rows might change whenever the geometry changes 6 24 3 5 uint QwtDynGridLayout numCols const Returns Number of columns of the current layout See also numRows Warning The number of columns might change whenever the geometry changes 6 24 3 6 void QwtDynGridLayout addItem QLayoutItem x virtual Adds item to the next free position 6 24 3 7 QLayoutItem QwtDynGridLayout itemAt int index const virtual Find the item at a spcific index Parameters index Index See also takeAt 6 24 3 8 QLayoutItem QwtDynGridLayout takeAt int index virtual Find the item at a spcific index and remove it from the layout Parameters index Index See also itemAt Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guid
327. napshot with all bugfixes for the latest 5 2 release svn co https qwt svn sourceforge net svnroot qwt branches qwt 5 2 For getting a development snapshot from the SVN repository svn co https qwt svn sourceforge net svnroot qwt trunk qwt Qwt doesn t distribute binary packages but today all major Linux distributors offer one Note that these packages often don t include the examples 1 5 Installation Have a look at the qwt pro project file It is prepared for building dynamic libraries in Win32 and Unix X11 environments If you don t know what to do with it read the file INSTALL and or Trolltechs qmake documentation Once you have build the library you have to install all files from the lib include and doc directories 1 6 Support e Mailing list For all kind of Qwt related questions use the Qwt mailing list If you prefer newsgroups use the mail to news gateway of Gmane Forum Ot Centre isa great resource for Qt related questions It has a sub forum that is dedicated to Qwt related questions e Individual support If you are looking for individual support or need someone who implements your Qwt compo nent application contact qwt support tigertal de 1 7 Related Projects Qwt Polar apolar plot widget QwtPlot3D an OpenGL 3D plot widget OtiPlot data analysis and scientific plotting tool using QwtPlot 1 8 Language Bindings PyOQwt a set of Qwt Python bindings Korundum QtRuby including a
328. nd See also QwtPlot setLegendPosition Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 247 6 55 4 11 QwtPlot LegendPosition QwtPlotLayout legendPosition const Returns Position of the legend See also setLegendPosition QwtPlot setLegendPosition QwtPlot legendPosition 6 55 4 12 void QwtPlotLayout setLegendRatio double ratio Specify the relative size of the legend in the plot Parameters ratio Ratio between legend and the bounding rect of title canvas and axes The legend will be shrinked if it would need more space than the given ratio The ratio is limited to 0 0 1 0 In case of lt 0 0 it will be reset to the default ratio The default vertical horizontal ratio is 0 33 0 5 6 55 4 13 double QwtPlotLayout legendRatio const Returns The relative size of the legend in the plot See also setLegendPosition 6 55 4 14 QSize QwtPlotLayout minimumSizeHint const QwtPlot x plot const virtual Return a minimum size hint See also QwtPlot minimumSizeHint 6 55 4 15 void QwtPlotLayout activate const QwtPlot plot const QRect amp plotRect int options 0 virtual Recalculate the geometry of all components Parameters plot Plot to be layout plotRect Rect where to place the components options Options See also invalidate Options titleRect legendRect scaleRect canvasRect
329. nd scales of the canvas 6 68 2 Member Enumeration Documentation 6 68 2 1 enum QwtRasterData ConrecAttribute Attribute to modify the contour algorithm 6 68 3 Constructor amp Destructor Documentation 6 68 3 1 QwtRasterData QwtRasterData Constructor 6 68 3 2 QwtRasterData QwtRasterData const QwtDoubleRect amp boundingRect Constructor Parameters boundingRect Bounding rectangle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 68 QwtRasterData Class Reference 308 See also setBoundingRect 6 68 3 3 QwtRasterData QwtRasterData virtual Destructor 6 68 4 Member Function Documentation 6 68 4 1 virtual QwtRasterDatax QwtRasterData copy const pure virtual Clone the data 6 68 4 2 void QwtRasterData setBoundingRect const QwtDoubleRect amp boundingRect virtual Set the bounding rect area un plot coordinates Parameters boundingRect Bounding rectangle See also boundingRect 6 68 4 3 QwtDoubleRect QwtRasterData boundingRect const Returns Bounding rectangle See also boundingRect 6 68 4 4 QSize QwtRasterData rasterHint const QwtDoubleRect amp const virtual Find the raster of the data for an area The resolution is the number of horizontal and vertical pixels that the data can return for an area An invalid resolution indicates that the data can return values for any detail level The resolution will
330. ndpoints Parameters font Font start Start border distance end End border distance 6 73 4 3 int QwtScaleDraw minLabelDist const QFont amp font const Determine the minimum distance between two labels that is necessary that the texts don t overlap Parameters font Font Returns The maximum width of a label See also getBorderDistHint 6 73 4 4 int QwtScaleDraw minLength const QPen amp pen const QFont amp font const Calculate the minimum length that is needed to draw the scale Parameters pen Pen that is used for painting backbone and ticks font Font used for painting the labels See also extent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 324 6 73 4 5 int QwtScaleDraw extent const QPen amp pen const QFont amp font const virtual Calculate the width height that is needed for a vertical horizontal scale The extent is calculated from the pen width of the backbone the major tick length the spacing and the maximum width height of the labels Parameters pen Pen that is used for painting backbone and ticks font Font used for painting the labels See also minLengthQ Implements QwtAbstractScaleDraw 6 73 4 6 void QwtScaleDraw move int x inty inline Move the position of the scale See also move const QPoint amp 6 73 4 7 void QwtScaleDraw move const QPoint amp pos Move the p
331. ng these margins might improve the layout calculations Parameters font Font of the text text Text to be rendered left Return value for the left margin right Return value for the right margin top Return value for the top margin bottom Return value for the bottom margin Implemented in QwtPlainTextEngine QwtRichTextEngine and QwtMathMLTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 85 QwtTextLabel Class Reference 380 6 84 3 5 virtual void QwtTextEngine draw QPainter painter const QRect amp rect int flags const QString amp text const pure virtual Draw the text in a clipping rectangle Parameters painter Painter rect Clipping rectangle flags Bitwise OR of the flags like in for QPainter drawText text Text to be rendered Implemented in QwtPlainTextEngine QwtRichTextEngine and QwtMathMLTextEngine 6 85 QwtTextLabel Class Reference A Widget which displays a QwtText include lt qwt_text_label h gt Inheritance diagram for QwtTextLabel QuwiTextLabel QwtLegenditem Public Slots e void setText const QString amp QwtText TextFormat textFormat QwtText AutoText e virtual void setText const QwtText amp e void clear Public Member Functions e QwtTextLabel QWidget parent NULL e QwtTextLabel const QwtText amp QWidget parent NULL virtual QwtTextLabel const QwtText amp text const int indent
332. nsible for enforcing compliance by third parties with this License Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 407 11 If as a consequence of a court judgment or allegation of patent infringement or for any other reason not limited to patent issues conditions are imposed on you whether by court order agreement or otherwise that contradict the conditions of this License they do not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations then as a consequence you may not distribute the Library at all For example if a patent license would not permit royalty free redistribution of the Library by all those who receive copies directly or indirectly through you then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Library If any portion of this section is held invalid or unenforceable under any particular circumstance the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims this section has the sole purpose of protecting the integrity of the free software distribution system which is i
333. nst QRect amp rect protected Repaint the knob Parameters painter Painter rect Update rectangle 6 29 4 17 void QwtKnob drawKnob QPainter painter const QRect amp r protected Draw the knob Parameters painter painter r Bounding rectangle of the knob without scale 6 29 4 18 void QwtKnob drawMarker QPainter p double arc const QColor amp c protected Draw the marker at the knob s front Parameters p Painter are Angle of the marker c Marker color 6 30 QwtLegend Class Reference The legend widget include lt qwt_legend h gt Public Types e enum LegendDisplayPolicy Noldentifier 0 FixedIdentifier 1 Autoldentifier 2 e enum LegendItemMode ReadOnlyItem ClickableItem CheckablelItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 121 Public Member Functions e QwtLegend QWidget parent NULL virtual QwtLegend void setDisplayPolicy LegendDisplayPolicy policy int mode LegendDisplayPolicy displayPolicy const void setItemMode LegendItemMode LegendItemMode itemMode const int identifierMode const QWidget x contentsWidget const QWidget contents Widget const void insert const QwtLegendItemManager x QWidget void remove const QwtLegendItemManager QWidget x find const QwtLegendItemManager const QwtLegendItemManager x find const QWidget const virtual QLis
334. ntation 6 60 3 1 QwtPlotPrintFilter QwtPlotPrintFilter explicit Sets filter options to PrintAll 6 60 3 2 QwtPlotPrintFilter QwtPlotPrintFilter virtual Destructor 6 60 4 Member Function Documentation 6 60 4 1 QColor QwtPlotPrintFilter color const QColor amp c Item item const virtual Modifies a color for printing Parameters c Color to be modified item Type of item where the color belongs Returns Modified color In case of QwtPlotPrintFilter options amp PrintBackground MajorGrid is modified to Qt darkGray MinorGrid to Qt gray All other colors are returned unmodified 6 60 4 2 QFont QwtPlotPrintFilter font const QFont amp f Item item const virtual Modifies a font for printing Parameters f Font to be modified item Type of item where the font belongs All fonts are returned unmodified 6 60 4 3 void QwtPlotPrintFilter setOptions int options Set plot print options Parameters options Ord QwtPlotPrintFilter Options values See also options Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 61 QwtPlotRasterItem Class Reference 270 6 60 4 4 int QwtPlotPrintFilter options const Get plot print options See also setOptions 6 60 4 5 void QwtPlotPrintFilter apply QwtPlot x plot const virtual Change color and fonts of a plot See also apply 6 60 4 6 void QwtPlotPrintFilter reset QwtPlot x plot
335. ntsC const Protected Member Functions e bool buildNaturalSpline const QPolygonF amp e bool buildPeriodicSpline const QPolygonF amp Protected Attributes e PrivateData d_data 6 80 1 Detailed Description A class for spline interpolation The QwtSpline class is used for cubical spline interpolation Two types of splines natural and periodic are supported Usage 1 First call setPoints to determine the spline coefficients for a tabulated function y x 2 After the coefficients have been set up the interpolated function value for an argument x can be determined by calling QwtSpline value Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 80 QwtSpline Class Reference 359 Example include lt qwt_spline h gt QPolygonF interpolate const QPolygonF amp points int numValues QwtSpline spline if spline setPoints points return points QPolygonF interpolatedPoints numValues const double delta points numPoints 1 x points 0 x points size 1 for i 0 i lt points size i interpolate const double x points 0 x i delta interpolatedPoints i setX x interpolatedPoints i setY spline value x return interpolatedPoints 6 80 2 Member Enumeration Documentation 6 80 2 1 enum QwtSpline SplineType Spline type 6 80 3 Constructor amp Destructor Documentation 6 80 3 1 QwtSpline QwtSpline Constructor
336. nvas const QwtPlotCanvas x canvas const QwtPlot x plot 0 const QwtPlot plot const void setAxisEnabled int axis bool on bool isAxisEnabled int axis const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 58 QwtPlotPanner Class Reference 259 Protected Slots e virtual void moveCanvas int dx int dy 6 58 1 Detailed Description QwtPlotPanner provides panning of a plot canvas QwtPlotPanner is a panner for a QwtPlotCanvas that adjusts the scales of the axes after dropping the canvas on its new position Together with QwtPlotZoomer and QwtPlotMagnifier powerful ways of navigating on a QwtPlot widget can be implemented easily Note The axes are not updated while dragging the canvas See also QwtPlotZoomer QwtPlotMagnifier 6 58 2 Constructor amp Destructor Documentation 6 58 2 1 QwtPlotPanner QwtPlotPanner QwtPlotCanvas x canvas explicit Create a plot panner The panner is enabled for all axes Parameters canvas Plot canvas to pan also the parent object See also setAxisEnabled 6 58 2 2 QwtPlotPanner QwtPlotPanner virtual Destructor 6 58 3 Member Function Documentation 6 58 3 1 QwtPlotCanvas x QwtPlotPanner canvas Return observed plot canvas 6 58 3 2 const QwtPlotCanvas QwtPlotPanner canvas const Return Observed plot canvas 6 58 3 3 QwtPlot x QwtPlotPanner plot 0 Return plot widget containing the observed p
337. of the fact that part of it is a work based on the Library and explaining where to find the accompanying uncombined form of the same work 8 You may not copy modify sublicense link with or distribute the Library except as expressly provided under this License Any attempt otherwise to copy modify sublicense link with or distribute the Library is void and will automatically terminate your rights under this License However parties who have received copies or rights from you under this License will not have their licenses terminated so long as such parties remain in full compliance 9 You are not required to accept this License since you have not signed it However nothing else grants you permission to modify or distribute the Library or its derivative works These actions are prohibited by law if you do not accept this License Therefore by modifying or distributing the Library or any work based on the Library you indicate your acceptance of this License to do so and all its terms and conditions for copying distributing or modifying the Library or works based on it 10 Each time you redistribute the Library or any work based on the Library the recipient automatically receives a license from the original licensor to copy distribute link with or modify the Library subject to these terms and conditions You may not impose any further restrictions on the recipients exercise of the rights granted herein You are not respo
338. of the object file is unrestricted regardless of whether it is legally a derivative work Executables containing this object code plus portions of the Library will still fall under Section 6 Otherwise if the work is a derivative of the Library you may distribute the object code for the work under the terms of Section 6 Any executables containing that work also fall under Section 6 whether or not they are linked directly with the Library itself 6 As an exception to the Sections above you may also combine or link a work that uses the Library with the Library to produce a work containing portions of the Library and distribute that work under terms of your choice provided that the terms permit modification of the work for the customer s own use and reverse engineering for debugging such modifications You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License You must supply a copy of this License If the work during execution displays copyright notices you must include the copyright notice for the Library among them as well as a reference directing the user to the copy of this License Also you must do one of these things a Accompany the work with the complete corresponding machine readable source code for the Library including whatever changes were used in the work which must be distributed under Sections 1 and 2 above and i
339. oid QwtDialNeedle draw QPainter painter const QPoint amp center int length double direction QPalette ColorGroup cg QPalette Active const pure virtual Draw the needle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 20 QwtDialScaleDraw Class Reference 84 Parameters painter Painter center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise cg Color group used for painting Implemented in QwtDialSimpleNeedle QwtCompassMagnetNeedle and QwtCompassWindArrow 6 19 3 2 void QwtDialNeedle setPalette const QPalette amp palette virtual Sets the palette for the needle Parameters palette New Palette 6 19 3 3 const QPalette amp QwtDialNeedle palette const Returns the palette of the needle 6 19 3 4 void QwtDialNeedle drawKnob QPainter x const QPoint amp pos int width const QBrush amp bool sunken static protected Draw the knob 6 20 QwtDialScaleDraw Class Reference A special scale draw made for QwtDial include lt qwt_dial h gt Inheritance diagram for QwtDialScaleDraw QwtAbstractScaleDraw QwtRoundScaleDraw QuwtDialScaleDraw Public Member Functions e QwtDialScaleDraw QwtDial e virtual QwtText label double value const e void setPen Width uint e uint penWidth const Generated on Sun Mar 22
340. ol void setNumButtons int n int numButtons const void setIncSteps QwtCounter Button btn int nSteps int incSteps QwtCounter Button btn const virtual void set Value double virtual QSize sizeHint const virtual void polish double step const void setStep double s double min Val const void setMin Value double m double max Val const void setMax Value double m void setStepButton int nSteps int stepButton const void setStepButton2 int nSteps int stepButton2 const void setStepButton3 int nSteps int stepButton3 const virtual double value const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 14 QwtCounter Class Reference 59 Protected Member Functions e virtual bool event QEvent e virtual void wheelEvent QWheelEvent e virtual void keyPressEvent QKeyEvent e virtual void rangeChange 6 14 1 Detailed Description The Counter Widget A Counter consists of a label displaying a number and one ore more up to three push buttons on each side of the label which can be used to increment or decrement the counter s value A Counter has a range from a minimum value to a maximum value and a step size The range can be specified using QwtDblRange setRange The counter s value is an integer multiple of the step size The number of steps by which a button increments or decrements the value can be specified using Qwt Counter set
341. olorMap Format QwtColorMap RGB Constructor 6 9 3 2 QwtColorMap QwtColorMap virtual Destructor 6 9 4 Member Function Documentation 6 9 4 1 QwtColorMap Format QwtColorMap format const inline Returns Intended format of the color map See also Format Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 9 QwtColorMap Class Reference 46 6 9 4 2 virtual QwtColorMap QwtColorMap copy const pure virtual Clone the color map Implemented in QwtLinearColorMap and QwtAlphaColorMap 6 9 4 3 virtual QRgb QwtColorMap rgb const QwtDoubleInterval amp interval double value const pure virtual Map a value of a given interval into a rgb value Parameters interval Range for the values value Value Returns rgb value corresponding to value Implemented in QwtLinearColorMap and QwtAlphaColorMap 6 9 4 4 virtual unsigned char QwtColorMap colorIndex const QwtDoubleInterval amp interval double value const pure virtual Map a value of a given interval into a color index Parameters interval Range for the values value Value Returns color index corresponding to value Implemented in QwtLinearColorMap 6 9 4 5 QColor QwtColorMap color const QwtDoubleInterval amp interval double value const inline Map a value into a color Parameters interval Valid interval for values value Value Returns Color corresponding to value Warning Th
342. ols 6 24 3 21 void QwtDynGridLayout layoutGrid uint numCols QwtArray lt int gt amp rowHeight QwtArray lt int gt amp colWidth const protected Calculate the dimensions for the columns and rows for a grid of numCols columns Parameters numCols Number of columns rowHeight Array where to fill in the calculated row heights colWidth Array where to fill in the calculated column widths 6 24 3 22 void QwtDynGridLayout stretchGrid const QRect amp rect uint numCols QwtArray lt int gt amp rowHeight QwtArray lt int gt amp colWidth const protected Stretch columns in case of expanding amp QSizePolicy Horizontal and rows in case of expanding amp QSizePolicy Vertical to fill the entire rect Rows and columns are stretched with the same factor See also setExpanding expanding 6 25 QwtEventPattern Class Reference A collection of event patterns include lt qwt_event_pattern h gt Inheritance diagram for QwtEventPattern QwtEventPattern QwtPicker QwtPlotPicker QwtPlotZoomer Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 107 Public Types enum MousePatternCode MouseSelect1 MouseSelect2 MouseSelect3 MouseSelect4 MouseSelect5 MouseSelect6 MousePatternCount enum KeyPatternCode KeySelect1 KeySelect2 KeyAbort KeyLeft KeyRight
343. on 75 setFrameShadow 72 setLine Width 72 setMode 73 setNeedle 76 setOrigin 75 setScale 74 setScaleArc 74 setScaleDraw 77 setScaleOptions 74 setScaleTicks 74 setWrapping 73 Shadow 71 showBackground 72 sizeHint 77 updateMask 78 updateScale 80 valueChange 81 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 427 wrapping 73 QwtDialNeedle 82 QwtDialNeedle 82 QwtDialNeedle QwtDialNeedle 82 draw 82 drawKnob 83 palette 83 QwtDialNeedle 82 setPalette 83 QwtDialScaleDraw 83 QwtDialScaleDraw 84 QwtDialScaleDraw label 84 penWidth 84 QwtDialScaleDraw 84 setPen Width 84 QwtDialSimpleNeedle 85 QwtDialSimpleNeedle 86 QwtDialSimpleNeedle draw 86 drawArrowNeedle 87 drawRayNeedle 87 QwtDialSimpleNeedle 86 set Width 87 Style 86 width 88 QwtDoubleInterval 88 QwtDoubleInterval 90 QwtDoubleInterval borderFlags 91 BorderMode 89 contains 92 extend 93 intersect 92 intersects 92 invalidate 94 inverted 90 isNull 94 is Valid 93 limited 91 max Value 92 min Value 91 normalized 90 operator amp 93 operator amp 93 operator 91 operator 91 operator 93 operator 93 QwtDoubleInterval 90 setBorderFlags 91 setInterval 90 setMax Value 92 setMin Value 92 symmetrize 94 unite 93 width 92 QwtDoublePoint qwt_double_rect h 398 QwtDoubleRange 94 QwtDoubleRange
344. onType SelectionMode Note QwtPicker RectSelection will be auto added Reimplemented from QwtPicker 6 66 3 11 void QwtPlotZoomer moveBy double dx double dy slot Move the current zoom rectangle Parameters dx X offset dy Y offset Note The changed rectangle is limited by the zoom base 6 66 3 12 void QwtPlotZoomer move double x double y virtual slot Move the the current zoom rectangle Parameters x X value y Y value See also QwtDoubleRect move Note The changed rectangle is limited by the zoom base Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 303 6 66 3 13 void QwtPlotZoomer zoom const QwtDoubleRect amp rect virtual slot Zoom in Clears all rectangles above the current position of the zoom stack and pushs the intersection of zoomRect and the normalized rect on it Note If the maximal stack depth is reached zoom is ignored The zoomed signal is emitted 6 66 3 14 void QwtPlotZoomer zoom int offset virtual slot Zoom in or out Activate a rectangle on the zoom stack with an offset relative to the current position Negative values of offest will zoom out positive zoom in A value of 0 zooms out to the zoom base Parameters offset Offset relative to the current position of the zoom stack Note The zoomed signal is emitted See also zoomRectIndex 6 66 3 15 void QwtPlot
345. onst QSize amp newSize const virtual QwtDoubleInterval expandScale int axis const QSize amp oldSize const QSize amp newSize const virtual QwtDoubleInterval syncScale int axis const QwtDoubleInterval amp reference const QSize amp size const virtual void updateScales QwtDoublelInterval intervals QwtPlot axisCnt const Qt Orientation orientation int axis const QwtDoublelInterval interval int axis const QwtDoubleInterval expandInterval const QwtDoublelInterval amp double width Expanding Direction const 6 62 1 Detailed Description QwtPlotRescaler takes care of fixed aspect ratios for plot scales QwtPlotRescaler autoadjusts the axes of a QwtPlot according to fixed aspect ratios 6 62 2 Member Enumeration Documentation 6 62 2 1 enum QwtPlotRescaler RescalePolicy Rescale Policy The rescale policy defines how to rescale the reference axis and their depending axes e Fixed The interval of the reference axis remains unchanged when the geometry of the canvas changes All other axes will be adjusted according to their aspect ratio e Expanding The interval of the reference axis will be shrinked expanded when the geometry of the canvas changes All other axes will be adjusted according to their aspect ratio The interval that is represented by one pixel is fixed e Fitting The intervals of the axes are calculated so that all axes include their minimal interval Generated on Sun Mar 22 16 44 05 2009 f
346. or Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 276 6 62 3 Constructor amp Destructor Documentation 6 62 3 1 QwtPlotRescaler QwtPlotRescaler QwtPlotCanvas canvas int referenceAxis QwtPlot xBottom RescalePolicy policy Expanding explicit Constructor Parameters canvas Canvas referenceAxis Reference axis see RescalePolicy policy Rescale policy See also setRescalePolicy setReferenceAxis 6 62 3 2 QwtPlotRescaler QwtPlotRescaler virtual Destructor 6 62 4 Member Function Documentation 6 62 4 1 void QwtPlotRescaler setEnabled bool on En disable the rescaler When enabled is true an event filter is installed for the canvas otherwise the event filter is removed Parameters on true or false See also isEnabled eventFilter 6 62 4 2 bool QwtPlotRescaler isEnabled const Returns true when enabled false otherwise See also setEnabled eventFilter 6 62 4 3 void QwtPlotRescaler setRescalePolicy RescalePolicy policy Change the rescale policy Parameters policy Rescale policy See also rescalePolicy Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 62 QwtPlotRescaler Class Reference 277 6 62 4 4 QwtPlotRescaler RescalePolicy QwtPlotRescaler rescalePolicy const Returns Rescale policy See also setRescalePolicy 6 62 4 5 void QwtPlotRescaler setExpandingDirection ExpandingDirection direction
347. or ticks QwtValueList Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 72 QwtScaleDiv Class Reference 319 6 72 3 3 QwtScaleDiv QwtScaleDiv double JowerBound double upperBound QwtValueList ticks NTickTypes explicit Construct QwtScaleDiv instance Parameters lowerBound First interval limit upperBound Second interval limit ticks List of major medium and minor ticks 6 72 4 Member Function Documentation 6 72 4 1 int QwtScaleDiv operator const QwtScaleDiv amp other const Equality operator Returns true if this instance is equal to other 6 72 4 2 int QwtScaleDiv operator const QwtScaleDiv amp s const Inequality Returns true if this instance is not equal to s 6 72 4 3 void QwtScaleDiv setInterval double lowerBound double upperBound inline Change the interval Parameters lowerBound lower bound upperBound upper bound 6 72 4 4 void QwtScaleDiv setInterval const QwtDoubleInterval amp interval Change the interval Parameters interval Interval 6 72 4 5 QwtDoubleInterval QwtScaleDiv interval const inline Returns lowerBound gt upperBound Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 72 QwtScaleDiv Class Reference 320 6 72 4 6 double QwtScaleDiv lowerBound const inline Returns lower bound See also upperBound 6 72 4 7 double QwtScaleDiv upperBound const inline
348. orGroup Background is the background color outside of the frame QColorGroup Base is the back ground color inside the frame QColorGroup Foreground is the background color inside the scale Parameters painter Painter See also boundingRect contentsRect scaleContentsRect QWidget setPalette 6 18 4 38 void QwtDial drawFocusIndicator QPainter painter const protected virtual Draw a dotted round circle if isReadOnlyQ Parameters painter Painter 6 18 4 39 void QwtDial drawScale QPainter painter const QPoint amp center int radius double origin double minArc double maxArc const protected virtual Draw the scale Parameters painter Painter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 81 center Center of the dial radius Radius of the scale origin Origin of the scale minArc Minimum of the arc maxArc Minimum of the arc See also QwtAbstractScaleDraw setAngleRange 6 18 4 40 void QwtDial drawScaleContents QPainter x painter const QPoint amp center int radius const protected virtual Draw the contents inside the scale Paints nothing Parameters painter Painter center Center of the contents circle radius Radius of the contents circle Reimplemented in QwtCompass 6 18 4 41 void QwtDial drawNeedle QPainter x painter const QPoint amp center int radius double direction QPalette ColorGroup
349. orithm A larger size will improve the precisision of the CONREC algorithm but will slow down the time that is needed to calculate the lines The default implementation returns rect size 2 bounded to data rasterHint Parameters area Rect where to calculate the contour lines rect Rect in pixel coordinates where to paint the contour lines Returns Raster to be used by the CONREC contour algorithm Note The size will be bounded to rect size See also drawContourLines QwtRasterData contourLines 6 64 4 20 QwtRasterData ContourLines QwtPlotSpectrogram renderContourLines const Qwt DoubleRect amp rect const QSize amp raster const protected virtual Calculate contour lines Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 65 QwtPlotSvgItem Class Reference 294 Parameters rect Rectangle where to calculate the contour lines raster Raster used by the CONREC algorithm See also contourLevels setConrecAttributeQ QwtRasterData contourLines 6 64 4 21 void QwtPlotSpectrogram drawContourLines QPainter painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QwtRasterData ContourLines amp contourLines const protected virtual Paint the contour lines Parameters painter Painter xMap Maps x values into pixel coordinates yMap Maps y values into pixel coordinates contourLines Contour lines See also renderContou
350. osition of the scale The meaning of the parameter pos depends on the alignment QwtScaleDraw LeftScale The origin is the topmost point of the backbone The backbone is a vertical line Scale marks and labels are drawn at the left of the backbone QwtScaleDraw RightScale The origin is the topmost point of the backbone The backbone is a vertical line Scale marks and labels are drawn at the right of the backbone QwtScaleDraw TopScale The origin is the leftmost point of the backbone The backbone is a horizontal line Scale marks and labels are drawn above the backbone QwtScaleDraw BottomScale The origin is the leftmost point of the backbone The backbone is a hori zontal line Scale marks and labels are drawn below the backbone Parameters pos Origin of the scale See also pos setLength Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 325 6 73 4 8 void QwtScaleDraw setLength int length Set the length of the backbone The length doesn t include the space needed for overlapping labels See also move minLabelDist 6 73 4 9 QwtScaleDraw Alignment QwtScaleDraw alignment const Return alignment of the scale See also setAlignment 6 73 4 10 void QwtScaleDraw setAlignment Alignment align Set the alignment of the scale The default alignment is QwtScaleDraw BottomScale See also alignment 6 73 4 11 Qt Orientation Qwt
351. ouble step 0 0 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 76 6 18 4 15 double QwtDial minScaleArc const Returns Lower limit of the scale arc 6 18 4 16 double QwtDial maxScaleArc const Returns Upper limit of the scale arc 6 18 4 17 void QwtDial setOrigin double origin virtual Change the origin The origin is the angle where scale and needle is relative to Parameters origin New origin See also origin 6 18 4 18 double QwtDial origin const The origin is the angle where scale and needle is relative to Returns Origin of the dial See also setOrigin 6 18 4 19 void QwtDial setDirection Direction direction Set the direction of the dial clockwise counterclockwise Direction direction See also direction Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 77 6 18 4 20 QwtDial Direction QwtDial direction const Returns Direction of the dial The default direction of a dial is QwtDial Clockwise See also setDirection 6 18 4 21 void QwtDial setNeedle QwtDialNeedle needle virtual Set a needle for the dial Qwt is missing a set of good looking needles Contributions are very welcome Parameters needle Needle Warning The needle will be deleted when a different needle is set or in QwtDial 6 18 4 22 const QwtDial
352. ounding rectangle 6 77 3 28 void QwtScaleWidget setAlignment QwtScaleDraw Alignment alignment Change the alignment Parameters alignment New alignment See also alignment 6 77 3 29 QwtScaleDraw Alignment QwtScaleWidget alignment const Returns position See also setPosition 6 77 3 30 void QwtScaleWidget paintEvent QPaintEvent xe protected virtual paintEvent 6 77 3 31 void QwtScaleWidget resizeEvent QResizeEvent xe protected virtual resizeEvent 6 77 3 32 void QwtScaleWidget draw QPainter p const protected draw the scale 6 77 3 33 void QwtScaleWidget scaleChange protected Notify a change of the scale This virtual function can be overloaded by derived classes The default implementation updates the geom etry and repaints the widget Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 78 QwtSimpleCompassRose Class Reference 348 6 77 3 34 void QwtScaleWidget layoutScale bool update true protected Recalculate the scale s geometry and layout based on 6 78 QwtSimpleCompassRose Class Reference A simple rose for QwtCompass include lt qwt_compass_rose h gt Inheritance diagram for QwtSimpleCompassRose QwtCompassRose QwtSimpleCompassRose Public Member Functions e QwtSimpleCompassRose int numThorns 8 int numThornLevels 1 void setWidth double w double width const void setNumTho
353. outAttribute Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 376 6 83 4 24 int QwtText heightForWidth int width const QFont amp defaultFont QF ont const Find the height for a given width Parameters defaultFont Font used for the calculation if the text has no font width Width Returns Calculated height 6 83 4 25 QSize QwtText textSize const QFont amp defaultFont QF ont const Returns the size that is needed to render text Parameters defaultFont Font of the text Returns Caluclated size 6 83 4 26 void QwtText draw QPainter painter const QRect amp rect const Draw a text into a rectangle Parameters painter Painter rect Rectangle 6 83 4 27 const QwtTextEngine x QwtText textEngine const QString amp text QwtText Text Format format AutoText static Find the text engine for a text format In case of QwtText AutoText the first text engine beside QwtPlainTextEngine is returned where Qwt TextEngine mightRender returns true If there is none QwtPlainTextEngine is returnd If no text engine is registered for the format QwtPlainTextEngine is returnd Parameters text Text needed in case of AutoText format Text format Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 84 QwtTextEngine Class Reference 377 6 83 4 28 const QwtTextEngine QwtText textEngine QwtText
354. painted See also setSymbol draw drawCurve Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 223 6 51 4 43 void QwtPlotCurve drawLines QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const protected Draw lines If the CurveAttribute Fitted is enabled a QwtCurveFitter tries to interpolate smooth the curve before it is painted Parameters painter Painter xMap x map yMap y map from index of the first point to be painted to index of the last point to be painted See also setCurveAttribute setCurveFitter draw drawLines drawDots drawSteps drawSticks 6 51 4 44 void QwtPlotCurve drawSticks QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const protected Draw sticks Parameters painter Painter xMap x map yMap y map from index of the first point to be painted to index of the last point to be painted See also draw drawCurve drawDots drawLines drawSteps 6 51 4 45 void QwtPlotCurve drawDots QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const protected Draw dots Parameters painter Painter xMap x map yMap y map from index of the first point to be painted to index of the last point to be painted See also draw drawCurve drawSti
355. pen See also setTrackerPen trackerMode trackerFont 6 41 4 13 void QwtPicker setTrackerFont const QFont amp font virtual Set the font for the tracker Parameters font Tracker font See also trackerFont setTrackerMode setTrackerPen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 170 6 41 4 14 QFont QwtPicker trackerFont const Returns Tracker font See also setTrackerFont trackerMode trackerPen 6 41 4 15 bool QwtPicker isEnabled const Returns true when enabled false otherwise See also setEnabled eventFilter 6 41 4 16 void QwtPicker setEnabled bool enabled virtual En disable the picker When enabled is true an event filter is installed for the observed widget otherwise the event filter is re moved Parameters enabled true or false See also isEnabled eventFilter 6 41 4 17 bool QwtPicker isActive const A picker is active between begin and end Returns true if the selection is active 6 41 4 18 bool QwtPicker eventFilter QObject x o QEvent xe virtual Event filter When isEnabled true all events of the observed widget are filtered Mouse and keyboard events are translated into widgetMouse and widgetKey and widgetWheel events Paint and Resize events are handled to keep rubberband and tracker up to date See also event widgetMousePre
356. perator const QwtText amp const void setText const QString amp QwtText TextFormat textFormat AutoText QString text const bool isNull const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 369 bool isEmpty const void setFont const QFont amp QFont font const QFont usedFont const QFont amp const void setRenderFlags int flags int renderFlags const void setColor const QColor amp QColor color const QColor usedColor const QColor amp const void setBackgroundPen const QPen amp QPen backgroundPen const void setBackgroundBrush const QBrush amp QBrush backgroundBrush const void setPaintAttribute PaintAttribute bool on true bool testPaintAttribute PaintAttribute const void setLayoutAttribute LayoutAttribute bool on true bool testLayoutAttribute LayoutAttribute const int heightForWidth int width const QFont amp QFont const QSize textSize const QFont amp QFont const void draw QPainter painter const QRect amp rect const Static Public Member Functions e static const QwtTextEngine textEngine const QString amp text QwtText TextFormat AutoText e static const QwtTextEngine textEngine QwtText TextFormat e static void setTextEngine QwtText TextFormat QwtTextEngine 6 83 1 Detailed Description A class representing a text A QwtText is a text including a set of attributes
357. r setAxisAutoScale 6 49 4 33 void QwtPlot setAxisScaleDiv int axisId const QwtScaleDiv amp scaleDiv Disable autoscaling and specify a fixed scale for a selected axis Parameters axisId axis index scaleDiv Scale division See also setAxisScale setAxisAutoScale 6 49 4 34 void QwtPlot setAxisScaleDraw int axisId QwtScaleDraw x scaleDraw Set a scale draw Parameters axisId axis index Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 196 scaleDraw object responsible for drawing scales By passing scaleDraw it is possible to extend QwtScaleDraw functionality and let it take place in QwtPlot Please note that scaleDraw has to be created with new and will be deleted by the corresponding QwtScale member like a child object See also QwtScaleDraw QwtScaleWidget Warning The attributes of scaleDraw will be overwritten by those of the previous QwtScaleDraw 6 49 4 35 double QwtPlot axisStepSize int axisId const Return the step size parameter that has been set in setAxisScale This doesn t need to be the step size of the current scale Parameters axisId axis index Returns step size parameter value See also setAxisScale 6 49 4 36 const QwtScaleDiv x QwtPlot axisScaleDiv int axisId const Return the scale division of a specified axis axisScaleDiv axisId gt lowerBound axisScaleDiv axisId gt upperBound
358. r all its users This license the Lesser General Public License applies to some specially designated software packages typically libraries of the Free Software Foundation and other authors who decide to use it You can use it too but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case based on the explanations below When we speak of free software we are referring to freedom of use not price Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software and charge for this service if you wish that you receive source code or can get it if you want it that you can change the software and use pieces of it in new free programs and that you are informed that you can do these things To protect your rights we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights These restrictions translate to certain responsibilities for Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 402 you if you distribute copies of the library or if you modify it For example if you distribute copies of the library whether gratis or for a fee you must give the recipients all the rights that we gave you You must make sure that they too receive or can get the source code If
359. r owners of a commercial Qt license TeXText Use a TeX http en wikipedia org wiki TexX render engine to display the text OtherFormat The number of text formats can be extended using setTextEngine Formats gt OtherFormat are not used by Qwt See also QwtTextEngine setTextEngine 6 83 2 2 enum QwtText PaintAttribute Paint Attributes Font and color and background are optional attributes of a QwtText The paint attributes hold the informa tion if they are set e PaintUsingTextFont The text has an individual font e PaintUsingTextColor The text has an individual color e PaintBackground The text has an individual background Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 83 QwtText Class Reference 371 6 83 2 3 enum QwtText LayoutAttribute Layout Attributes The layout attributes affects some aspects of the layout of the text e MinimumLayout Layout the text without its margins This mode is useful if a text needs to be aligned accurately like the tick labels of a scale If QwtTextEngine textMargins is not implemented for the format of the text MinimumLayout has no effect 6 83 3 Constructor amp Destructor Documentation 6 83 3 1 QwtText QwtText const QString amp text QString null QwtText TextFormat text Format AutoText Constructor Parameters text Text content textFormat Text format 6 83 3 2 QwtText QwtText const QwtText amp
360. rData ConrecAttribute at tribute bool on Modify an attribute of the CONREC algorithm used to calculate the contour lines Parameters attribute CONREC attribute on On Off See also testConrecAttribute renderContourLines QwtRasterData contourLines 6 64 4 13 bool QwtPlotSpectrogram testConrecAttribute QwtRasterData ConrecAttribute at tribute const Test an attribute of the CONREC algorithm used to calculate the contour lines Parameters attribute CONREC attribute Returns true is enabled See also setConrecAttribute renderContourLines QwtRasterData contourLines Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 292 6 64 4 14 void QwtPlotSpectrogram setContourLevels const QwtValueList amp levels Set the levels of the contour lines Parameters levels Values of the contour levels See also contourLevels renderContourLines QwtRasterData contourLines Note contourLevels returns the same levels but sorted 6 64 4 15 QwtValueList QwtPlotSpectrogram contourLevels const Return the levels of the contour lines The levels are sorted in increasing order See also contourLevels renderContourLines QwtRasterData contourLines 6 64 4 16 int QwtPlotSpectrogram rtti const virtual Returns QwtPlotItem Rtti_PlotSpectrogram Reimplemented from QwtPlotItem 6 64 4 17 void Qwt
361. rLines defaultContourPen contourPen 6 65 QwtPlotSvgItem Class Reference A plot item which displays data in Scalable Vector Graphics SVG format include lt qwt_plot_svgitem h gt Inheritance diagram for QwtPlotSvgItem QwtLegenditemManager QwtPlotitem QwiPlotSvgitem Public Member Functions e QwtPlotSvgItem const QString amp title QString null e QwtPlotSvgItem const QwtText amp title virtual QwtPlotSvgItem bool loadFile const QwtDoubleRect amp const QString amp fileName bool loadData const QwtDoubleRect amp const QByteArray amp virtual QwtDoubleRect boundingRect const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp rect const virtual int rtti const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 65 QwtPlotSvgItem Class Reference 295 Protected Member Functions e void render QPainter painter const QwtDoubleRect amp viewBox const QRect amp rect const e QwtDoubleRect viewBox const QwtDoubleRect amp area const 6 65 1 Detailed Description A plot item which displays data in Scalable Vector Graphics SVG format SVG images are often used to display maps 6 65 2 Constructor amp Destructor Documentation 6 65 2 1 QwtPlotSvgItem QwtPlotSvgItem const QString amp title QString null explicit Constructor Sets the following item attributes
362. raw QPainter p const QwtScaleMap amp xMap const Qwt ScaleMap amp yMap const QRect amp rect const virtual Draw the scale Implements QwtPlotltem 6 63 3 19 void QwtPlotScaleItem updateScaleDiv const QwtScaleDiv amp xScaleDiv const Qwt ScaleDiv amp yScaleDiv virtual Update the item to changes of the axes scale division In case of isScaleDivFromAxis the scale draw is synchronized to the correspond axis Parameters xScaleDiv Scale division of the x axis yScaleDiv Scale division of the y axis See also QwtPlot updateAxes Reimplemented from QwtPlotItem 6 64 QwtPlotSpectrogram Class Reference A plot item which displays a spectrogram include lt qwt_plot_spectrogram h gt Inheritance diagram for QwtPlotSpectrogram QwtLegenditemManager QwiPlotitem QwiPlotRasterltem QwtPlotSpectrogram Public Types e enum DisplayMode AlwaysOff AlwaysOn ActiveOnly ImageMode 1 ContourMode 2 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 64 QwtPlotSpectrogram Class Reference 287 Public Member Functions e QwtPlotSpectrogram const QString amp title QString null virtual QwtPlotSpectrogram void setDisplayMode DisplayMode bool on true bool testDisplayMode DisplayMode const void setData const QwtRasterData amp data const QwtRasterData amp data const void setColorMap
363. ray lt QwtDoublelInterval gt clipCircle const QwtDoubleRect amp const QwtDouble Point amp double radius 6 8 1 Detailed Description Some clipping algos 6 8 2 Member Function Documentation 6 8 2 1 QwtPolygon QwtClipper clipPolygon const QRect amp clipRect const QwtPolygon amp poly gon static Sutherland Hodgman polygon clipping Parameters clipRect Clip rectangle polygon Polygon Returns Clipped polygon 6 8 2 2 QwtPolygonF QwtClipper clipPolygonF const QwtDoubleRect amp clipRect const Qwt PolygonF amp polygon static Sutherland Hodgman polygon clipping Parameters clipRect Clip rectangle polygon Polygon Returns Clipped polygon Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 9 QwtColorMap Class Reference 44 6 8 2 3 QwtArray lt QwtDoubleInterval gt QwtClipper clipCircle const QwtDoubleRect amp clip Rect const QwtDoublePoint amp center double radius static Circle clipping clipCircle devides a circle into intervals of angles representing arcs of the circle When the circle is completely inside the clip rectangle an interval 0 0 2 x M_PI is returned Parameters clipRect Clip rectangle center Center of the circle radius Radius of the circle Returns Arcs of the circle 6 9 QwtColorMap Class Reference QwtColorMap is used to map values into colors include lt qwt_color_map h gt Inheritance diagram for QwtColorM
364. rband is displayed and the tracker is visible in case of trackerMode is ActiveOnly or AlwaysOn The cursor can be moved using the arrow keys All selections can be aborted using the abort key Qwt EventPattern KeyPatternCode Warning In case of QWidget NoFocus the focus policy of the observed widget is set to QWidget WheelFocus and mouse tracking will be manipulated for ClickSelection while the picker is active or if tracker Mode is AlwayOn 6 41 2 Member Enumeration Documentation 6 41 2 1 enum QwtPicker SelectionType This enum type describes the type of a selection It can be or d with QwtPicker RectSelectionType and QwtPicker SelectionMode and passed to QwtPicker setSelectionFlags NoSelection Selection is disabled Note this is different to the disabled state as you might have a tracker PointSelection Select a single point RectSelection Select a rectangle PolygonSelection Select a polygon The default value is NoSelection See also QwtPicker setSelectionFlags QwtPicker selectionFlags 6 41 2 2 enum QwtPicker RectSelectionType Selection subtype for RectSelection This enum type describes the type of rectangle selections It can be or d with QwtPicker RectSelectionType and QwtPicker SelectionMode and passed to QwtPicker set SelectionFlags e CornerToCorner The first and the second selected point are the corners of the rectangle e CenterToCorner The first point is the c
365. rns int count int numThorns const void setNumThornLevels int count int numThornLevels const void setShrinkFactor double factor double shrinkFactor const virtual void draw QPainter x const QPoint amp center int radius double north QPalette Color Group QPalette Active const Static Public Member Functions e static void drawRose QPainter x const QPalette amp const QPoint amp center int radius double origin double width int numThorns int numThornLevels double shrinkFactor 6 78 1 Detailed Description A simple rose for QwtCompass 6 78 2 Constructor amp Destructor Documentation 6 78 2 1 QwtSimpleCompassRose QwtSimpleCompassRose int numThorns 8 int numThorn Levels 1 Constructor Parameters numThorns Number of thorns numThornLevels Number of thorn levels Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 78 QwtSimpleCompassRose Class Reference 349 6 78 3 Member Function Documentation 6 78 3 1 void QwtSimpleCompassRose setWidth double width Set the width of the rose heads Lower value make thinner heads The range is limited from 0 03 to 0 4 Parameters width Width 6 78 3 2 double QwtSimpleCompassRose width const inline See also setWidth 6 78 3 3 void QwtSimpleCompassRose setNumThorns int numThorns Set the number of thorns on one level The number is aligned to a multiple of 4 with a minimum of 4 Parameters
366. ructor 6 32 3 Member Function Documentation 6 32 3 1 virtual void QwtLegendItemManager updateLegend QwtLegend x legend const pure virtual Update the widget that represents the item on the legend Parameters legend Legend See also legendItem Implemented in QwtPlotCurve and QwtPlotltem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 33 QwtLinearColorMap Class Reference 134 6 32 3 2 virtual QWidget QwtLegendItemManager legendItem const pure virtual Allocate the widget that represents the item on the legend Returns Allocated widget See also updateLegend QwtLegend Implemented in QwtPlotItem 6 33 QwtLinearColorMap Class Reference QwtLinearColorMap builds a color map from color stops include lt qwt_color_map h gt Inheritance diagram for QwtLinearColorMap QuwtColorMap QwtLinearColorMap Public Types e enum Mode FixedColors ScaledColors RotateNeedle RotateScale Public Member Functions e QwtLinearColorMap QwtColorMap Format QwtColorMap RGB e QwtLinearColorMap const QColor amp from const QColor amp to QwtColorMap Format QwtColor Map RGB QwtLinearColorMap const QwtLinearColorMap amp virtual QwtLinearColorMap QwtLinearColorMap amp operator const QwtLinearColorMap amp virtual QwtColorMap copy const void setMode Mode Mode mode const void setColorInterval const Q
367. ructor Documentation 6 50 3 1 QwtPlotCanvas QwtPlotCanvas QwtPlot explicit Sets a cross cursor enables QwtPlotCanvas PaintCached Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 50 QwtPlotCanvas Class Reference 207 6 50 3 2 QwtPlotCanvas QwtPlotCanvas virtual Destructor 6 50 4 Member Function Documentation 6 50 4 1 QwtPlot x QwtPlotCanvas plot Return parent plot widget 6 50 4 2 const QwtPlot QwtPlotCanvas plot const Return parent plot widget 6 50 4 3 void QwtPlotCanvas setFocusIndicator FocusIndicator focusIndicator Set the focus indicator See also FocusIndicator focusIndicator 6 50 4 4 QwtPlotCanvas FocusIndicator QwtPlotCanvas focusIndicator const Returns Focus indicator See also FocusIndicator setFocusIndicator 6 50 4 5 void QwtPlotCanvas setPaintAttribute PaintAttribute attribute bool on t rue Changing the paint attributes Parameters attribute Paint attribute on On Off The default setting enables PaintCached and PaintPacked See also testPaintAttribute drawCanvas drawContents paintCache Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 50 QwtPlotCanvas Class Reference 208 6 50 4 6 bool QwtPlotCanvas testPaintAttribute PaintAttribute attribute const Test wether a paint attribute is enabled Parameters attribute Paint attribute Returns true
368. rvalData 113 QwitIntervalData QwiIntervalData 113 boundingRect 114 interval 114 QwtIntervalData 113 setData 114 size 114 value 114 QwtKnob 115 QwtKnob 116 QwtKnob QwtKnob 116 borderWidth 117 draw 118 drawKnob 119 drawMarker 119 knobWidth 116 minimumSizeHint 117 paintEvent 118 QwtKnob 116 resizeEvent 118 scaleDraw 118 setBorderWidth 117 setKnobWidth 116 setScaleDraw 118 setSymbol 117 setTotalAngle 116 sizeHint 117 Symbol 116 symbol 117 totalAngle 117 QwtLegend 119 QwtLegend 121 QwtLegend QwtLegend 121 clear 123 contents Widget 122 displayPolicy 122 eventFilter 124 find 123 heightForWidth 124 horizontalScrollBar 124 identifierMode 122 insert 122 isEmpty 123 itemCount 124 itemMode 122 layoutContents 125 LegendDisplayPolicy 120 LegendItemMode 121 legendItems 123 QwtLegend 121 remove 123 resizeEvent 124 setDisplayPolicy 122 setItemMode 122 sizeHint 124 verticalScrollBar 124 QwtLegendItem 125 QwtLegendItem 127 QwtLegendItem QwtLegendItem 127 checked 130 clicked 130 curvePen 129 drawldentifier 129 drawlItem 130 drawText 131 IdentifierMode 126 identifierMode 128 identifierWidth 128 isChecked 130 isDown 131 itemMode 127 keyPressEvent 131 keyReleaseEvent 131 mousePressEvent 131 mouseReleaseEvent 131 paintEvent 131 pressed 130 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen
369. s See also axisMaxMinor 6 49 4 48 int QwtPlot axisMaxMajor int axisId const Returns the maximum number of major ticks for a specified axis Parameters axisId axis index sa setAxisMaxMajor 6 49 4 49 void QwtPlot setAxisMaxMajor int axisId int maxMajor Set the maximum number of major scale intervals for a specified axis Parameters axisId axis index maxMajor maximum number of major steps See also axisMaxMajor 6 49 4 50 int QwtPlot axisMaxMinor int axisId const Returns the maximum number of minor ticks for a specified axis Parameters axisId axis index sa setAxisMaxMinor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 200 6 49 4 51 void QwtPlot insertLegend QwtLegend legend QwtPlot LegendPosition pos QwtPlot RightLegend double ratio 1 0 Insert a legend If the position legend is Qwt Plot LeftLegend or QwtPlot RightLegend the legend will be organized in one column from top to down Otherwise the legend items will be placed in a table with a best fit number of columns from left to right If pos QwtPlot ExternalLegend the plot widget will become parent of the legend It will be deleted when the plot is deleted or another legend is set with insertLegend Parameters legend Legend pos The legend s position For top left position the number of colums will be limited to 1 otherwise it wi
370. s gt repaint take care of infinite recursions 6 49 4 65 void QwtPlot autoRefresh slot Replots the plot if QwtPlot autoReplot is t rue 6 49 4 66 void QwtPlot legendItemClicked protected virtual slot Called internally when the legend has been clicked on Emits a legendClicked signal 6 49 4 67 void QwtPlot legendItemChecked bool on protected virtual slot Called internally when the legend has been checked Emits a legendClicked signal Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 203 6 49 4 68 bool QwtPlot axis Valid int axisId static protected Returns true if the specified axis exists otherwise false Parameters axisId axis index 6 49 4 69 void QwtPlot drawItems QPainter x painter const QRect amp rect const QwtScaleMap map axisCnt const QwtPlotPrintFilter amp pfilter const protected virtual Redraw the canvas items Parameters painter Painter used for drawing rect Bounding rectangle where to paint map QwtPlot axisCnt maps mapping between plot and paint device coordinates pfilter Plot print filter 6 49 4 70 void QwtPlot updateTabOrder protected virtual Update the focus tab order The order is changed so that the canvas will be in front of the first legend item or behind the last legend item depending on the position of the legend 6 49 4 71 void QwtPlot resizeEvent QResizeEvent xe prot
371. s QwtPlotltem 6 65 3 5 int QwtPlotSvgItem rtti const virtual Returns QwtPlotItem Rtti_PlotS VG Reimplemented from QwtPlotItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 297 6 65 3 6 void QwtPlotSvgItem render QPainter x painter const QwtDoubleRect amp viewBox const QRect amp rect const protected Render the SVG data Parameters painter Painter viewBox View Box see QSvgRenderer viewBox rect Traget rectangle on the paint device 6 65 3 7 QwtDoubleRect QwtPlotSvgItem viewBox const QwtDoubleRect amp rect const protected Calculate the viewBox from an rect and boundingRect Parameters rect Rectangle in scale coordinates Returns viewBox View Box see QSvgRenderer viewBox 6 66 QwtPlotZoomer Class Reference QwtPlotZoomer provides stacked zooming for a plot widget include lt qwt_plot_zoomer h gt Inheritance diagram for QwtPlotZoomer QwtEventPattern QwiPicker QwtPlotPicker QwtPlotZoomer Public Slots e void moveBy double x double y e virtual void move double x double y e virtual void zoom const QwtDoubleRect amp e virtual void zoom int up Signals void zoomed const QwtDoubleRect amp rect Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 298 Public Member
372. s Reference 182 6 46 4 3 int QwtPickerMachine state const Return the current state 6 46 4 4 void QwtPickerMachine setState int Change the current state 6 47 QwtPickerPolygonMachine Class Reference A state machine for polygon selections include lt qwt_picker_machine h gt Inheritance diagram for QwtPickerPolygonMachine QwtPickerMachine QwtPickerPolygonMachine Public Member Functions e virtual CommandList transition const QwtEventPattern amp const QEvent 6 47 1 Detailed Description A state machine for polygon selections Pressing QwtEventPattern MouseSelect1 or QwtEventPattern KeySelect starts the selection and selects the first point or appends a point Pressing QwtEventPattern MouseSelect2 or QwtEventPattern Key Select2 appends the last point and terminates the selection See also QwtEventPattern MousePatternCode QwtEventPattern KeyPatternCode 6 47 2 Member Function Documentation 6 47 2 1 QwtPickerMachine CommandList QwtPickerPolygonMachine transition const Qwt EventPattern amp const QEvent virtual Transition Implements QwtPickerMachine 6 48 QwtPlainTextEngine Class Reference A text engine for plain texts include lt qwt_text_engine h gt Inheritance diagram for QwtPlainTextEngine Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 48 QwtPlainTextEngine Class Reference 183 QwtTextEngine
373. s above or below min anglel angle2 scale marks will not be drawn e If you need a counterclockwise scale use QwtScaleDiv setRange 6 70 3 8 int QwtRoundScaleDraw extent const QPen amp pen const QFont amp font const virtual Calculate the extent of the scale The extent is the distcance between the baseline to the outermost pixel of the scale draw radius extent is an upper limit for the radius of the bounding circle Parameters pen Pen that is used for painting backbone and ticks font Font used for painting the labels See also setMinimumExtent minimumExtent Warning The implemented algo is not too smart and calculates only an upper limit that might be a few pixels too large Implements QwtAbstractScaleDraw 6 70 3 9 void QwtRoundScaleDraw drawTick QPainter painter double value int Jen const protected virtual Draw a tick Parameters painter Painter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 71 QwtScaleArithmetic Class Reference 315 value Value of the tick len Lenght of the tick See also drawBackbone drawLabel Implements QwtAbstractScaleDraw 6 70 3 10 void QwtRoundScaleDraw drawBackbone QPainter x painter const protected virtual Draws the baseline of the scale Parameters painter Painter See also drawTick drawLabel Implements QwtAbstractScaleDraw 6 70 3 11 void QwtRoundScaleDraw drawLabel QP
374. s event for the observed widget Parameters ke Key event See also eventFilter widgetKeyReleaseEvent 6 36 3 26 void QwtMagnifier widgetKeyReleaseEvent QKeyEvent protected virtual Handle a key release event for the observed widget Parameters ke Key event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 37 QwtMathMLtTextEngine Class Reference 148 See also eventFilter widgetKeyReleaseEvent 6 37 QwtMathMLtTextEngine Class Reference Text Engine for the MathML renderer of the Qt solutions package include lt qwt_mathml_text_engine h gt Inheritance diagram for QwtMathMLTextEngine QwtTextEngine QwtMathMLTextEngine Public Member Functions e QwtMathMLtTextEngine virtual QwtMathMLTextEngine virtual int heightForWidth const QFont amp font int flags const QString amp text int width const virtual QSize textSize const QFont amp font int flags const QString amp text const virtual void draw QPainter painter const QRect amp rect int flags const QString amp text const virtual bool mightRender const QString amp const virtual void textMargins const QFont amp const QString amp int amp left int amp right int amp top int amp bot tom const 6 37 1 Detailed Description Text Engine for the MathML renderer of the Qt solutions package The Qt Solution package includes a renderer for MathML http
375. s is supported by optional rubberbands rubberband selection and position trackers QwtPicker is useful for widgets where the event handlers can t be overloaded like for components of composite widgets It offers alternative handlers for mouse and key events Example include lt qwt_picker h gt QwtPicker picker new QwtPicker widget picker gt setTrackerMode QwtPicker ActiveOnly connect picker SIGNAL selected const QwtPolygon amp emit the position of clicks on widget picker gt setSelectionFlags QwtPicker PointSelection QwtPicker ClickSelection now select rectangles picker gt setSelectionFlags QwtPicker RectSelection QwtPicker DragSelection picker gt setRubberBand QwtPicker RectRubberBand The selection process uses the commands begin append move and end append adds a new point to the selection move changes the position of the latest point Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 164 The commands are initiated from a small state machine QwtPickerMachine that translates mouse and key events There are a couple of predefined state machines for point rect and polygon selections The selectionFlags control which one should be used It is possible to use other machines by overloading stateMachine The picker is active isActive between begin and end In active state the rubbe
376. sId axis index 6 49 4 28 void QwtPlot enableAxis int axisId bool tf t rue Enable or disable a specified axis When an axis is disabled this only means that it is not visible on the screen Curves markers and can be attached to disabled axes and transformation of screen coordinates into values works as normal Only xBottom and yLeft are enabled by default Parameters axisId axis index tf true enabled or false disabled 6 49 4 29 bool QwtPlot axisEnabled int axisId const Returns true if a specified axis is enabled Parameters axisId axis index 6 49 4 30 void QwtPlot setAxisFont int axisId const QFont amp f Change the font of an axis Parameters axisId axis index Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 195 f font Warning This function changes the font of the tick labels not of the axis title 6 49 4 31 QFont QwtPlot axisFont int axisId const Returns the font of the scale labels for a specified axis Parameters axisId axis index 6 49 4 32 void QwtPlot setAxisScale int axisId double min double max double stepSize 0 Disable autoscaling and specify a fixed scale for a selected axis Parameters axisId axis index min max minimum and maximum of the scale stepSize Major step size If step 0 the step size is calculated automatically using the max Major setting See also setAxisMaxMajo
377. setHand hand Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 5 QwtAnalogClock Class Reference 36 6 5 3 Constructor amp Destructor Documentation 6 5 3 1 QwtAnalogClock QwtAnalogClock QWidget x parent NULL explicit Constructor Parameters parent Parent widget 6 5 3 2 QwtAnalogClock QwtAnalogClock virtual Destructor 6 5 4 Member Function Documentation 6 5 4 1 void QwtAnalogClock setHand Hand hand QwtDialNeedle needle virtual Set a clockhand Parameters hand Specifies the type of hand needle Hand See also hand 6 5 4 2 const QwtDialNeedle x QwtAnalogClock hand Hand hd const Returns Clock hand Parameters hd Specifies the type of hand See also setHand 6 5 4 3 QwtDialNeedle x QwtAnalogClock hand Hand hd Returns Clock hand Parameters hd Specifies the type of hand See also setHand Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 5 QwtAnalogClock Class Reference 37 6 5 4 4 void QwtAnalogClock setCurrentTime slot Set the current time This is the same as QwtAnalogClock setTime but Qt lt 3 0 can t handle default parameters for slots 6 5 4 5 void QwtAnalogClock setTime const QTime amp time QTime currentTime slot Set a time Parameters time Time to display 6 5 4 6 QwtText QwtAnalogClock scaleLabel double value const protected virtual Find
378. so QwtPlot autoReplot QwtPlot replotQ setZoomBase 6 66 2 2 QwtPlotZoomer QwtPlotZoomer int xAxis int yAxis QwtPlotCanvas canvas bool do Replot true explicit Create a zoomer for a plot canvas The selectionFlags are set to QwtPicker RectSelection amp QwtPicker ClickSelection the tracker mode to QwtPicker ActiveOnly Parameters xAxis X axis of the zoomer yAxis Y axis of the zoomer canvas Plot canvas to observe also the parent object doReplot Call replot for the attached plot before initializing the zoomer with its scales This might be necessary when the plot is in a state with pending scale changes See also QwtPlot autoReplot QwtPlot replotQ setZoomBase 6 66 2 3 QwtPlotZoomer QwtPlotZoomer int xAxis int yAxis int selectionFlags DisplayMode trackerMode QwtPlotCanvas x canvas bool doReplot true explicit Create a zoomer for a plot canvas Parameters xAxis X axis of the zoomer yAxis Y axis of the zoomer selectionFlags Or d value of QwtPicker RectSelectionType and QwtPicker SelectionMode Qwt Picker RectSelection will be auto added Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 300 trackerMode Tracker mode canvas Plot canvas to observe also the parent object doReplot Call replot for the attached plot before initializing the zoomer with its scales This might be necessary when the plot is in a sta
379. ssEvent widgetMouseReleaseEvent widgetMouseDoubleClickEvent widgetMouseMoveEvent widgetWheelEvent widgetKeyPressEvent widgetKeyReleaseEvent Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 171 6 41 4 19 QWidget x QwtPicker parentWidget Return the parent widget where the selection happens 6 41 4 20 const QWidget x QwtPicker parentWidget const Return the parent widget where the selection happens 6 41 4 21 QRect QwtPicker pickRect const virtual Find the area of the observed widget where selection might happen Returns QFrame contentsRect if it is a QFrame QWidget rect otherwise 6 41 4 22 const QwtPolygon amp QwtPicker selection const Return Selected points 6 41 4 23 void QwtPicker drawRubberBand QPainter painter const virtual Draw a rubberband depending on rubberBand and selectionFlags Parameters painter Painter initialized with clip rect See also rubberBand RubberBand selectionFlags 6 41 4 24 void QwtPicker drawTracker QPainter x painter const virtual Draw the tracker Parameters painter Painter See also trackerRect trackerText 6 41 4 25 QwtText QwtPicker trackerText const QPoint amp pos const virtual Return the label for a position In case of HLineRubberBand the label is the value of the y position in case of VLineRubberBand the value of the
380. st Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 46 QwtPickerMachine Class Reference 181 Public Member Functions virtual QwtPickerMachine virtual Command_List transition const QwtEventPattern amp const QEvent 0 void reset int state const void setState int Protected Member Functions e QwtPickerMachine 6 46 1 Detailed Description A state machine for QwtPicker selections QwtPickerMachine accepts key and mouse events and translates them into selection commands See also QwtEventPattern MousePatternCode QwtEventPattern KeyPatternCode 6 46 2 Member Enumeration Documentation 6 46 2 1 enum QwtPickerMachine Command Commands the output of the state machine 6 46 3 Constructor amp Destructor Documentation 6 46 3 1 QwtPickerMachine QwtPickerMachine virtual Destructor 6 46 3 2 QwtPickerMachine QwtPickerMachine protected Constructor 6 46 4 Member Function Documentation 6 46 4 1 virtual CommandList QwtPickerMachine transition const QwtEventPattern amp const QEvent pure virtual Transition Implemented in QwtPickerClickPointMachine QwtPickerDragPointMachine QwtPickerClickRect Machine QwtPickerDragRectMachine and QwtPickerPolygonMachine 6 46 4 2 void QwtPickerMachine reset Set the current state to 0 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 47 QwtPickerPolygonMachine Clas
381. structor Parameters style Style hasKnob With Without knob mid Middle color base Base color 6 21 4 Member Function Documentation 6 21 4 1 void QwtDialSimpleNeedle draw QPainter x painter const QPoint amp center int length double direction QPalette ColorGroup colorGroup QPalette Active const virtual Draw the needle Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 21 QwtDialSimpleNeedle Class Reference 88 Parameters painter Painter center Center of the dial start position for the needle length Length of the needle direction Direction of the needle in degrees counter clockwise colorGroup Color group used for painting Implements QwtDialNeedle 6 21 4 2 void QwtDialSimpleNeedle drawArrowNeedle QPainter painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length int width double di rection bool hasKnob static Draw a needle looking like an arrow Parameters painter Painter palette Palette colorGroup Color group center center of the needle length Length of the needle width Width of the needle direction Current Direction hasKnob With Without knob 6 21 4 3 void QwtDialSimpleNeedle drawRayNeedle QPainter painter const QPalette amp palette QPalette ColorGroup colorGroup const QPoint amp center int length int width double direction bool hasKnob static Draw a needle looking like a ray
382. supports this feature Parameters from Index of the first point to be painted to Index of the last point to be painted If to lt 0 the curve will be painted to its last point See also drawCurve drawSymbols Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 222 6 51 4 39 void QwtPlotCurve updateLegend QwtLegend const virtual Update the widget that represents the curve on the legend Reimplemented from QwtPlotItem 6 51 4 40 void QwtPlotCurve init protected Initialize data members 6 51 4 41 void QwtPlotCurve drawCurve QPainter painter int style const QwtScaleMap amp x Map const QwtScaleMap amp yMap int from int to const protected virtual Draw the line part without symbols of a curve interval Parameters painter Painter style curve style see QwtPlotCurve CurveStyle xMap x map yMap y map from index of the first point to be painted to index of the last point to be painted See also draw drawDots drawLines drawSteps drawSticks 6 51 4 42 void QwtPlotCurve drawSymbols QPainter x painter const QwtSymbol amp symbol const QwtScaleMap amp xMap const QwtScaleMap amp yMap int from int to const protected virtual Draw symbols Parameters painter Painter symbol Curve symbol xMap x map yMap y map from index of the first point to be painted to index of the last point to be
383. t x2 Second interval limit Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 141 maxMajSteps Maximum for the number of major steps maxMinSteps Maximum number of minor steps stepSize Step size If stepSize 0 the scaleEngine calculates one See also QwtScaleEngine stepSize QwtLog10ScaleEngine subDivide Implements QwtScaleEngine 6 35 2 3 QwtScaleTransformation x QwtLog10ScaleEngine transformation const virtual Return a transformation for logarithmic base 10 scales Implements QwtScaleEngine 6 35 2 4 QwtDoubleInterval QwtLog10ScaleEngine log10 const QwtDoubleInterval amp interval const protected Return the interval log10 interval min Value log 10 interval max Value 6 35 2 5 QwtDoubleInterval QwtLog10ScaleEngine pow10 const QwtDoubleInterval amp interval const protected Return the interval pow 10 interval minValue pow O interval max Value 6 36 QwtMagnifier Class Reference QwtMagnifier provides zooming by magnifying in steps include lt qwt_magnifier h gt Inheritance diagram for QwtMagnifier QwtMagnifier QwtPlotMagnifier Public Member Functions e QwtMagnifier QWidget virtual QwtMagnifier QWidget x parentWidget const QWidget x parentWidget const void setEnabled bool bool isEnabled const void setMouseFactor double double mouseFactor const
384. t virtual bool hasHeightForWidth const virtual int heightForWidth int const virtual QSize sizeHint const virtual bool isEmpty const uint itemCount const virtual uint columnsForWidth int width const Protected Member Functions e void layoutGrid uint numCols QwtArray lt int gt amp rowHeight QwtArray lt int gt amp colWidth const e void stretchGrid const QRect amp rect uint numCols QwtArray lt int gt amp rowHeight QwtArray lt int gt amp colWidth const 6 24 1 Detailed Description The QwtDynGridLayout class lays out widgets in a grid adjusting the number of columns and rows to the current size QwtDynGridLayout takes the space it gets divides it up into rows and columns and puts each of the widgets it manages into the correct cell s It lays out as many number of columns as possible limited by maxCols Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 24 QwtDynGridLayout Class Reference 102 6 24 2 Constructor amp Destructor Documentation 6 24 2 1 QwtDynGridLayout QwtDynGridLayout QWidget x parent int margin 0 int spacing 1 explicit Parameters parent Parent widget margin Margin spacing Spacing 6 24 2 2 QwtDynGridLayout QwtDynGridLayout int spacing 1 explicit Parameters spacing Spacing 6 24 2 3 QwtDynGridLayout QwtDynGridLayout virtual Destructor 6 24 3 Member Function Documentation 6 24 3 1 void QwtDy
385. t lt QWidget x gt legendItems const void clear bool isEmpty const uint itemCount const virtual bool eventFilter QObject x QEvent virtual QSize sizeHint const virtual int heightForWidth int w const e QScrollBar x horizontalScrollBar const e QScrollBar verticalScrollBar const Protected Member Functions e virtual void resizeEvent QResizeEvent e virtual void layoutContents 6 30 1 Detailed Description The legend widget The QwtLegend widget is a tabular arrangement of legend items Legend items might be any type of widget but in general they will be a QwtLegendItem See also QwtLegendItem QwtLegendItemManager QwtPlot 6 30 2 Member Enumeration Documentation 6 30 2 1 enum QwtLegend LegendDisplayPolicy Display policy e Noldentifier The client code is responsible how to display of each legend item The Qwt library will not interfere Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 122 FixedIdentifier All legend items are displayed with the QwtLegendItem IdentifierMode to be passed in mode e Autoldentifier Each legend item is displayed with a mode that is a bitwise or of QwtLegendItem ShowLine if its curve is drawn with a line and QwtLegendItem ShowSymbol if its curve is drawn with symbols and QwtLegendItem ShowText if the has a title Default is AutoIdentifier See also s
386. t the symbol of the knob See also symbol 6 29 4 8 QwtKnob Symbol QwtKnob symbol const Returns symbol of the knob See also setS ymbol 6 29 4 9 QSize QwtKnob sizeHint const virtual Returns minimumSizeHint Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 29 QwtKnob Class Reference 119 6 29 4 10 QSize QwtKnob minimumSizeHint const virtual Return a minimum size hint Warning The return value of QwtKnob minimumSizeHint depends on the font and the scale 6 29 4 11 void QwtKnob setScaleDraw QwtRoundScaleDraw x scaleDraw Change the scale draw of the knob For changing the labels of the scales it is necessary to derive from QwtRoundScaleDraw and overload QwtRoundScaleDraw label See also scaleDraw 6 29 4 12 const QwtRoundScaleDraw QwtKnob scaleDraw const Returns the scale draw of the knob See also setScaleDraw 6 29 4 13 QwtRoundScaleDraw QwtKnob scaleDraw Returns the scale draw of the knob See also setScaleDraw 6 29 4 14 void QwtKnob paintEvent QPaintEvent xe protected virtual Repaint the knob Parameters e Paint event 6 29 4 15 void QwtKnob resizeEvent QResizeEvent xe protected virtual Qt Resize Event Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 30 QwtLegend Class Reference 120 6 29 4 16 void QwtKnob draw QPainter painter co
387. tArray lt double gt amp y e QwtArrayData const double x const double y size_t size e QwtArrayData amp operator const QwtArrayData amp virtual QwtData copy const virtual size_t size const virtual double x size_t 1 const virtual double y size_t i const const QwtArray lt double gt amp xData const const QwtArray lt double gt amp yData const virtual QwtDoubleRect boundingRect const 6 6 1 Detailed Description Data class containing two QwtArray lt double gt objects 6 6 2 Constructor amp Destructor Documentation 6 6 2 1 QwtArrayData QwtArrayData const QwtArray lt double gt amp x const QwtArray lt dou ble gt amp y Constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 6 QwtArrayData Class Reference 39 Parameters x Array of x values y Array of y values See also QwtPlotCurve setData 6 6 2 2 QwtArrayData QwtArrayData const double x const double x y size_t size Constructor Parameters x Array of x values y Array of y values size Size of the x and y arrays See also QwtPlotCurve setData 6 6 3 Member Function Documentation 6 6 3 1 QwtArrayData amp QwtArrayData operator const QwtArrayData amp Assignment 6 6 3 2 QwtData x QwtArrayData copy const virtual Returns Pointer to a copy virtual copy constructor Implements QwtData 6 6 3 3 size_t QwtArrayData size const v
388. tLabel x titleLabel const QwtPlotCanvas canvas const QwtPlotCanvas canvas const void setCanvasBackground const QColor amp c const QColor amp canvasBackground const void setCanvasLineWidth int w int canvasLine Width const virtual QwtScaleMap canvasMap int axisId const double invTransform int axisId int pos const int transform int axisId double value const QwtScaleEngine axisScaleEngine int axisId const QwtScaleEngine x axisScaleEngine int axisId const void setAxisScaleEngine int axisId QwtScaleEngine void setAxisAutoScale int axisId bool axisAutoScale int axisId const void enableAxis int axisId bool tf true bool axisEnabled int axisId const void setAxisFont int axisId const QFont amp f QFont axisFont int axisId const void setAxisScale int axisId double min double max double step 0 void setAxisScaleDiv int axisId const QwtScaleDiv amp void setAxisScaleDraw int axisId QwtScaleDraw double axisStepSize int axisId const const QwtScaleDiv axisScaleDiv int axisId const QwtScaleDiv x axisScaleDiv int axisId const QwtScaleDraw axisScaleDraw int axisId const QwtScaleDraw axisScaleDraw int axisId const QwtScaleWidget x axis Widget int axisId const QwtScaleWidget x axisWidget int axisId void setAxisLabelAlignment int axisId Qt Alignment void setAxisLabelRotation int axisId double rotation void setAxisTitle int axisId const QString amp
389. tPlot updateAxes Rebuild the scales 6 49 4 60 bool QwtPlot event QEvent virtual Adds handling of layout requests 6 49 4 61 void QwtPlot legendClicked QwtPlotItem x plotItem signal A signal which is emitted when the user has clicked on a legend item which is in QwtLegend Clickable Item mode Parameters plotItem Corresponding plot item of the selected legend item Note clicks are disabled as default See also QwtLegend setItemMode QwtLegend itemMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 49 QwtPlot Class Reference 202 6 49 4 62 void QwtPlot legendChecked QwtPlotItem plotItem boolon signal A signal which is emitted when the user has clicked on a legend item which is in QwtLegend Checkable Item mode Parameters plotItem Corresponding plot item of the selected legend item on True when the legen item is checked Note clicks are disabled as default See also QwtLegend setItemMode QwtLegend itemMode 6 49 4 63 void QwtPlot clear virtual slot Remove all curves and markers Deprecated Use QwtPlotDeict detachItems instead 6 49 4 64 void QwtPlot replot virtual slot Redraw the plot If the autoReplot option is not set which is the default or if any curves are attached to raw data the plot has to be refreshed explicitly in order to make changes visible See also setAutoReplot Warning Calls canva
390. tScaleDiv amp scaleDiv Assign an x axis scale division Parameters scaleDiv Scale division Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 230 6 53 3 11 const QwtScaleDiv amp QwtPlotGrid xScaleDiv const Returns the scale division of the x axis 6 53 3 12 void QwtPlotGrid setYDiv const QwtScaleDiv amp scaleDiv Assign a y axis division Parameters scaleDiv Scale division 6 53 3 13 const QwtScaleDiv amp QwtPlotGrid yScaleDiv const Returns the scale division of the y axis 6 53 3 14 void QwtPlotGrid setPen const QPen amp pen Assign a pen for both major and minor gridlines The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen Pen See also setMajPen setMinPen QwtPainter scaledPen 6 53 3 15 void QwtPlotGrid setMajPen const QPen amp pen Assign a pen for the major gridlines The width of non cosmetic pens is scaled according to the resolution of the paint device Parameters pen Pen See also majPen setMinPen setPen QwtPainter scaledPen 6 53 3 16 const QPen amp QwtPlotGrid majPen const Returns the pen for the major gridlines See also setMajPenQ setMinPen setPen Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 53 QwtPlotGrid Class Reference 231 6 53 3 17 void QwtPlotGrid setMin
391. tSlider See also QwtAbstractSlider and QwtAbstractScale for the descriptions of the inherited members 6 29 2 Member Enumeration Documentation 6 29 2 1 enum QwtKnob Symbol Symbol See also QwtKnob QwtKnob 6 29 3 Constructor amp Destructor Documentation 6 29 3 1 QwtKnob QwtKnob QWidget parent NULL explicit Constructor Parameters parent Parent widget 6 29 3 2 QwtKnob QwtKnob virtual Destructor 6 29 4 Member Function Documentation 6 29 4 1 void QwtKnob setKnob Width int w Change the knob s width The specified width must be gt 5 or it will be clipped Parameters w New width 6 29 4 2 int QwtKnob knobWidth const Return the width of the knob Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 29 QwtKnob Class Reference 118 6 29 4 3 void QwtKnob setTotalAngle double angle Set the total angle by which the knob can be turned Parameters angle Angle in degrees The default angle is 270 degrees It is possible to specify an angle of more than 360 degrees so that the knob can be turned several times around its axis 6 29 4 4 double QwtKnob totalAngle const Return the total angle 6 29 4 5 void QwtKnob setBorder Width int bw Set the knob s border width Parameters bw new border width 6 29 4 6 int QwtKnob border Width const Return the border width 6 29 4 7 void QwtKnob setSymbol QwtKnob Symbol s Se
392. tZ QwtPlotDict itemListQ 6 54 4 13 void QwtPlotItem setZ double z Set the z value Plot items are painted in increasing z order Parameters z Z value See also zZQ QwtPlotDict itemList 6 54 4 14 void QwtPlotItem show Show the item Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 238 6 54 4 15 void QwtPlotItem hide Hide the item 6 54 4 16 void QwtPlotItem setVisible bool on virtual Show Hide the item Parameters on Show if true otherwise hide See also is Visible showQ hide 6 54 4 17 bool QwtPlotItem isVisible const Returns true if visible See also setVisible show hide 6 54 4 18 void QwtPlotItem setAxis int xAxis int yAxis Set X and Y axis The item will painted according to the coordinates its Axes Parameters xAxis X Axis yAxis Y Axis See also setXAxis setYAxis xAxis yAxis 6 54 4 19 void QwtPlotItem setXAxis int axis Set the X axis The item will painted according to the coordinates its Axes Parameters axis X Axis See also setAxis setYAxis xAxis Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 239 6 54 4 20 int QwtPlotItem xAxis const Return xAxis 6 54 4 21 void QwtPlotItem setYAxis int axis Set the Y axis The item will painted according to
393. te with pending scale changes See also QwtPicker QwtPicker setSelectionFlags QwtPicker setRubberBand QwtPicker setTracker Mode QwtPlot autoReplot QwtPlot replotQ setZoomBase 6 66 3 Member Function Documentation 6 66 3 1 void QwtPlotZoomer setZoomBase bool doReplot true virtual Reinitialized the zoom stack with scaleRect as base Parameters doReplot Call replot for the attached plot before initializing the zoomer with its scales This might be necessary when the plot is in a state with pending scale changes See also zoomBase scaleRect QwtPlot autoReplot QwtPlot replot 6 66 3 2 void QwtPlotZoomer setZoomBase const QwtDoubleRect amp base virtual Set the initial size of the zoomer base is united with the current scaleRect and the zoom stack is reinitalized with it as zoom base plot is zoomed to scaleRect Parameters base Zoom base See also zoomBase scaleRect 6 66 3 3 QwtDoubleRect QwtPlotZoomer zoomBase const Returns Initial rectangle of the zoomer See also setZoomBase zoomRect Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 66 QwtPlotZoomer Class Reference 301 6 66 3 4 QwtDoubleRect QwtPlotZoomer zoomRect const Rectangle at the current position on the zoom stack See also zoomRectIndex scaleRect 6 66 3 5 void QwtPlotZoomer setAxis int xAxis int yAxis virtual Reinitialize t
394. tected virtual Rejects selections when the stack depth is too deep or the zoomed rectangle is minZoomSize See also minZoomSize maxStackDepth Reimplemented from QwtPicker 6 66 3 21 bool QwtPlotZoomer end bool ok true protected virtual Expand the selected rectangle to minZoomSize and zoom in if accepted See also accept minZoomSize Reimplemented from QwtPlotPicker 6 66 3 22 bool QwtPlotZoomer accept QwtPolygon amp pa const protected virtual Check and correct a selected rectangle Reject rectangles with a hight or width lt 2 otherwise expand the selected rectangle to a minimum size of 11x11 and accept it Returns true If rect is accepted or has been changed to a accepted rectangle Reimplemented from QwtPicker Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 67 QwtPolygonFData Class Reference 305 6 67 QwtPolygonFData Class Reference Data class containing a single QwtArray lt QwtDoublePoint gt object include lt qwt_data h gt Inheritance diagram for QwtPolygonFData QwtData QwtPolygonF Data Public Member Functions e QwtPolygonFData const QPolygonF amp e QwtPolygonFData amp operator const QwtPolygonFData amp virtual QwtData copy const virtual size_t size const virtual double x size_t 1 const virtual double y size_t i const const QPolygonF amp data const 6 67 1 Detail
395. tepSize QwtPlot 195 axisTitle QwtPlot 197 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 415 axis Valid QwtCounter 62 QwtPlot 201 axis Widget CachePolicy QwtPlot 196 QwtPlotRasterItem 270 cachePolicy backgroundBrush QwtPlotRasterltem 272 QwtText 373 canvas backgroundPen QwtPlot 190 QwtText 373 QwtPlotMagnifier 250 baseline QwtPlotPanner 258 QwtPlotCurve 218 QwtPlotPicker 262 begin QwtPlotRescaler 277 QwtPicker 172 QwtPlotZoomer 303 BGSTYLE QwtSlider 351 bgStyle QwtSlider 352 borderDistance QwtPlotScalelItem 284 borderFlags QwtDoubleInterval 91 BorderMode QwtDoubleInterval 89 borderWidth QwtKnob 117 QwtSlider 353 QwtThermo 386 boundingLabelRect QwtScaleDraw 327 boundingRect QwtArrayData 39 QwtCPointerData 65 QwtData 68 QwtDial 76 QwtIntervalData 114 QwtPlotCurve 216 QwtPlotItem 238 QwtPlotMarker 257 QwtPlotSpectrogram 288 QwtPlotSvglItem 295 QwtRasterData 307 brush QwtPlotCurve 218 QwtSymbol 366 buildInterval QwtScaleEngine 333 buildNatural Spline QwtSpline 360 buildPeriodicSpline QwtSpline 360 Button QwtCounter 58 buttonReleased canvasBackground QwtPlot 191 canvasLine Width QwtPlot 191 canvasMap QwtPlot 191 canvasMargin QwtPlotLayout 243 canvasRect QwtPlotLayout 247 ceil125 QwtScaleArithmetic 316 ceilEps QwtScaleArithmetic 315 center QwtRoundScaleDraw 312 changed QwtPicker 172 checked QwtLeg
396. terData QuwiPlotSpectrogram PrivateData DummyData Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 68 QwtRasterData Class Reference 307 Public Types e enum ConrecAttribute IgnoreAllVerticesOnLevel 1 IgnoreOutOfRange 2 e typedef QMap lt double QPolygonF gt ContourLines Public Member Functions e QwtRasterData e QwtRasterData const QwtDoubleRect amp virtual QwtRasterData virtual QwtRasterData x copy const 0 virtual void setBoundingRect const QwtDoubleRect amp QwtDoubleRect boundingRect const virtual QSize rasterHint const QwtDoubleRect amp const virtual void initRaster const QwtDoubleRect amp const QSize amp raster virtual void discardRaster virtual double value double x double y const 0 virtual QwtDoubleInterval range const 0 virtual ContourLines contourLines const QwtDoubleRect amp rect const QSize amp raster const QList lt double gt amp levels int flags const 6 68 1 Detailed Description QwtRasterData defines an interface to any type of raster data QwtRasterData is an abstract interface that is used by QwtPlotRasterltem to find the values at the pixels of its raster Often a raster item is used to display values from a matrix Then the derived raster data class needs to implement some sort of resampling that maps the raster of the matrix into the requested raster of the raster item depending on resolution a
397. the coordinates its Axes Parameters axis Y Axis See also setAxis setXAxis yAxis 6 54 4 22 int QwtPlotItem yAxis const Return yAxis 6 54 4 23 void QwtPlotItem itemChanged virtual Update the legend and call QwtPlot autoRefresh for the parent plot See also updateLegend 6 54 4 24 virtual void QwtPlotItem draw QPainter x painter const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp canvasRect const pure virtual Draw the item Parameters painter Painter xMap Maps x values into pixel coordinates yMap Maps y values into pixel coordinates canvasRect Contents rect of the canvas in painter coordinates Implemented in QwtPlotCurve QwtPlotGrid QwtPlotMarker QwtPlotRasterltem QwtPlotScaleItem QwtPlotSpectrogram and QwtPlotSvgltem 6 54 4 25 QwtDoubleRect QwtPlotItem boundingRect const virtual Returns An invalid bounding rect QwtDoubleRect 1 0 1 0 2 0 2 0 Reimplemented in QwtPlotCurve QwtPlotMarker QwtPlotSpectrogram and QwtPlotSvglItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 54 QwtPlotItem Class Reference 240 6 54 4 26 void QwtPlotItem updateLegend QwtLegend x legend const virtual Update the widget that represents the item on the legend updateLegend is called from itemChanged to adopt the widget representing the item on the legend to its new configuration The default implementatio
398. the scale label for a given value Parameters value Value Returns Label Reimplemented from QwtDial 6 5 4 7 void QwtAnalogClock drawNeedle QPainter painter const QPoint amp center int radius double direction QPalette ColorGroup cg const protected virtual Draw the needle A clock has no single needle but three hands instead drawNeedle translates value into directions for the hands and calls drawHand Parameters painter Painter center Center of the clock radius Maximum length for the hands direction Dummy not used cg ColorGroup See also drawHand Reimplemented from QwtDial Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 6 QwtArrayData Class Reference 38 6 5 4 8 void QwtAnalogClock drawHand QPainter painter Hand hd const QPoint amp center int radius double direction QPalette ColorGroup cg const protected virtual Draw a clock hand Parameters painter Painter hd Specify the type of hand center Center of the clock radius Maximum length for the hands direction Direction of the hand in degrees counter clockwise cg ColorGroup 6 6 QwtArrayData Class Reference Data class containing two QwtArray lt double gt objects include lt qwt_data h gt Inheritance diagram for QwtArrayData QwtData QwtArrayData Public Member Functions e QwtArrayData const QwtArray lt double gt amp x const Qw
399. the slider s border width Parameters bd border width 6 79 4 12 void QwtSlider setMargins int xMargin int yMargin Set distances between the widget s border and internals Parameters xMargin Horizontal margin yMargin Vertical margin 6 79 4 13 QSize QwtSlider sizeHint const virtual Returns QwtSlider minimumSizeHint 6 79 4 14 QSize QwtSlider minimumSizeHint const virtual Return a minimum size hint Warning The return value of QwtSlider minimumSizeHint depends on the font and the scale 6 79 4 15 void QwtSlider setScaleDraw QwtScaleDraw scaleDraw Set a scale draw For changing the labels of the scales it is necessary to derive from QwtScaleDraw and overload QwtScale Draw label Parameters scaleDraw ScaleDraw object that has to be created with new and will be deleted in QwtSlider or the next call of setScaleDraw 6 79 4 16 const QwtScaleDraw QwtSlider scaleDraw const Returns the scale draw of the slider See also setScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 79 QwtSlider Class Reference 356 6 79 4 17 double QwtSlider getValue const QPoint amp pos protected virtual Determine the value corresponding to a specified mouse location Parameters pos Mouse position Implements QwtAbstractSlider 6 79 4 18 void QwtSlider getScrollMode const QPoint amp p int amp scrollMode int amp d
400. thin an interval include lt qwt_double_range h gt Inheritance diagram for QwtDoubleRange QuwtDoubleRange QwtAbstractSlider QwtCounter e QwtSlider QwtWheel QwtAnalogClock QwtCompass Public Member Functions e QwtDoubleRange Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 23 QwtDoubleRange Class Reference 96 virtual QwtDoubleRange void set Valid bool bool is Valid const virtual void set Value double double value const void setPeriodic bool tf bool periodic const void setStep double double step const double max Value const double minValue const int pageSize const virtual void inc Value int virtual void incPages int virtual void fit Value double Protected Member Functions double exact Value const double exactPrev Value const double prevValue const virtual void valueChange virtual void stepChange virtual void rangeChange 6 23 1 Detailed Description A class which controls a value within an interval void setRange double vmin double vmax double vstep 0 0 int pagesize 1 This class is useful as a base class or a member for sliders It represents an interval of type double within which a value can be moved The value can be either an arbitrary point inside the interval see QwtDouble Range setValue or it can be fitted into a step raster see
401. tick See also drawBackbone drawLabel Implements QwtAbstractScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 329 6 73 4 26 void QwtScaleDraw drawBackbone QPainter painter const protected virtual Draws the baseline of the scale Parameters painter Painter See also drawTick drawLabel Implements QwtAbstractScaleDraw 6 73 4 27 void QwtScaleDraw drawLabel QPainter painter double value const protected virtual Draws the label for a major scale tick Parameters painter Painter value Value See also drawTick drawBackbone boundingLabelRect Implements QwtAbstractScaleDraw 6 74 QwtScaleEngine Class Reference Base class for scale engines include lt qwt_scale_engine h gt Inheritance diagram for QwtScaleEngine QwtScaleEngine QwtLinearScaleEngine QwtLog10ScaleEngine Public Types e enum Attribute NoAttribute 0 IncludeReference 1 Symmetric 2 Floating 4 Inverted 8 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 74 QwtScaleEngine Class Reference 330 Public Member Functions e QwtScaleEngine virtual QwtScaleEngine void setAttribute Attribute bool on true bool testAttribute Attribute const void setAttributes int int attributes const void setReference double reference dou
402. tion Direction 6 11 4 4 void QwtCompassMagnetNeedle drawPointer QPainter painter const QBrush amp brush int colorOffset const QPoint amp center int length int width double direction static protected Draw a compass needle Parameters painter Painter Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 12 QwtCompassRose Class Reference 54 brush Brush colorOffset Color offset center Center where the needle starts length Length of the needle width Width of the needle direction Direction 6 12 QwtCompassRose Class Reference Abstract base class for a compass rose include lt qwt_compass_rose h gt Inheritance diagram for QwtCompassRose QwtCompassRose i QwtSimpleCompassRose Public Member Functions e virtual void setPalette const QPalette amp p e const QPalette amp palette const e virtual void draw QPainter xpainter const QPoint amp center int radius double north QPalette Color Group colorGroup QPalette Active const 0 6 12 1 Detailed Description Abstract base class for a compass rose 6 12 2 Member Function Documentation 6 12 2 1 virtual void QwtCompassRose setPalette const QPalette amp p inline virtual Assign a palette 6 12 2 2 const QPalette amp QwtCompassRose palette const inline Returns Current palette 6 12 2 3 virtual void QwtCompassRose draw QPainter painter const QPoint a
403. tle 2 PrintLegend 4 PrintGrid 8 PrintBackground 16 PrintFrameWithScales 32 PrintAll PrintFrameWithScales Public Member Functions e QwtPlotLayout virtual QwtPlotLayout void setMargin int int margin const void setCanvasMargin int margin int axis 1 int canvasMargin int axis const void setAlignCanvasToScales bool bool alignCanvasToScales const void setSpacing int int spacing const void setLegendPosition QwtPlot LegendPosition pos double ratio void setLegendPosition QwtPlot LegendPosition pos e QwtPlot LegendPosition legendPosition const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 55 QwtPlotLayout Class Reference 243 void setLegendRatio double ratio double legendRatio const virtual QSize minimumSizeHint const QwtPlot const virtual void activate const QwtPlot x const QRect amp rect int options 0 virtual void invalidate const QRect amp titleRect const const QRect amp legendRect const const QRect amp scaleRect int axis const const QRect amp canvasRect const Protected Member Functions e QRect layoutLegend int options const QRect amp const e QRect alignLegend const QRect amp canvasRect const QRect amp legendRect const e void expandLineBreaks int options const QRect amp rect int amp dimTitle int dimAxes QwtPlot axis Cnt const e void alignScales int options QRect amp
404. ton Change one key pattern Parameters pattern Index of the pattern key Key state State See also QKeyEvent 6 25 4 5 void QwtEventPattern setMousePattern const QwtArray lt MousePattern gt amp Change the mouse event patterns 6 25 4 6 void QwtEventPattern setKeyPattern const QwtArray lt KeyPattern gt amp Change the key event patterns 6 25 4 7 const QwtArray lt QwtEventPattern MousePattern gt amp QwtEventPattern mouse Pattern const Return mouse patterns 6 25 4 8 const QwtArray lt QwtEventPattern KeyPattern gt amp QwtEventPattern keyPattern const Return key patterns 6 25 4 9 QwtArray lt QwtEventPattern MousePattern gt amp QwtEventPattern mousePattern Return ouse patterns Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 25 QwtEventPattern Class Reference 112 6 25 4 10 QwtArray lt QwtEventPattern KeyPattern gt amp QwtEventPattern keyPattern Return Key patterns 6 25 4 11 bool QwtEventPattern mouseMatch uint pattern const QMouseEvent e const Compare a mouse event with an event pattern A mouse event matches the pattern when both have the same button value and in the state value the same key flags Qt KeyButtonMask are set Parameters pattern Index of the event pattern e Mouse event Returns true if matches See also keyMatch 6 25 4 12 bool QwtEventPattern keyMatch uint pattern const QKeyEv
405. tractScale 6 79 4 27 void QwtSlider fontChange const QFont amp oldFont protected virtual Notify change in font 6 79 4 28 void QwtSlider layoutSlider bool update_geometry true protected Recalculate the slider s geometry and layout based on the current rect and fonts Parameters update_geometry notify the layout system and call update to redraw the scale 6 79 4 29 int QwtSlider xyPosition double value const protected Find the x y position for a given value v Parameters value Value 6 79 4 30 QwtScaleDraw QwtSlider scaleDraw protected Returns the scale draw of the slider See also setScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 80 QwtSpline Class Reference 358 6 80 QwtSpline Class Reference A class for spline interpolation include lt qwt_spline h gt Public Types e enum SplineType Natural Periodic Public Member Functions e QwtSpline e QwtSpline const QwtSpline amp QwtSpline QwtSpline amp operator const QwtSpline amp void setSplineType SplineType SplineType splineType const bool setPoints const QPolygonF amp points QPolygonF points const void reset bool isValid const double value double x const const QwtArray lt double gt amp coefficientsA const const QwtArray lt double gt amp coefficientsB const const QwtArray lt double gt amp coefficie
406. tton2 QwtCounter 61 setStepButton3 QwtCounter 62 setStyle QwtPlotCurve 218 QwtSymbol 365 setSymbol QwtKnob 117 QwtLegendItem 129 QwtPlotCurve 219 QwtPlotMarker 254 setText QwtLegendItem 127 QwtText 370 QwtTextLabel 380 setTextEngine QwtText 376 setThumbLength QwtSlider 353 setThumb Width QwtSlider 353 setTickCnt QwtWheel 394 setTickLength QwtAbstractScaleDraw 19 setTicks QwtScaleDiv 319 setTime QwtAnalogClock 36 setTitle QwtPlot 190 QwtPlotItem 234 QwtScaleWidget 340 341 setTotalAngle QwtKnob 116 QwtWheel 394 setTrackerFont QwtPicker 168 setTrackerMode QwtPicker 166 setTrackerPen QwtPicker 168 setTracking QwtAbstractSlider 25 setTransformation QwtAbstractScaleDraw 19 QwtScaleMap 335 setUpdateTime QwtAbstractSlider 25 set Valid QwtAbstractSlider 27 QwtDoubleRange 96 set Value QwtAbstractSlider 27 QwtCounter 60 QwtDoubleRange 96 QwtPlotMarker 253 QwtThermo 390 set ViewAngle QwtWheel 394 set Visible Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen INDEX 445 QwtPlotItem 237 setWheelButtonState QwtMagnifier 143 setWheelFactor QwtMagnifier 143 setWheel Width QwtWheel 395 setWidth QwtDialSimpleNeedle 87 QwtSimpleCompassRose 348 setWrapping QwtDial 73 setX Axis QwtPlotItem 237 setXDiv QwtPlotGrid 228 setX Value QwtPlotMarker 253 setYAxis QwtPlotItem 238 setY Div QwtPlotGrid 229
407. ttributes testPaintAttributes 6 51 QwtPlotCurve Class Reference A plot item that represents a series of points include lt qwt_plot_curve h gt Inheritance diagram for QwtPlotCurve QwtLegenditemManager ry QwtPlotitem ry QwtPlotCurve Public Types e enum CurveType Yfx Xfy Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 210 enum CurveStyle NoCurve Lines Sticks Steps Dots UserCurve 100 enum CurveAttribute Inverted 1 Fitted 2 enum PaintAttribute PaintCached 1 PaintPacked 2 PaintFiltered 1 ClipPolygons 2 PaintUsingTextFont 1 PaintUsingTextColor 2 PaintBackground 4 Public Member Functions QwtPlotCurve QwtPlotCurve const QwtText amp title QwtPlotCurve const QString amp title virtual QwtPlotCurve virtual int rtti const void setCurveType CurveType CurveType curveType const void setPaintAttribute PaintAttribute bool on true bool testPaintAttribute PaintAttribute const void setRawData const double x const double y int size void setData const double xData const double yData int size void setData const QwtArray lt double gt amp xData const QwtArray lt double gt amp yData void setData const QPolygonF amp data void setData const QwtData amp data int closestPoint const QPoint
408. tual Draw the legend item to a given rect Parameters painter Painter rect Rect where to paint the button 6 31 4 16 QSize QwtLegendItem sizeHint const virtual Return a size hint Reimplemented from QwtTextLabel 6 31 4 17 bool QwtLegendItem isChecked const Return true if the item is checked 6 31 4 18 void QwtLegendItem setChecked boolon slot Check Uncheck a the item Parameters on check uncheck See also setItemMode 6 31 4 19 void QwtLegendItem clicked signal Signal when the legend item has been clicked 6 31 4 20 void QwtLegendItem pressed signal Signal when the legend item has been pressed 6 31 4 21 void QwtLegendItem released signal Signal when the legend item has been relased Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 32 QwtLegendItemManager Class Reference 132 6 31 4 22 void QwtLegendItem checked bool signal Signal when the legend item has been toggled 6 31 4 23 void QwtLegendItem setDown bool protected Set the item being down 6 31 4 24 bool QwtLegendItem isDown const protected Return true if the item is down 6 31 4 25 void QwtLegendItem paintEvent QPaintEvent protected virtual Paint event Reimplemented from QwtTextLabel 6 31 4 26 void QwtLegendItem mousePressEvent QMouseEvent x protected virtual Handle mouse press events 6 31 4 27 void QwtLegendItem mouse
409. ual Paint event handler Parameters event Paint event 6 7 3 6 void QwtArrowButton drawButtonLabel QPainter painter protected virtual Draw the button label Parameters painter Painter See also The Qt Manual on QPushButton 6 7 3 7 void QwtArrowButton drawArrow QPainter painter const QRect amp r Qt ArrowType arrowType const protected virtual Draw an arrow int a bounding rect Parameters painter Painter r Rectangle where to paint the arrow arrowType Arrow type 6 7 3 8 QRect QwtArrowButton labelRect const protected virtual Returns the bounding rect for the label 6 7 3 9 QSize QwtArrowButton arrowSize Qt ArrowType arrowType const QSize amp bounding Size const protected virtual Calculate the size for a arrow that fits into a rect of a given size Parameters arrowType Arrow type boundingSize Bounding size Returns Size of the arrow Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 8 QwtClipper Class Reference 43 6 7 3 10 void QwtArrowButton keyPressEvent QKeyEvent protected virtual autoRepeat for the space keys 6 8 QwtClipper Class Reference Some clipping algos include lt qwt_clipper h gt Static Public Member Functions e static QwtPolygon clipPolygon const QRect amp const QwtPolygon amp e static QwtPolygonF clipPolygonF const QwtDoubleRect amp const QwtPolygonF amp e static QwtAr
410. ual Returns the value at a raster position Parameters x X value in plot coordinates y Y value in plot coordinates 6 68 4 8 virtual QwtDoubleInterval QwtRasterData range const pure virtual Returns the range of the values 6 68 4 9 QwtRasterData ContourLines QwtRasterData contourLines const QwtDoubleRect amp rect const QSize amp raster const QList lt double gt amp levels int flags const virtual Calculate contour lines An adaption of CONREC a simple contouring algorithm http local wasp uwa edu au pbourke papers c Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 69 QwtRichTextEngine Class Reference 310 6 69 QwtRichTextEngine Class Reference A text engine for Qt rich texts include lt qwt_text_engine h gt Inheritance diagram for QwtRichTextEngine QwtTextEngine QwiRichTextEngine Public Member Functions e QwtRichTextEngine virtual int heightForWidth const QFont amp font int flags const QString amp text int width const virtual QSize textSize const QFont amp font int flags const QString amp text const virtual void draw QPainter painter const QRect amp rect int flags const QString amp text const virtual bool mightRender const QString amp const virtual void textMargins const QFont amp const QString amp int amp left int amp right int amp top int amp bot tom const 6 69 1 Detailed D
411. uble stepSize 0 0 protected Recalculate the scale division and update the scale draw Parameters vmin Lower limit of the scale interval ymax Upper limit of the scale interval stepSize Major step size See also scaleChange 6 1 3 15 void QwtAbstractScale setAbstractScaleDraw QwtAbstractScaleDraw scaleDraw protected Set a scale draw scaleDraw has to be created with new and will be deleted in QwtAbstractScale or the next call of set AbstractScaleDraw Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 2 QwtAbstractScaleDraw Class Reference 17 6 1 3 16 const QwtAbstractScaleDraw QwtAbstractScale abstractScaleDraw const protected Returns Scale draw See also setAbstractScaleDraw 6 1 3 17 QwtAbstractScaleDraw QwtAbstractScale abstractScaleDraw protected Returns Scale draw See also setAbstractScaleDraw 6 1 3 18 void QwtAbstractScale scaleChange protected virtual Notify changed scale Dummy empty implementation intended to be overloaded by derived classes Reimplemented in QwtSlider and QwtThermo 6 2 QwtAbstractScaleDraw Class Reference A abstract base class for drawing scales include lt qwt_abstract_scale_draw h gt Inheritance diagram for QwtAbstractScaleDraw QwtAbstractScaleDraw QwtRoundScaleDraw QuwtScaleDraw QwtDialScaleDraw Public Types e enum ScaleComponent Backbone
412. uide by Doxygen INDEX 446 Symbol thumb Width QwtKnob 116 QwtSlider 353 symbol tickCnt QwtKnob 117 QwtWheel 393 QwtLegendItem 129 tickLabel QwtPlotCurve 219 QwtAbstractScaleDraw 23 QwtPlotMarker 254 tickLength symmetrize QwtAbstractScaleDraw 20 QwtDoubleInterval 94 ticks syncScale QwtScaleDiv 319 QwtPlotRescaler 278 TickType QwtScaleDiv 317 takeAt timerEvent QwtDynGridLayout 102 QwtAbstractSlider 29 testAttribute title QwtScaleEngine 330 testConrecAttribute QwtPlotSpectrogram 290 testCurveAttribute QwtPlotCurve 217 testDisplayMode QwtPlotSpectrogram 287 testItemAttribute QwtPlotItem 235 testLayoutAttribute QwtText 374 testPaintAttribute QwtPlotCanvas 206 QwtPlotCurve 214 QwtText 374 testRenderHint QwtPlotItem 236 text QwtText 371 QwtTextLabel 381 textEngine QwtText 375 TextFormat QwtText 369 textMargins QwtMathMLTextEngine 149 QwtPlainTextEngine 183 QwtRichTextEngine 310 QwtTextEngine 378 textRect QwtTextLabel 382 textSize QwtMathMLTextEngine 148 QwtPlainTextEngine 182 QwtRichTextEngine 309 QwtText 375 QwtTextEngine 378 thumbLength QwtSlider 353 QwtPlot 190 QwtPlotItem 234 QwtScaleWidget 341 titleHeightForWidth QwtScaleWidget 345 titleLabel QwtPlot 190 titleRect QwtPlotLayout 247 totalAngle QwtKnob 117 QwtWheel 393 trackerFont QwtPicker 168 trackerMode QwtPicker 167 trackerPen QwtPicker 168 trackerPosition Qwt
413. urve data 6 51 4 14 int QwtPlotCurve dataSize const Return the size of the data arrays See also setData 6 51 4 15 double QwtPlotCurve x int i const Parameters i index Returns x value at position i 6 51 4 16 double QwtPlotCurve y int i const Parameters i index Returns y value at position i 6 51 4 17 QwtDoubleRect QwtPlotCurve boundingRect const inline inline inline inline virtual Returns the bounding rectangle of the curve data If there is no bounding rect like for empty data the rectangle is invalid See also QwtData boundingRect QwtDoubleRect is Valid Reimplemented from QwtPlotItem Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 51 QwtPlotCurve Class Reference 218 6 51 4 18 double QwtPlotCurve minX Value const inline boundingRect leftQ 6 51 4 19 double QwtPlotCurve maxX Value const inline boundingRect right 6 51 4 20 double QwtPlotCurve minY Value const inline boundingRect topQ 6 51 4 21 double QwtPlotCurve maxY Value const inline boundingRect bottom 6 51 4 22 void QwtPlotCurve setCurveAttribute CurveAttribute attribute bool on true Specify an attribute for drawing the curve Parameters attribute Curve attribute on On Off sa CurveAttribute testCurveAttribute setCurveFitter 6 51 4 23 bool QwtPlotCurve testCurveAttribute CurveAttribute attribute
414. ust the value and emit signals if necessary 6 3 4 20 void QwtAbstractSlider valueChange protected virtual Notify change of value This function can be reimplemented by derived classes in order to keep track of changes i e repaint the widget The default implementation emits a valueChanged signal if tracking is enabled Reimplemented from QwtDoubleRange Reimplemented in QwtDial QwtSlider and QwtWheel 6 3 4 21 void QwtAbstractSlider timerEvent QTimerEvent xe protected virtual Qt timer event Parameters e Timer event 6 3 4 22 void QwtAbstractSlider mousePressEvent QMouseEvent e protected virtual Mouse press event handler Parameters e Mouse event 6 3 4 23 void QwtAbstractSlider mouseReleaseEvent QMouseEvent e protected virtual Mouse Release Event handler Parameters e Mouse event 6 3 4 24 void QwtAbstractSlider mouseMoveEvent QMouseEvent e protected virtual Mouse Move Event handler Parameters e Mouse event 6 3 4 25 void QwtAbstractSlider keyPressEvent QKeyEvent e protected virtual Handles key events Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 3 QwtAbstractSlider Class Reference 31 e Key_Down KeyLeft Decrement by 1 e Key_Up Key_Right Increment by 1 Parameters e Key event See also isReadOnly Reimplemented in QwtCompass and QwtDial 6 3 4 26 void QwtAbstractSlider wheelEvent QWhee
415. vas It is set to a x Axis and y Axis and translates all pixel coordinates into this coodinate system 6 59 2 Constructor amp Destructor Documentation 6 59 2 1 QwtPlotPicker QwtPlotPicker QwtPlotCanvas x canvas explicit Create a plot picker The picker is set to those x and y axis of the plot that are enabled If both or no x axis are enabled the picker is set to QwtPlot xBottom If both or no y axis are enabled it is set to QwtPlot yLeft Parameters canvas Plot canvas to observe also the parent object See also QwtPlot autoReplot QwtPlot replotQ QwtPlotPicker scaleRect 6 59 2 2 QwtPlotPicker QwtPlotPicker virtual Destructor 6 59 2 3 QwtPlotPicker QwtPlotPicker int xAxis int yAxis QwtPlotCanvas canvas explicit Create a plot picker Parameters xAxis Set the x axis of the picker yAxis Set the y axis of the picker canvas Plot canvas to observe also the parent object See also QwtPlot autoReplot QwtPlot replotQ QwtPlotPicker scaleRect 6 59 2 4 QwtPlotPicker QwtPlotPicker int xAxis int yAxis int selectionFlags RubberBand rubberBand DisplayMode trackerMode QwtPlotCanvas canvas explicit Create a plot picker Parameters xAxis X axis of the picker yAxis Y axis of the picker selectionFlags Or d value of SelectionType RectSelectionType and SelectionMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 59 QwtPlotPicker Class R
416. ved widget See also trackerMode DisplayMode 6 41 4 6 QwtPicker DisplayMode QwtPicker trackerMode const Returns Tracker display mode See also setTrackerMode DisplayMode 6 41 4 7 void QwtPicker setResizeMode ResizeMode mode virtual Set the resize mode The resize mode controls what to do with the selected points of an active selection when the observed widget is resized Stretch means the points are scaled according to the new size KeepSize means the points remain un changed The default mode is Stretch Parameters mode Resize mode See also resizeMode ResizeMode 6 41 4 8 QwtPicker ResizeMode QwtPicker resizeMode const Returns Resize mode See also setResizeMode ResizeMode Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 169 6 41 4 9 void QwtPicker setRubberBandPen const QPen amp pen virtual Set the pen for the rubberband Parameters pen Rubberband pen See also rubberBandPen setRubberBand 6 41 4 10 QPen QwtPicker rubberBandPen const Returns Rubberband pen See also setRubberBandPen rubberBand 6 41 4 11 void QwtPicker setTrackerPen const QPen amp pen virtual Set the pen for the tracker Parameters pen Tracker pen See also trackerPen setTrackerMode setTrackerFont 6 41 4 12 QPen QwtPicker trackerPen const Returns Tracker
417. void setMouseButton int button int buttonState Qt NoButton void getMouseButton int amp button int amp buttonState const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 36 QwtMagnifier Class Reference 142 void setWheelFactor double double wheelFactor const void setWheelButtonState int buttonState int wheelButtonState const void setKeyFactor double double keyFactor const void setZoomInKey int key int modifiers void getZoomInKey int amp key int amp modifiers const void setZoomOutKey int key int modifiers void getZoomOutKey int amp key int amp modifiers const virtual bool eventFilter QObject x QEvent Protected Member Functions virtual void rescale double factor 0 virtual void widgetMousePressEvent QMouseEvent virtual void widgetMouseReleaseEvent QMouseEvent virtual void widgetMouseMoveEvent QMouseEvent virtual void widgetWheelEvent QWheelEvent virtual void widgetKeyPressEvent QKeyEvent virtual void widgetKeyReleaseEvent QKeyEvent 6 36 1 Detailed Description QwtMagnifier provides zooming by magnifying in steps Using QwtMagnifier a plot can be zoomed in out in steps using keys the mouse wheel or moving a mouse button in vertical direction 6 36 2 Constructor amp Destructor Documentation 6 36 2 1 QwtMagnifier QwtMagnifier QWidget x parent explicit Constructor Parameters parent Widget to be magnified 6
418. void setSymbol const QwtSymbol amp s const QwtSymbol amp symbol const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 57 QwtPlotMarker Class Reference 253 void setLabel const QwtText amp QwtText label const void setLabelAlignment Qt Alignment Qt Alignment labelAlignment const void setLabelOrientation Qt Orientation Qt Orientation labelOrientation const void setSpacing int int spacing const virtual void draw QPainter p const QwtScaleMap amp xMap const QwtScaleMap amp yMap const QRect amp const virtual QwtDoubleRect boundingRect const Protected Member Functions e void drawAt QPainter x const QRect amp const QPoint amp const 6 57 1 Detailed Description A class for drawing markers A marker can be a horizontal line a vertical line a symbol a label or any combination of them which can be drawn around a center point inside a bounding rectangle The QwtPlotMarker setSymbol member assigns a symbol to the marker The symbol is drawn at the specified point With QwtPlotMarker setLabel a label can be assigned to the marker The QwtPlotMarker setLabel Alignment member specifies where the label is drawn All the Align constants in Qt AlignmentFlags see Qt documentation are valid The interpretation of the alignment depends on the marker s line style The alignment refers to the center point of the marker which means for example
419. with no valid value It accepts mouse and keyboard inputs and has no step size The default mode is QwtDial RotateNeedle 6 18 3 2 QwtDial QwtDial virtual Destructor 6 18 4 Member Function Documentation 6 18 4 1 void QwtDial setFrameShadow Shadow shadow Sets the frame shadow value from the frame style Parameters shadow Frame shadow See also setLineWidth QFrame setFrameShadow 6 18 4 2 QwtDial Shadow QwtDial frameShadow const Returns Frame shadow sa setFrameShadow lineWidth QFrame frameShadow Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 18 QwtDial Class Reference 73 6 18 4 3 bool QwtDial hasVisibleBackground const true when the area outside of the frame is visible See also showBackground setMask 6 18 4 4 void QwtDial showBackground bool show Show Hide the area outside of the frame Parameters show Show if true hide if false See also has VisibleBackground setMask Warning When QwtDial is a toplevel widget the window border might disappear too 6 18 4 5 void QwtDial setLine Width int line Width Sets the line width Parameters lineWidth Line width See also setFrameShadow 6 18 4 6 int QwtDial lineWidth const Returns Line width of the frame See also setLineWidthQ frameShadow lineWidth 6 18 4 7 void QwtDial setMode Mode mode Change the mode of the meter P
420. wtIntervalData QwtLegend QwtLegendItemManager QwtPlotItem 67 38 64 305 83 51 55 86 89 95 24 69 34 47 116 350 392 58 101 106 161 260 297 113 113 114 120 132 232 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 2 1 Qwt User s Guide Class Hierarchy 5 QwtPlotCurve 209 QwtPlotGrid 226 QwtPlotMarker 252 QwtPlotRasterItem 270 QwtPlotSpectrogram 286 QwtPlotScaleItem 281 QwtPlotSvgItem 294 QwtMagnifier 141 QwtPlotMagnifier 250 QwtMetricsMap 150 QwtPainter 152 QwtPanner 156 QwtPlotPanner 258 QwtPickerMachine 180 QwtPickerClickPointMachine 177 QwtPickerClickRectMachine 178 QwtPickerDragPointMachine 179 QwtPickerDragRectMachine 179 QwtPickerPolygonMachine 182 QwtPlotCanvas 205 QwtPlotDict 224 QwtPlot 185 QwtPlotLayout 242 QwtPlotPrintFilter 267 QwtPlotRescaler 274 QwtRasterData 306 QwtScaleArithmetic 315 QwtScaleDiv 317 QwtScaleEngine 329 Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 3 Qwt User s Guide Class Index 6 QwtLinearScaleEngine 138 QwtLog10ScaleEngine 139 QwtScaleMap 335 QwtScaleTransformation 338 QwtScale Widget 340 QwtSpline 358 QwtSymbol 363 QwtText 368 QwtTextEngine 377 QwtMathMLtTextEngine 148 QwtPlainTextEngine 182 QwtRichTextEngine 310 QwtTextLabel 380 QwtLegendItem 126 3 Qwt User s Guide Class Index 3 1 Qwt User s Guide Class List Here are the cl
421. wtScaleDraw amp other void getBorderDistHint const QFont amp int amp start int amp end const int minLabelDist const QFont amp const int minLength const QPen amp const QFont amp const virtual int extent const QPen amp const QFont amp const void move int x int y void move const QPoint amp void setLength int length Alignment alignment const void setAlignment Alignment e Qt Orientation orientation const e QPoint pos const Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 73 QwtScaleDraw Class Reference 322 int length const void setLabelAlignment Qt Alignment Qt Alignment labelAlignment const void setLabelRotation double rotation double labelRotation const int maxLabelHeight const QFont amp const int maxLabelWidth const QFont amp const e QPoint labelPosition double val const e QRect labelRect const QFont amp double val const e QSize labelSize const QFont amp double val const e QRect boundingLabelRect const QFont amp double val const Protected Member Functions e QMatrix labelMatrix const QPoint amp const QSize amp const e virtual void drawTick QPainter xp double val int len const e virtual void drawBackbone QPainter p const e virtual void drawLabel QPainter p double val const 6 73 1 Detailed Description A class for drawing scales QwtScaleDraw can be used to draw linear or logarithmi
422. wtSymbol Class Reference 365 6 82 3 Constructor amp Destructor Documentation 6 82 3 1 QwtSymbol QwtSymbol Default Constructor The symbol is constructed with gray interior black outline with zero width no size and style NoSymbol 6 82 3 2 QwtSymbol QwtSymbol QwtSymbol Style style const QBrush amp brush const QPen amp pen const QSize amp size Constructor Parameters style Symbol Style brush brush to fill the interior pen outline pen size size 6 82 3 3 QwtSymbol QwtSymbol virtual Destructor 6 82 4 Member Function Documentation 6 82 4 1 bool QwtSymbol operator const QwtSymbol amp const operator 6 82 4 2 bool QwtSymbol operator const QwtSymbol amp const operator 6 82 4 3 QwtSymbol x QwtSymbol clone const virtual Allocate and return a symbol with the same attributes Returns Cloned symbol 6 82 4 4 void QwtSymbol setSize const QSize amp size Set the symbol s size Parameters size Size virtual Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 82 QwtSymbol Class Reference 366 6 82 4 5 void QwtSymbol setSize int width int height 1 Specify the symbol s size If the h parameter is left out or less than 0 and the w parameter is greater than or equal to 0 the symbol size will be set to w w Parameters width Width height Height defaults to 1 6 82 4 6 void QwtSy
423. wtText QwtText 370 QwtTextEngine QwtTextEngine 377 QwtTextLabel QwtTextLabel 380 QwtThermo QwtThermo 385 QwtWheel QwtWheel 393 abstractScaleDraw QwtAbstractScale 16 accept QwtPicker 172 QwtPlotZoomer 303 activate QwtPlotLayout 246 addColorStop QwtLinearColorMap 135 addItem QwtDynGridLayout 102 alarmBrush QwtThermo 387 alarmColor QwtThermo 387 alarmEnabled QwtThermo 388 alarmLevel QwtThermo 387 align QwtLinearScaleEngine 138 alignCanvasToScales QwtPlotLayout 244 alignLegend QwtPlotLayout 248 Alignment QwtScaleDraw 321 alignment QwtScaleDraw 324 QwtScaleWidget 346 alignScales QwtPlotLayout 248 alpha QwtPlotRasterltem 271 append QwtPicker 172 QwtPlotPicker 265 appended QwtPicker 171 QwtPlotPicker 263 apply QwtPlotPrintFilter 269 arrowSize QwtArrowButton 41 arrowType QwtArrowButton 40 aspectRatio QwtPlotRescaler 277 attach QwtPlotItem 234 Attribute QwtScaleEngine 329 attributes QwtScaleEngine 330 autoDelete QwtPlotDict 225 autoRefresh QwtPlot 201 autoReplot QwtPlot 188 autoScale QwtAbstractScale 14 QwtLinearScaleEngine 137 QwtLog10ScaleEngine 139 QwtScaleEngine 332 Axis QwtPlot 187 axisAutoScale QwtPlot 193 axisEnabled QwtPlot 193 axisFont QwtPlot 194 axisMaxMajor QwtPlot 198 axisMaxMinor QwtPlot 198 axisScaleDiv QwtPlot 195 axisScaleDraw QwtPlot 196 axisScaleEngine QwtPlot 192 axisS
424. wtWheel Class Reference 395 6 87 3 5 int QwtWheel internalBorder const Returns Internal border width of the wheel See also setInternalBorder 6 87 3 6 double QwtWheel mass const virtual Returns mass Reimplemented from QwtAbstractSlider 6 87 3 7 void QwtWheel setTotalAngle double angle Set the total angle which the wheel can be turned One full turn of the wheel corresponds to an angle of 360 degrees A total angle of nx360 degrees means that the wheel has to be turned n times around its axis to get from the minimum value to the maximum value The default setting of the total angle is 360 degrees Parameters angle total angle in degrees See also totalAngleQ 6 87 3 8 void QwtWheel setTickCnt int cnt Adjust the number of grooves in the wheel s surface The number of grooves is limited to 6 lt cnt lt 50 Values outside this range will be clipped The default value is 10 Parameters cnt Number of grooves per 360 degrees See also tickCnt Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 87 QwtWheel Class Reference 396 6 87 3 9 void QwtWheel setViewAngle double angle Specify the visible portion of the wheel You 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 Parameters angle Visible angle in degrees See also viewAngle
425. www trolltech com products qt addon solt that is available for owners of a commercial Qt license You need a version gt 2 1 that is only available for Qt4 To enable MathML support the following code needs to be added to the application include lt qwt_mathml_text_engine h gt Qwt Text setTextEngine QwtText MathMLText new QwtMathMLTextEngine See also QwtTextEngine QwtText setTextEngine Warning Unfortunately the MathML renderer doesn t support rotating of texts 6 37 2 Constructor amp Destructor Documentation 6 37 2 1 QwtMathMLTextEngine QwtMathMLTextEngine Constructor Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 37 QwtMathMLtTextEngine Class Reference 149 6 37 2 2 QwtMathMLtTextEngine QwtMathMLTextEngine virtual Destructor 6 37 3 Member Function Documentation 6 37 3 1 int QwtMathMLTextEngine heightForWidth const QFont amp font int flags const QString amp text int width const virtual Find the height for a given width Parameters font Font of the text flags Bitwise OR of the flags used like in QPainter drawText text Text to be rendered width Width Returns Calculated height Implements QwtTextEngine 6 37 3 2 QSize QwtMathMLTextEngine textSize const QFont amp font int flags const QString amp text const virtual Returns the size that is needed to render text Parameters font Font of the text flags Bitwise OR of
426. y the Free Software Foundation If the Library does not specify a license version number you may choose any version ever published by the Free Software Foundation 14 If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these write to the author to ask for permission For software which is copyrighted by the Free Software Foundation write to the Free Software Foundation we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY 15 BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE THERE IS NO WARRANTY FOR THE LIBRARY TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND OR Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 8 1 Qwt License Version 1 0 408 OTHER PARTIES PROVIDE THE LIBRARY AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU SHOULD THE LIBRARY PROVE DEFECTIVE YOU ASSUME THE COST OF ALL NECESSARY SERVICING REPAIR OR CORRECTION 16 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
427. you link other code with the library you must provide complete object files to the recipients so that they can relink them with the library after making changes to the library and recompiling it And you must show them these terms so they know their rights We protect your rights with a two step method 1 we copyright the library and 2 we offer you this license which gives you legal permission to copy distribute and or modify the library To protect each distributor we want to make it very clear that there is no warranty for the free library Also if the library is modified by someone else and passed on the recipients should know that what they have is not the original version so that the original author s reputation will not be affected by problems that might be introduced by others Finally software patents pose a constant threat to the existence of any free program We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder Therefore we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license Most GNU software including some libraries is covered by the ordinary GNU General Public License This license the GNU Lesser General Public License applies to certain designated libraries and is quite different from the ordinary General Public License We use
428. ysOn Display always e ActiveOnly Display only when the selection is active See also QwtPicker setTrackerMode QwtPicker trackerMode QwtPicker isActive 6 41 2 6 enum QwtPicker ResizeMode Controls what to do with the selected points of an active selection when the observed widget is resized e Stretch All points are scaled according to the new size e KeepSize All points remain unchanged The default value is Stretch See also QwitPicker setResizeMode QwtPicker resize 6 41 3 Constructor amp Destructor Documentation 6 41 3 1 QwtPicker QwtPicker QWidget parent explicit Constructor Creates an picker that is enabled but where selection flag is set to NoSelection rubberband and tracker are disabled Parameters parent Parent widget that will be observed 6 41 3 2 QwtPicker QwtPicker int selectionFlags RubberBand rubberBand DisplayMode trackerMode QWidget parent explicit Constructor Parameters selectionFlags Or d value of SelectionType RectSelectionType and SelectionMode rubberBand Rubberband style trackerMode Tracker mode parent Parent widget that will be observed Generated on Sun Mar 22 16 44 05 2009 for Qwt User s Guide by Doxygen 6 41 QwtPicker Class Reference 167 6 41 3 3 QwtPicker QwtPicker virtual Destructor 6 41 4 Member Function Documentation 6 41 4 1 void QwtPicker setSelectionFlags int flags virtual Set the selection flags Parameters
Download Pdf Manuals
Related Search
Related Contents
Copyright © All rights reserved.
Failed to retrieve file