te::qt::widgets::ChartStyleWidget Class Reference

#include <ChartStyleWidget.h>

Inheritance diagram for te::qt::widgets::ChartStyleWidget:

Public Member Functions

 ChartStyleWidget (QWidget *parent=0, Qt::WindowFlags f=0, QString title="", QString PropertyX="", QString PropertyY="")
 Constructor. More...
 
te::qt::widgets::ChartStylegetStyle ()
 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

ChartStylem_chartStyle
 The display's style that will be configured by this dialog. More...
 
ColorPickerToolButtonm_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...
 

Detailed Description

Definition at line 56 of file ChartStyleWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::ChartStyleWidget::ChartStyleWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0,
QString  title = "",
QString  PropertyX = "",
QString  PropertyY = "" 
)

Constructor.

It constructs a ChartStyleWidget.

Parameters
parentthis widget's parent
fWindow flags used to configure this widget
titleThe title to be configured, defaults to an empty title.
PropertyXThe label of the x axis to be configured, defaults to an empty label.
PropertyYThe label of the y axis to be configured, defaults to an empty label.
te::qt::widgets::ChartStyleWidget::~ChartStyleWidget ( )

Destructor.

Member Function Documentation

te::qt::widgets::ChartStyle* te::qt::widgets::ChartStyleWidget::getStyle ( )

Returns a pointer to the ChartStyle being configured.

Returns
A ChartStyle type pointer to the style being configured
Note
The caller will take ownership of the returned pointer.
void te::qt::widgets::ChartStyleWidget::onColorChanged ( const QColor &  color)
protectedslot
void te::qt::widgets::ChartStyleWidget::onGridCheckBoxToggled ( int  state)
protectedslot
void te::qt::widgets::ChartStyleWidget::onLabelStylePushButtonClicked ( )
protectedslot
void te::qt::widgets::ChartStyleWidget::onlabelXEditFinish ( )
protectedslot
void te::qt::widgets::ChartStyleWidget::onlabelYEditFinish ( )
protectedslot
void te::qt::widgets::ChartStyleWidget::onTitleLineEditFinish ( )
protectedslot
void te::qt::widgets::ChartStyleWidget::onTitleStylePushButtonClicked ( )
protectedslot
void te::qt::widgets::ChartStyleWidget::setStyle ( te::qt::widgets::ChartStyle newStyle)

It sets the ChartStyle being configured.

Parameters
newStyleThe new ChartStyle.
Note
It will not take ownership of the given pointer

Member Data Documentation

ChartStyle* te::qt::widgets::ChartStyleWidget::m_chartStyle
private

The display's style that will be configured by this dialog.

Definition at line 111 of file ChartStyleWidget.h.

ColorPickerToolButton* te::qt::widgets::ChartStyleWidget::m_colorPicker
private

The color picker used to customise the color of several chart parameters.

Definition at line 110 of file ChartStyleWidget.h.

std::auto_ptr<Ui::chartStyleWidgetForm> te::qt::widgets::ChartStyleWidget::m_ui
private

The widget form.

Definition at line 109 of file ChartStyleWidget.h.


The documentation for this class was generated from the following file: