#include <ChartStyleWidget.h>
Public Member Functions | |
ChartStyleWidget (QWidget *parent=0, Qt::WindowFlags f=0, QString title="", QString PropertyX="", QString PropertyY="") | |
Constructor. More... | |
te::qt::widgets::ChartStyle * | getStyle () |
Returns a pointer to the ChartStyle being configured. More... | |
void | setStyle (te::qt::widgets::ChartStyle *newStyle) |
It sets the ChartStyle being configured. More... | |
~ChartStyleWidget () | |
Destructor. More... | |
Protected Slots | |
void | onColorChanged (const QColor &color) |
void | onGridCheckBoxToggled (int state) |
void | onLabelStylePushButtonClicked () |
void | onlabelXEditFinish () |
void | onlabelYEditFinish () |
void | onTitleLineEditFinish () |
void | onTitleStylePushButtonClicked () |
Private Attributes | |
ChartStyle * | m_chartStyle |
The display's style that will be configured by this dialog. More... | |
ColorPickerToolButton * | m_colorPicker |
The color picker used to customise the color of several chart parameters. More... | |
std::auto_ptr< Ui::chartStyleWidgetForm > | m_ui |
The widget form. More... | |
Definition at line 56 of file ChartStyleWidget.h.
te::qt::widgets::ChartStyleWidget::ChartStyleWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 , |
||
QString | title = "" , |
||
QString | PropertyX = "" , |
||
QString | PropertyY = "" |
||
) |
Constructor.
It constructs a ChartStyleWidget.
parent | this widget's parent |
f | Window flags used to configure this widget |
title | The title to be configured, defaults to an empty title. |
PropertyX | The label of the x axis to be configured, defaults to an empty label. |
PropertyY | The label of the y axis to be configured, defaults to an empty label. |
Definition at line 36 of file ChartStyleWidget.cpp.
References m_chartStyle, m_colorPicker, m_ui, onColorChanged(), onGridCheckBoxToggled(), onLabelStylePushButtonClicked(), onlabelXEditFinish(), onlabelYEditFinish(), onTitleLineEditFinish(), and onTitleStylePushButtonClicked().
te::qt::widgets::ChartStyleWidget::~ChartStyleWidget | ( | ) |
Destructor.
Definition at line 66 of file ChartStyleWidget.cpp.
te::qt::widgets::ChartStyle * te::qt::widgets::ChartStyleWidget::getStyle | ( | ) |
Returns a pointer to the ChartStyle being configured.
Definition at line 114 of file ChartStyleWidget.cpp.
|
protectedslot |
Definition at line 93 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 88 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 68 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 105 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 110 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 100 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
|
protectedslot |
Definition at line 78 of file ChartStyleWidget.cpp.
Referenced by ChartStyleWidget().
void te::qt::widgets::ChartStyleWidget::setStyle | ( | te::qt::widgets::ChartStyle * | newStyle | ) |
It sets the ChartStyle being configured.
newStyle | The new ChartStyle. |
Definition at line 119 of file ChartStyleWidget.cpp.
References te::qt::widgets::ChartStyle::setColor().
|
private |
The display's style that will be configured by this dialog.
Definition at line 111 of file ChartStyleWidget.h.
Referenced by ChartStyleWidget().
|
private |
The color picker used to customise the color of several chart parameters.
Definition at line 110 of file ChartStyleWidget.h.
Referenced by ChartStyleWidget().
|
private |
The widget form.
Definition at line 109 of file ChartStyleWidget.h.
Referenced by ChartStyleWidget().