A base widget for settings. More...
#include <ChartWidget.h>
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::ChartDisplay * | getDisplay () |
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... | |
ChartDisplay * | m_display |
The display that will be configured by this widget. More... | |
std::string | m_label |
The chart's Label. More... | |
A base widget for settings.
Definition at line 50 of file ChartWidget.h.
te::qt::widgets::ChartWidget::ChartWidget | ( | QWidget * | parent = 0 | ) |
Constructor.
parent | this widget's parent |
te::qt::widgets::ChartWidget::~ChartWidget | ( | ) |
Destructor.
|
virtual |
Returns a pointer to the chart being configured.
Reimplemented in te::qt::widgets::ScatterFrame, te::qt::widgets::TimeSeriesFrame, and te::qt::widgets::HistogramFrame.
|
virtual |
Returns a pointer to the display being configured.
Reimplemented in te::qt::widgets::ChartStyleFrame.
|
virtual |
It sets the chart being configured.
newChart | The new QwtPlotSeriesItem. |
Reimplemented in te::qt::widgets::ScatterFrame, te::qt::widgets::TimeSeriesFrame, and te::qt::widgets::HistogramFrame.
|
virtual |
It sets the ChartDisplay being configured.
newDisplay | The new ChartDisplay. |
Reimplemented in te::qt::widgets::ChartStyleFrame.
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.