_20200419_150920qt资料qt_qwtqwt-5 2 0_第1页
_20200419_150920qt资料qt_qwtqwt-5 2 0_第2页
_20200419_150920qt资料qt_qwtqwt-5 2 0_第3页
_20200419_150920qt资料qt_qwtqwt-5 2 0_第4页
_20200419_150920qt资料qt_qwtqwt-5 2 0_第5页
已阅读5页,还剩444页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Qwt Users Guide Reference Manual5.2.0Generated by Doxygen 1.5.0Sun Mar 22 16:44:05 2009CONTENTS1Contents1Qwt - Qt Widgets for Technical Applications12Qwt Users Guide Hierarchical Index33Qwt Users Guide Class Index64Qwt Users Guide File Index95Qwt Users Guide Page Index126Qwt Users Guide Class Docume

2、ntation127Qwt Users Guide File Documentation3988Qwt Users Guide Page Documentation4001Qwt - Qt Widgets for Technical ApplicationsThe 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

3、, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges of type double.1.1LicenseQwt is distributed under the terms of the Qwt License, Version PlatformsQwt 5.x might be usable in all environments where you find Qt. It is compatible with Qt

4、3.3.x and Qt 4.x, but the documentation is generated for Qt 4.x.1.3ScreenshotsCurve Plots Scatter PlotSpectrogram, Contour Plot HistogramDials, Compasses, Knobs, Wheels, Sliders, ThermosScreenshots are only available in the HTMLdocs.Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxyge

5、n1.4 Downloads21.4DownloadsStable releases, prereleases and snapshots are available at the Qwt project page.For getting a snapshot with all bugfixes for the latest 5.2 release:svn co /svnroot/qwt/branches/qwt-5.2For getting a development snapshot from the SVNrepository:

6、svn co /svnroot/qwt/trunk/qwtQwt doesnt distribute binary packages, but today all major Linux distributors offer one. Note, that these packages often dont include the examples.1.5InstallationHave a look at the project file. It is prepared for building dynamic li

7、braries in Win32 and Unix/X11 environments. If you dont 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.6SupportMailing listFor all kind of Qwt related ques

8、tions use the Qwt mailing list. If you prefer newsgroups use the mail to news gateway of Gmane.ForumQt Centre is a great resource for Qt related questions. It has a sub forum, that is dedicated to Qwt related questions.Individual supportIf you are looking for individual support, or need someone who

9、implements your Qwt compo- nent/application contact qwt-supporttigertal.de.1.7Related ProjectsQwtPolar, a polar plot widget.QwtPlot3D, an OpenGL 3D plot widget.QtiPlot, data analysis and scientific plotting tool, usingQwtPlot.1.8Language BindingsPyQwt, a set of Qwt Python bindings.Korundum/QtRuby, i

10、ncluding a set of Qwt Ruby bindings.Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen1.9 Donations31.9DonationsSourceforge offers a Donation System via PayPal. You can use it, if you like to support the devel- opment of Qwt.1.10Credits:Authors:Uwe Rathmann, Josef Wilgen ( = Qwt 0.

11、2 )Project admin:Uwe Rathmann 2Qwt Users Guide Hierarchical Index2.1Qwt Users Guide Class HierarchyThis inheritance list is sorted roughly, but not completely, alphabetically:QwtAbstractScale12QwtKnob116QwtSlider350QwtThermo383QwtAbstractScaleDraw17QwtRoundScaleDraw312QwtDialScaleDraw84321QwtScaleDr

12、aw40QwtArrowButton43QwtClipperQwtColorMap44QwtAlphaColorMap32QwtLinearColorMap134QwtCompassRose54QwtSimpleCompassRose348QwtCurveFitter66QwtSplineCurveFitter361Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen2.1 Qwt Users Guide Class Hierarchy4QwtData67QwtArrayData38QwtCPointerDat

13、a64QwtPolygonFData305QwtDialNeedle8351QwtCompassMagnetNeedle55QwtCompassWindArrow86QwtDialSimpleNeedleQwtDoubleInterval89QwtDoubleRange95QwtAbstractSlider24QwtDial69QwtAnalogClock34QwtCompass47QwtKnob116QwtSlider350QwtWheel392QwtCounter58101QwtDynGridLayout106QwtEventPattern161QwtPickerQwtPlotPicker

14、260QwtPlotZoomer297QwtEventPattern:KeyPattern113QwtEventPattern:MousePattern113QwtIntervalData114QwtLegend120QwtLegendItemManager132QwtPlotItem232Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen2.1 Qwt Users Guide Class Hierarchy5QwtPlotCurve209QwtPlotGrid226QwtPlotMarker252QwtPl

