UltraScan III
List of all members | Signals | Public Member Functions | Public Attributes | Private Slots | Private Attributes
US_Plot Class Reference

A class that provides plot widgets. More...

#include "us_plot.h"

Inheritance diagram for US_Plot:
Inheritance graph
[legend]
Collaboration diagram for US_Plot:
Collaboration graph
[legend]

Signals

void zoomedCorners (QwtDoubleRect)
 A signal that provides the bounding rectangle of a zoomed area. More...
 

Public Member Functions

 US_Plot (QwtPlot *&plot, const QString &, const QString &, const QString &)
 

Public Attributes

QToolButton * btnZoom
 Make access to the zoom button public. More...
 

Private Slots

void zoom (bool)
 
void print (void)
 
void svg (void)
 
void png (void)
 
void config (void)
 

Private Attributes

US_PlotConfigconfigWidget
 
QwtPlot * plot
 
QwtPlotZoomer * zoomer
 
QwtPlotPicker * picker
 
QwtPlotPanner * panner
 

Detailed Description

A class that provides plot widgets.

Provides functions to allow configuration of plot widgets

Definition at line 46 of file us_plot.h.

Constructor & Destructor Documentation

US_Plot::US_Plot ( QwtPlot *&  plot,
const QString &  title,
const QString &  x_axis,
const QString &  y_axis 
)
Parameters
plot- The plot component created for the caller
title- The title of the plot
x_axis- The title of the x (bottom) axis
y_axis- The title of the y (left) axis

Definition at line 40 of file us_plot.cpp.

Member Function Documentation

void US_Plot::config ( void  )
privateslot

Definition at line 271 of file us_plot.cpp.

void US_Plot::png ( void  )
privateslot

Definition at line 215 of file us_plot.cpp.

void US_Plot::print ( void  )
privateslot

Definition at line 233 of file us_plot.cpp.

void US_Plot::svg ( void  )
privateslot

Definition at line 197 of file us_plot.cpp.

void US_Plot::zoom ( bool  on)
privateslot

Definition at line 152 of file us_plot.cpp.

void US_Plot::zoomedCorners ( QwtDoubleRect  )
signal

A signal that provides the bounding rectangle of a zoomed area.

Member Data Documentation

QToolButton* US_Plot::btnZoom

Make access to the zoom button public.

Definition at line 59 of file us_plot.h.

US_PlotConfig* US_Plot::configWidget
private

Definition at line 66 of file us_plot.h.

QwtPlotPanner* US_Plot::panner
private

Definition at line 71 of file us_plot.h.

QwtPlotPicker* US_Plot::picker
private

Definition at line 70 of file us_plot.h.

QwtPlot* US_Plot::plot
private

Definition at line 67 of file us_plot.h.

QwtPlotZoomer* US_Plot::zoomer
private

Definition at line 69 of file us_plot.h.


The documentation for this class was generated from the following files: