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 |
Definition at line 29 of file ChartWidget.cpp.
References ~ChartWidget().
|
default |
Destructor.
Referenced by ChartWidget().
|
virtual |
Returns a pointer to the chart being configured.
Reimplemented in te::qt::widgets::ScatterFrame, te::qt::widgets::TimeSeriesFrame, and te::qt::widgets::HistogramFrame.
Definition at line 37 of file ChartWidget.cpp.
References m_chart.
Referenced by te::qt::widgets::ChartProperties::onApplyButtonClicked().
|
virtual |
Returns a pointer to the display being configured.
Reimplemented in te::qt::widgets::ChartStyleFrame.
Definition at line 43 of file ChartWidget.cpp.
References m_display.
Referenced by te::qt::widgets::ChartProperties::onApplyButtonClicked().
|
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.
Definition at line 48 of file ChartWidget.cpp.
References m_chart.
Referenced by te::qt::widgets::ChartProperties::onItemClicked().
|
virtual |
It sets the ChartDisplay being configured.
| newDisplay | The new ChartDisplay. |
Reimplemented in te::qt::widgets::ChartStyleFrame.
Definition at line 54 of file ChartWidget.cpp.
References m_display.
Referenced by te::qt::widgets::ChartProperties::ChartProperties(), and te::qt::widgets::ChartProperties::onItemClicked().
| QwtPlotSeriesItem* te::qt::widgets::ChartWidget::m_chart |
The chart that will be configured by this widget.
Definition at line 101 of file ChartWidget.h.
Referenced by getChart(), and setChart().
| ChartDisplay* te::qt::widgets::ChartWidget::m_display |
The display that will be configured by this widget.
Definition at line 102 of file ChartWidget.h.
Referenced by getDisplay(), and setDisplay().
| 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(), te::qt::widgets::ScatterFrame::ScatterFrame(), and te::qt::widgets::TimeSeriesFrame::TimeSeriesFrame().