15、otRasterItem270QwtPlotSpectrogram286281QwtPlotScaleItem294QwtPlotSvgItem141QwtMagnifierQwtPlotMagnifier250QwtMetricsMap150QwtPainter152QwtPanner156QwtPlotPanner258QwtPickerMachine180QwtPickerClickPointMachine177QwtPickerClickRectMachine178QwtPickerDragPointMachine179QwtPickerDragRectMachine179182Qwt

16、PickerPolygonMachine205QwtPlotCanvas224QwtPlotDict185QwtPlot242QwtPlotLayout267QwtPlotPrintFilter274QwtPlotRescaler306QwtRasterDataQwtScaleArithmetic315QwtScaleDiv317QwtScaleEngine329Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen3 Qwt Users Guide Class Index6QwtLinearScaleEngin

17、e138QwtLog10ScaleEngine139QwtScaleMap335QwtScaleTransformation338QwtScaleWidget340358QwtSpline363QwtSymbol368QwtTextQwtTextEngine377QwtMathMLTextEngine148QwtPlainTextEngine182QwtRichTextEngine310QwtTextLabel380QwtLegendItem1263Qwt Users Guide Class Index3.1Qwt Users Guide Class ListHere are the clas

18、ses, structs, unions and interfaces with brief descriptions:QwtAbstractScale (An abstract base class for classes containing a scale )12QwtAbstractScaleDraw (A abstract base class for drawing scales )17QwtAbstractSlider (An abstract base class for slider widgets )24QwtAlphaColorMap (QwtAlphaColorMap

19、variies the alpha value of a color)32QwtAnalogClock (An analog clock )34QwtArrayData (Data class containing two QwtArray objects )38QwtArrowButton (Arrow Button )40QwtClipper (Some clipping algos )43QwtColorMap (QwtColorMap is used to map values into colors )44QwtCompass (A Compass Widget )47QwtComp

20、assMagnetNeedle (A magnet needle for compass widgets )51Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen3.1 Qwt Users Guide Class List7QwtCompassRose (Abstract base class for a compass rose )54QwtCompassWindArrow (An indicator for the wind direction )55QwtCounter (The Counter Wid

21、get )58QwtCPointerData (Data class containing two pointers to memory blocks of doubles )64QwtCurveFitter (Abstract base class for a curve fitter )6667QwtData (QwtData defines an interface to any type of curve data )69QwtDial (QwtDial class provides a rounded range control )83QwtDialNeedle (Base clas

22、s for needles that can be used in a QwtDial )QwtDialScaleDraw (A special scale draw made for QwtDial )84QwtDialSimpleNeedle (A needle for dial widgets )86QwtDoubleInterval (A class representing an interval )89QwtDoubleRange (A class which controls a value within an interval )95QwtDynGridLayout (Lays

23、 out widgets in a grid, adjusting the number of columns and rows to the current size )101QwtEventPattern (A collection of event patterns )106QwtEventPattern:KeyPattern (A pattern for key events )113QwtEventPattern:MousePattern (A pattern for mouse events )113QwtIntervalData (Series of samples of a v

24、alue and an interval )114QwtKnob (The Knob Widget )116QwtLegend (The legend widget )120QwtLegendItem (A legend label )126QwtLegendItemManager (Abstract API to bind plot items to the legend )132QwtLinearColorMap (QwtLinearColorMap builds a color map from color stops )134QwtLinearScaleEngine (A scale

25、engine for linear scales )138QwtLog10ScaleEngine (A scale engine for logarithmic (base 10) scales )139QwtMagnifier (QwtMagnifier provides zooming, by magnifying in steps )141QwtMathMLTextEngine (Text Engine for the MathML renderer of the Qt solutions package)148QwtMetricsMap (A Map to translate betw

26、een layout, screen and paint device metrics )150QwtPainter (A collection of QPainter workarounds )152Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen3.1 Qwt Users Guide Class List8QwtPanner (QwtPanner provides panning of a widget )156QwtPicker (QwtPicker provides selections on a

27、widget )161QwtPickerClickPointMachine (A state machine for point selections )177QwtPickerClickRectMachine (A state machine for rectangle selections )178QwtPickerDragPointMachine (A state machine for point selections )179179QwtPickerDragRectMachine (A state machine for rectangle selections )180QwtPic

