All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

Definition at line 31 of file ChartStyleFrame.cpp.

References te::qt::widgets::ChartWidget::m_label, m_styleWidget, and m_ui.

te::qt::widgets::ChartStyleFrame::~ChartStyleFrame ( )

Destructor.

Definition at line 44 of file ChartStyleFrame.cpp.

Member Function Documentation

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, and te::qt::widgets::HistogramFrame.

Definition at line 41 of file ChartWidget.cpp.

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.

Definition at line 49 of file ChartStyleFrame.cpp.

References te::qt::widgets::ChartDisplay::setStyle().

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, and te::qt::widgets::HistogramFrame.

Definition at line 52 of file ChartWidget.cpp.

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.

Definition at line 55 of file ChartStyleFrame.cpp.

References te::qt::widgets::ChartDisplay::setStyle().

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
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.

Referenced by ChartStyleFrame().

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

The Widget form.

Definition at line 89 of file ChartStyleFrame.h.

Referenced by ChartStyleFrame().


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