te::qt::widgets::ChartStyleFrame Class Reference

#include <ChartStyleFrame.h>

Inheritance diagram for te::qt::widgets::ChartStyleFrame:
te::qt::widgets::ChartWidget

Public Member Functions

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

Public Attributes

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

Private Attributes

ChartDisplaym_display
 The display that will be configured by this widget. More...
 
ChartStyleWidgetm_styleWidget
 The widget used to configure the display's style. More...
 
std::auto_ptr< Ui::ChartStyleFrameWidgetForm > m_ui
 The Widget form. More...
 

Detailed Description

Definition at line 51 of file ChartStyleFrame.h.

Constructor & Destructor Documentation

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

Constructor.

It constructs a chart display with the given title.

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

Destructor.

Member Function Documentation

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

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.

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

Returns a pointer to the ChartDisplay being configured.

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

Reimplemented from te::qt::widgets::ChartWidget.

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

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.

void te::qt::widgets::ChartStyleFrame::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 from te::qt::widgets::ChartWidget.

Member Data Documentation

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

The chart that will be configured by this widget.

Definition at line 101 of file ChartWidget.h.

ChartDisplay* te::qt::widgets::ChartStyleFrame::m_display
private

The display that will be configured by this widget.

Definition at line 90 of file ChartStyleFrame.h.

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

The chart's Label.

Definition at line 100 of file ChartWidget.h.

ChartStyleWidget* te::qt::widgets::ChartStyleFrame::m_styleWidget
private

The widget used to configure the display's style.

Definition at line 91 of file ChartStyleFrame.h.

std::auto_ptr<Ui::ChartStyleFrameWidgetForm> te::qt::widgets::ChartStyleFrame::m_ui
private

The Widget form.

Definition at line 89 of file ChartStyleFrame.h.


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