28、kerMachine (A state machine for QwtPicker selections )182QwtPickerPolygonMachine (A state machine for polygon selections )QwtPlainTextEngine (A text engine for plain texts )182QwtPlot (A 2-D plotting widget )185QwtPlotCanvas (Canvas of a QwtPlot )205QwtPlotCurve (A plot item, that represents a serie

29、s of points )209QwtPlotDict (A dictionary for plot items )224QwtPlotGrid (A class which draws a coordinate grid )226QwtPlotItem (Base class for items on the plot canvas )232QwtPlotLayout (Layout engine for QwtPlot )242QwtPlotMagnifier (QwtPlotMagnifier provides zooming, by magnifying in steps )250Qw

30、tPlotMarker (A class for drawing markers )252258QwtPlotPanner (QwtPlotPanner provides panning of a plot canvas )260QwtPlotPicker (QwtPlotPicker provides selections on a plot canvas )267QwtPlotPrintFilter (A base class for plot print filters )270QwtPlotRasterItem (A class, which displays raster data

31、)274QwtPlotRescaler (QwtPlotRescaler takes care of fixed aspect ratios for plot scales )281QwtPlotScaleItem (A class which draws a scale inside the plot canvas )286QwtPlotSpectrogram (A plot item, which displays a spectrogram )QwtPlotSvgItem (A plot item, which displays data in Scalable Vector Graph

32、ics (SVG) format)294QwtPlotZoomer (QwtPlotZoomer provides stacked zooming for a plot widget )297QwtPolygonFData (Data class containing a single QwtArray object )305QwtRasterData (QwtRasterData defines an interface to any type of raster data )306Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Gui

33、de by Doxygen4 Qwt Users Guide File Index9QwtRichTextEngine (A text engine for Qt rich texts )310QwtRoundScaleDraw (A class for drawing round scales )312QwtScaleArithmetic (Arithmetic including a tolerance )315QwtScaleDiv (A class representing a scale division )317QwtScaleDraw (A class for drawing s

34、cales )321329QwtScaleEngine (Base class for scale engines )335QwtScaleMap (A scale map )338QwtScaleTransformation (Operations for linear or logarithmic (base 10) transformations )QwtScaleWidget (A Widget which contains a scale )340QwtSimpleCompassRose (A simple rose for QwtCompass )348QwtSlider (The

35、 Slider Widget )350QwtSpline (A class for spline interpolation )358QwtSplineCurveFitter (A curve fitter using cubic splines )361QwtSymbol (A class for drawing symbols )363QwtText (A class representing a text )368QwtTextEngine (Abstract base class for rendering text strings )377QwtTextLabel (A Widget

36、 which displays a QwtText )380QwtThermo (The Thermometer Widget )383QwtWheel (The Wheel Widget )3924Qwt Users Guide File Index4.1Qwt Users Guide File ListHere is a list of all documented files with briefdescriptions:qwt_abstract_scale.h?qwt_abstract_scale_draw.h?qwt_abstract_slider.h?qwt_analog_cloc

37、k.h?qwt_array.h?qwt_arrow_button.h?Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen4.1 Qwt Users Guide File List10qwt_clipper.h?qwt_color_map.h?qwt_compass.h?qwt_compass_rose.h?qwt_counter.h?qwt_curve_fitter.h?qwt_data.h?qwt_dial.hqwt_dial_needle.h?qwt_double_interval.h?qwt_doubl

38、e_range.h?qwt_double_rect.h398qwt_dyngrid_layout.h?qwt_event_pattern.h?qwt_global.h?qwt_interval_data.h?qwt_knob.h?qwt_layout_metrics.h?qwt_legend.h?qwt_legend_item.h?qwt_legend_itemmanager.h?qwt_magnifier.h?qwt_math.h?qwt_mathml_text_engine.h?qwt_paint_buffer.h?qwt_painter.hqwt_panner.h?qwt_picker.

39、h?qwt_picker_machine.h?Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen4.1 Qwt Users Guide File List11qwt_plot.h?qwt_plot_canvas.h?qwt_plot_curve.h?qwt_plot_dict.h399?qwt_plot_grid.h?qwt_plot_item.h?qwt_plot_layout.h?qwt_plot_magnifier.hqwt_plot_marker.h?qwt_plot_panner.h?qwt_plo

40、t_picker.h?qwt_plot_printfilter.h?qwt_plot_rasteritem.h?qwt_plot_rescaler.h?qwt_plot_scaleitem.h?qwt_plot_spectrogram.h?qwt_plot_svgitem.h?qwt_plot_zoomer.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?qwt_scale_map.h?qwt_scale_widget.hqw

