te::qt::widgets::ChartWidget Class Reference

A base widget for settings. More...

#include <ChartWidget.h>

Inheritance diagram for te::qt::widgets::ChartWidget:
te::qt::widgets::ChartStyleFrame te::qt::widgets::HistogramFrame te::qt::widgets::ScatterFrame te::qt::widgets::TimeSeriesFrame

Public Member Functions

 ChartWidget (QWidget *parent=0)
 Constructor. More...
 
virtual QwtPlotSeriesItem * getChart ()
 Returns a pointer to the chart being configured. More...
 
virtual te::qt::widgets::ChartDisplaygetDisplay ()
 Returns a pointer to the display being configured. More...
 
virtual void setChart (QwtPlotSeriesItem *newChart)
 It sets the chart being configured. More...
 
virtual void setDisplay (te::qt::widgets::ChartDisplay *newDisplay)
 It sets the ChartDisplay being configured. More...
 
 ~ChartWidget ()
 Destructor. More...
 

Public Attributes

QwtPlotSeriesItem * m_chart
 The chart that will be configured by this widget. More...
 
ChartDisplaym_display
 The display that will be configured by this widget. More...
 
std::string m_label
 The chart's Label. More...
 

Detailed Description

A base widget for settings.

Definition at line 50 of file ChartWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::ChartWidget::ChartWidget ( QWidget *  parent = 0)

Constructor.

Parameters
parentthis widget's parent
te::qt::widgets::ChartWidget::~ChartWidget ( )

Destructor.

Member Function Documentation

virtual QwtPlotSeriesItem* te::qt::widgets::ChartWidget::getChart ( )
virtual

Returns a pointer to the chart being configured.

Returns
A QwtPlotSeriesItem type pointer to the chart being configured
Note
The caller will take ownership of the returned pointer.

Reimplemented in te::qt::widgets::ScatterFrame, te::qt::widgets::TimeSeriesFrame, and te::qt::widgets::HistogramFrame.

virtual te::qt::widgets::ChartDisplay* te::qt::widgets::ChartWidget::getDisplay ( )
virtual

Returns a pointer to the display being configured.

Returns
A ChartDisplay type pointer to the display being configured
Note
The caller will take ownership of the returned pointer.

Reimplemented in te::qt::widgets::ChartStyleFrame.

virtual void te::qt::widgets::ChartWidget::setChart ( QwtPlotSeriesItem *  newChart)
virtual

It sets the chart being configured.

Parameters
newChartThe new QwtPlotSeriesItem.
Note
It will not take ownership of the given pointer

Reimplemented in te::qt::widgets::ScatterFrame, te::qt::widgets::TimeSeriesFrame, and te::qt::widgets::HistogramFrame.

virtual void te::qt::widgets::ChartWidget::setDisplay ( te::qt::widgets::ChartDisplay newDisplay)
virtual

It sets the ChartDisplay being configured.

Parameters
newDisplayThe new ChartDisplay.
Note
It will not take ownership of the given pointer

Reimplemented in te::qt::widgets::ChartStyleFrame.

Member Data Documentation

QwtPlotSeriesItem* te::qt::widgets::ChartWidget::m_chart

The chart that will be configured by this widget.

Definition at line 101 of file ChartWidget.h.

ChartDisplay* te::qt::widgets::ChartWidget::m_display

The display that will be configured by this widget.

Definition at line 102 of file ChartWidget.h.

std::string te::qt::widgets::ChartWidget::m_label

The chart's Label.

Definition at line 100 of file ChartWidget.h.


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