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 | ) |
| te::qt::widgets::ChartWidget::~ChartWidget | ( | ) |
Destructor.
Definition at line 35 of file ChartWidget.cpp.
|
virtual |
Returns a pointer to the chart being configured.
Reimplemented in te::qt::widgets::ScatterFrame, and te::qt::widgets::HistogramFrame.
Definition at line 41 of file ChartWidget.cpp.
|
virtual |
Returns a pointer to the display being configured.
Reimplemented in te::qt::widgets::ChartStyleFrame.
Definition at line 47 of file ChartWidget.cpp.
|
virtual |
It sets the chart being configured.
| newChart | The new QwtPlotSeriesItem. |
Reimplemented in te::qt::widgets::ScatterFrame, and te::qt::widgets::HistogramFrame.
Definition at line 52 of file ChartWidget.cpp.
|
virtual |
It sets the ChartDisplay being configured.
| newDisplay | The new ChartDisplay. |
Reimplemented in te::qt::widgets::ChartStyleFrame.
Definition at line 58 of file ChartWidget.cpp.
Referenced by te::qt::widgets::ChartProperties::ChartProperties().
| 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.
Referenced by te::qt::widgets::ChartStyleFrame::ChartStyleFrame(), te::qt::widgets::HistogramFrame::HistogramFrame(), and te::qt::widgets::ScatterFrame::ScatterFrame().