|
| | QwtPlotSpectrogram (const QString &title=QString()) |
| | 构造函数
|
| |
| virtual | ~QwtPlotSpectrogram () |
| | 析构函数
|
| |
| void | setDisplayMode (DisplayMode, bool on=true) |
| | 设置显示模式
|
| |
| bool | testDisplayMode (DisplayMode) const |
| | 测试显示模式
|
| |
| void | setData (QwtRasterData *data) |
| | 设置要显示的数据
|
| |
| const QwtRasterData * | data () const |
| | 获取频谱图数据(常量版本)
|
| |
| QwtRasterData * | data () |
| | 获取频谱图数据
|
| |
| void | setColorMap (QwtColorMap *) |
| | 更改颜色映射
|
| |
| const QwtColorMap * | colorMap () const |
| | 获取用于将强度值映射到颜色的颜色映射
|
| |
| void | setColorTableSize (int numColors) |
| | 限制颜色映射使用的颜色数量
|
| |
| int | colorTableSize () const |
| | 获取颜色表大小
|
| |
| virtual QwtInterval | interval (Qt::Axis) const override |
| | 获取轴的边界区间
|
| |
| virtual QRectF | pixelHint (const QRectF &) const override |
| | 获取像素提示
|
| |
| void | setDefaultContourPen (const QColor &, qreal width=0.0, Qt::PenStyle=Qt::SolidLine) |
| | 构建并分配等高线的默认画笔
|
| |
| void | setDefaultContourPen (const QPen &) |
| | 设置等高线的默认画笔
|
| |
| QPen | defaultContourPen () const |
| | 获取默认等高线画笔
|
| |
| virtual QPen | contourPen (double level) const |
| | 计算等高线的画笔
|
| |
| void | setConrecFlag (QwtRasterData::ConrecFlag, bool on) |
| | 修改 CONREC 算法的属性
|
| |
| bool | testConrecFlag (QwtRasterData::ConrecFlag) const |
| | 测试 CONREC 算法的属性
|
| |
| void | setContourLevels (const QList< double > &) |
| | 设置等高线的级别
|
| |
| QList< double > | contourLevels () const |
| | 获取等高线的级别
|
| |
| virtual int | rtti () const override |
| | 获取运行时类型信息
|
| |
| virtual void | draw (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const override |
| | 绘制频谱图
|
| |
| | QwtPlotRasterItem (const QString &title=QString()) |
| | 构造函数
|
| |
| | QwtPlotRasterItem (const QwtText &title) |
| | 构造函数(带标题)
|
| |
| virtual | ~QwtPlotRasterItem () |
| | 析构函数
|
| |
| void | setPaintAttribute (PaintAttribute, bool on=true) |
| | 设置绘制属性
|
| |
| bool | testPaintAttribute (PaintAttribute) const |
| | 测试绘制属性
|
| |
| void | setAlpha (int alpha) |
| | 设置栅格数据的 alpha 值
|
| |
| int | alpha () const |
| | 获取栅格项的 alpha 值
|
| |
| void | setCachePolicy (CachePolicy) |
| | 更改缓存策略
|
| |
| CachePolicy | cachePolicy () const |
| | 获取缓存策略
|
| |
| void | invalidateCache () |
| | 使绘制缓存失效
|
| |
| virtual QRectF | boundingRect () const override |
| | 获取数据的边界矩形
|
| |
| | QwtPlotItem () |
| | Default constructor
|
| |
| | QwtPlotItem (const QString &title) |
| | Constructor with title as QString
|
| |
| | QwtPlotItem (const QwtText &title) |
| | Constructor with title as QwtText
|
| |
| virtual | ~QwtPlotItem () |
| | Destructor
|
| |
| void | attach (QwtPlot *plot) |
| | Attach the item to a plot
|
| |
| void | detach () |
| | Detach the item from the plot
|
| |
| QwtPlot * | plot () const |
| | Get the plot the item is attached to
|
| |
| void | setTitle (const QString &title) |
| | Set the title using a QString
|
| |
| void | setTitle (const QwtText &title) |
| | Set the title using a QwtText
|
| |
| const QwtText & | title () const |
| | Get the title
|
| |
| void | setItemAttribute (ItemAttribute, bool on=true) |
| | Set an item attribute
|
| |
| bool | testItemAttribute (ItemAttribute) const |
| | Test an item attribute
|
| |
| void | setItemInterest (ItemInterest, bool on=true) |
| | Set an item interest
|
| |
| bool | testItemInterest (ItemInterest) const |
| | Test an item interest
|
| |
| void | setRenderHint (RenderHint, bool on=true) |
| | Set a render hint
|
| |
| bool | testRenderHint (RenderHint) const |
| | Test a render hint
|
| |
| void | setRenderThreadCount (uint numThreads) |
| | Set the number of render threads
|
| |
| uint | renderThreadCount () const |
| | Get the number of render threads
|
| |
| void | setLegendIconSize (const QSize &) |
| | Set the legend icon size
|
| |
| QSize | legendIconSize () const |
| | Get the legend icon size
|
| |
| double | z () const |
| | Get the z-value
|
| |
| void | setZ (double z) |
| | Set the z-value
|
| |
| void | show () |
| | Show the item
|
| |
| void | hide () |
| | Hide the item
|
| |
| virtual void | setVisible (bool) |
| | Set the visibility
|
| |
| bool | isVisible () const |
| | Check if the item is visible
|
| |
| void | setAxes (QwtAxisId xAxis, QwtAxisId yAxis) |
| | Set both axes
|
| |
| void | setXAxis (QwtAxisId) |
| | Set the x-axis
|
| |
| QwtAxisId | xAxis () const |
| | Get the x-axis
|
| |
| void | setYAxis (QwtAxisId) |
| | Set the y-axis
|
| |
| QwtAxisId | yAxis () const |
| | Get the y-axis
|
| |
| virtual void | itemChanged () |
| | Notify the plot that the item has changed
|
| |
| virtual void | legendChanged () |
| | Notify the item that the legend has changed
|
| |
| virtual void | getCanvasMarginHint (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect, double &left, double &top, double &right, double &bottom) const |
| | Get margin hints for the canvas
|
| |
| virtual void | updateScaleDiv (const QwtScaleDiv &, const QwtScaleDiv &) |
| | Update the item with new scale divisions
|
| |
| virtual void | updateLegend (const QwtPlotItem *, const QList< QwtLegendData > &) |
| | Update the item with changes of the legend
|
| |
| QRectF | scaleRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the scale rectangle
|
| |
| QRectF | paintRect (const QwtScaleMap &, const QwtScaleMap &) const |
| | Calculate the paint rectangle
|
| |
| virtual QList< QwtLegendData > | legendData () const |
| | Return legend data
|
| |
| virtual QwtGraphic | legendIcon (int index, const QSizeF &) const |
| | Return a legend icon
|
| |
|
| virtual QImage | renderImage (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &area, const QSize &imageSize) const override |
| | Render an image from data and color map.
|
| |
| virtual QSize | contourRasterSize (const QRectF &, const QRect &) const |
| | Return the raster to be used by the CONREC contour algorithm.
|
| |
| virtual QwtRasterData::ContourLines | renderContourLines (const QRectF &rect, const QSize &raster) const |
| | Calculate contour lines
|
| |
| virtual void | drawContourLines (QPainter *, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QwtRasterData::ContourLines &) const |
| | Paint the contour lines
|
| |
| void | renderTile (const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &tile, QImage *) const |
| | Render a tile of an image.
|
| |
| virtual QwtScaleMap | imageMap (Qt::Orientation, const QwtScaleMap &map, const QRectF &area, const QSize &imageSize, double pixelSize) const |
| | Get the image map
|
| |
| QwtGraphic | defaultIcon (const QBrush &, const QSizeF &) const |
| | Create a default icon
|
| |