A dialog used to customize a graphic's parameters. More...
#include <ChartProperties.h>
Public Slots | |
| void | onApplyButtonClicked () |
| Called when the user clicks on the apply button. It will set the configurations to the ChartDisplayWidget being configured by this dialog. More... | |
| void | onItemClicked (QListWidgetItem *current) |
| Called when the user clicks on one of the items available at the list. More... | |
Public Member Functions | |
| ChartProperties (te::qt::widgets::ChartDisplayWidget *chartWidget, QWidget *parent=0) | |
| Constructor. More... | |
| ~ChartProperties () | |
| Destructor. More... | |
Private Attributes | |
| ChartDisplayWidget * | m_chartWidget |
| ChartWidget * | m_curComp |
| std::unique_ptr< Ui::ChartPropertiesDialogForm > | m_ui |
A dialog used to customize a graphic's parameters.
Definition at line 55 of file ChartProperties.h.
| te::qt::widgets::ChartProperties::ChartProperties | ( | te::qt::widgets::ChartDisplayWidget * | chartWidget, |
| QWidget * | parent = 0 |
||
| ) |
Constructor.
| chartWidget | The widget that will be editted by this dialog. |
| parent | The dialog's parent widget. |
Definition at line 41 of file ChartProperties.cpp.
References te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::begin(), d, te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::end(), te::common::AbstractFactory< te::qt::widgets::ChartWidget, std::string >::getDictionary(), te::qt::widgets::ChartDisplayWidget::getDisplay(), te::qt::widgets::ChartDisplayWidget::getType(), te::qt::widgets::HISTOGRAM_CHART, te::qt::widgets::TimeSeriesFrameFactory::initialize(), te::qt::widgets::ChartStyleFrameFactory::initialize(), te::qt::widgets::HistogramFrameFactory::initialize(), te::qt::widgets::ScatterFrameFactory::initialize(), m_chartWidget, m_curComp, m_ui, te::qt::widgets::ChartWidgetFactory::make(), onApplyButtonClicked(), onItemClicked(), te::qt::widgets::SCATTER_CHART, te::qt::widgets::ChartWidget::setDisplay(), and te::qt::widgets::TIMESERIES_CHART.
| te::qt::widgets::ChartProperties::~ChartProperties | ( | ) |
|
slot |
Called when the user clicks on the apply button. It will set the configurations to the ChartDisplayWidget being configured by this dialog.
Definition at line 108 of file ChartProperties.cpp.
References te::qt::widgets::ChartWidget::getChart(), te::qt::widgets::ChartWidget::getDisplay(), m_chartWidget, m_curComp, m_ui, te::qt::widgets::ChartDisplayWidget::setChart(), and te::qt::widgets::ChartDisplayWidget::setDisplay().
Referenced by ChartProperties().
|
slot |
Called when the user clicks on one of the items available at the list.
| current | The currently selected item of the list, it will be used to determine which type of chart the user wishes to configure. |
Definition at line 96 of file ChartProperties.cpp.
References te::qt::widgets::ChartDisplayWidget::getChart(), te::qt::widgets::ChartDisplayWidget::getDisplay(), m_chartWidget, m_curComp, m_ui, te::qt::widgets::ChartWidgetFactory::make(), te::qt::widgets::ChartWidget::setChart(), and te::qt::widgets::ChartWidget::setDisplay().
Referenced by ChartProperties().
|
private |
Definition at line 93 of file ChartProperties.h.
Referenced by ChartProperties(), onApplyButtonClicked(), and onItemClicked().
|
private |
Definition at line 92 of file ChartProperties.h.
Referenced by ChartProperties(), onApplyButtonClicked(), onItemClicked(), and ~ChartProperties().
|
private |
Definition at line 91 of file ChartProperties.h.
Referenced by ChartProperties(), onApplyButtonClicked(), and onItemClicked().