te::qt::widgets::HistogramFrame Class Reference

A frame for setting display options. More...

#include <HistogramFrame.h>

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

Public Member Functions

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...
 
 HistogramFrame (QWidget *parent=0)
 Constructor. More...
 
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...
 
 ~HistogramFrame ()
 Destructor. More...
 

Public Attributes

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

Private Attributes

HistogramChartm_chart
 The chart that will be editted by this widget. More...
 
HistogramStyleWidgetm_styleWidget
 The widget used to configure the histogram's style. More...
 
std::auto_ptr< Ui::HistogramFrameWidgetForm > m_ui
 The widget Form. More...
 

Detailed Description

A frame for setting display options.

Definition at line 53 of file HistogramFrame.h.

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

QwtPlotSeriesItem* te::qt::widgets::HistogramFrame::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 from te::qt::widgets::ChartWidget.

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

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.

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

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

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

HistogramChart* te::qt::widgets::HistogramFrame::m_chart
private

The chart that will be editted by this widget.

Definition at line 90 of file HistogramFrame.h.

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

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
inherited

The chart's Label.

Definition at line 100 of file ChartWidget.h.

HistogramStyleWidget* te::qt::widgets::HistogramFrame::m_styleWidget
private

The widget used to configure the histogram's style.

Definition at line 91 of file HistogramFrame.h.

std::auto_ptr<Ui::HistogramFrameWidgetForm> te::qt::widgets::HistogramFrame::m_ui
private

The widget Form.

Definition at line 89 of file HistogramFrame.h.


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