41、t_slider.h?qwt_spline.hqwt_symbol.h?Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen5 Qwt Users Guide Page Index12qwt_text.h?qwt_text_engine.h?qwt_text_label.h?qwt_thermo.h?qwt_valuelist.h?qwt_wheel.h?5Qwt Users Guide Page Index5.1Qwt Users Guide Related PagesHere is a list of al

42、l related documentation pages:Qwt License, Version 1.0400INSTALL409Curve Plots411Scatter Plot411Spectrogram, Contour Plot411Histogram411Dials, Compasses, Knobs, Wheels, Sliders, Thermos411Deprecated List4116Qwt Users Guide Class Documentation6.1QwtAbstractScale Class ReferenceAn abstract base class

43、for classes containing a scale.#include Inheritance diagram for QwtAbstractScale:Public Member Functions QwtAbstractScale ()Generated on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by DoxygenQwtThermoQwtSliderQwtKnobQwtAbstractScale6.1 QwtAbstractScale Class Reference13virtual QwtAbstractScale ()vo

44、id setScale (double vmin, double vmax, double step=0.0)void setScale (const QwtDoubleInterval &, double step=0.0) void setScale (const QwtScaleDiv &s)void setAutoScale () bool autoScale () constvoid setScaleMaxMajor (int ticks) int scaleMaxMinor () constvoid setScaleMaxMinor (int ticks) int scaleMax

45、Major () constvoid setScaleEngine (QwtScaleEngine ) const QwtScaleEngine scaleEngine () const QwtScaleEngine scaleEngine ()const QwtScaleMap & scaleMap () constProtected Member Functions void rescale (double vmin, double vmax, doublestep=0.0) voidsetAbstractScaleDraw (QwtAbstractScaleDraw ) const Qw

46、tAbstractScaleDraw abstractScaleDraw () const QwtAbstractScaleDraw abstractScaleDraw () virtual void scaleChange ()6.1.1 Detailed DescriptionAn abstract base class for classes containing a scale.QwtAbstractScale is used to provide classes with a QwtScaleDraw, and a QwtScaleDiv. The QwtScaleDiv might

47、 be set explicitely or calculated by a QwtScaleEngine.6.1.2 Constructor & Destructor Documentation QwtAbstractScale:QwtAbstractScale ()ConstructorCreates a default QwtScaleDraw and a QwtLinearScaleEngine. Autoscaling is enabled, and the stepSize is initialized by .2.2 QwtAbstractScale:

48、QwtAbstractScale () virtualDestructor.6.1.3 Member Function Documentation 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 sizeGenerated on Sun Mar 22 16:44:05 2009 for Qwt Users Gu

49、ide by Doxygen6.1 QwtAbstractScale Class Reference14Parameters:vmin lower limit of the scale intervalvmax upper limit of the scale intervalstepSize major step sizeSee also:setAutoScale() void QwtAbstractScale:setScale (const QwtDoubleInterval & interval, double stepSize =0.0)Specify a scale.D

50、isable autoscaling and define a scale by an interval and a step sizeParameters:interval IntervalstepSize major step sizeSee also:setAutoScale() void QwtAbstractScale:setScale (const QwtScaleDiv & scaleDiv)Specify a scale.Disable autoscaling and define a scale by a scale divisionParameters:sca

51、leDiv Scale divisionSee also:setAutoScale() void QwtAbstractScale:setAutoScale ()Advise the widget to control the scale rangeinternally. Autoscaling is on by default.See also:setScale(), autoScale() bool QwtAbstractScale:autoScale () constReturns:true if autoscaling is enabledGenerated

52、 on Sun Mar 22 16:44:05 2009 for Qwt Users Guide by Doxygen6.1 QwtAbstractScale Class Reference void QwtAbstractScale:setScaleMaxMajor (int ticks)Set the maximum number of major tick intervals.The scales major ticks are calculated automatically such that the number of major intervals does n

53、ot exceed ticks. The default value is 5.Parameters:ticks maximal number of major ticks.See also:QwtAbstractScaleDraw int QwtAbstractScale:scaleMaxMinor () constReturns:Max. number of minor tick intervals The default value is .8 void QwtAbstractScale:setScaleMaxMinor (int ticks)Set the maximum number of minor tick intervals.The scales minor ticks are calculated automatically such that the number of minor intervals does not exceed ticks. The default value is 3.Parameters:ticksSee also:QwtAbstractScaleDraw int QwtAbstractScale:scaleMa

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论