A widget used to adjust a timeSeries's style. More...
#include <TimeSeriesStyleWidget.h>
Public Member Functions | |
| te::qt::widgets::TimeSeriesStyle * | getTimeSeriesStyle () |
| Returns a pointer to the TimeSeriesStyle being configured. More... | |
| TimeSeriesStyleWidget (te::qt::widgets::TimeSeriesStyle *initial=0, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| ~TimeSeriesStyleWidget () | |
| Destructor. More... | |
Protected Slots | |
| void | onStrokePushButtonClicked () |
Private Attributes | |
| TimeSeriesStyle * | m_timeSeriesStyle |
| The timeSeries's chart style that will be configured by this widget. More... | |
| std::unique_ptr< Ui::TimeSeriesStyleWidgetForm > | m_ui |
| The iwdget form. More... | |
A widget used to adjust a timeSeries's style.
Definition at line 54 of file TimeSeriesStyleWidget.h.
| te::qt::widgets::TimeSeriesStyleWidget::TimeSeriesStyleWidget | ( | te::qt::widgets::TimeSeriesStyle * | initial = 0, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| initial | An initial TimeSeriesStyle element that will be used, it will take ownership of this pointer if it is given. The widget form will be updated based on it's parameters. It can be NULL. |
| parent | this widget's parent |
| f | Window flags used to configure this dialog |
Definition at line 39 of file TimeSeriesStyleWidget.cpp.
References m_timeSeriesStyle, m_ui, and onStrokePushButtonClicked().
| te::qt::widgets::TimeSeriesStyleWidget::~TimeSeriesStyleWidget | ( | ) |
| te::qt::widgets::TimeSeriesStyle * te::qt::widgets::TimeSeriesStyleWidget::getTimeSeriesStyle | ( | ) |
Returns a pointer to the TimeSeriesStyle being configured.
Definition at line 58 of file TimeSeriesStyleWidget.cpp.
References te::qt::widgets::TimeSeriesStyle::clone(), and m_timeSeriesStyle.
Referenced by te::qt::widgets::TimeSeriesFrame::getChart().
|
protectedslot |
Definition at line 63 of file TimeSeriesStyleWidget.cpp.
References te::qt::widgets::TimeSeriesStyle::getStroke(), te::qt::widgets::BasicStrokeDialog::getStroke(), m_timeSeriesStyle, and te::qt::widgets::TimeSeriesStyle::setStroke().
Referenced by TimeSeriesStyleWidget().
|
private |
The timeSeries's chart style that will be configured by this widget.
Definition at line 91 of file TimeSeriesStyleWidget.h.
Referenced by getTimeSeriesStyle(), onStrokePushButtonClicked(), TimeSeriesStyleWidget(), and ~TimeSeriesStyleWidget().
|
private |
The iwdget form.
Definition at line 90 of file TimeSeriesStyleWidget.h.
Referenced by TimeSeriesStyleWidget().