All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::ScatterStyleWidget Class Reference

A widget used to adjust a scatter's style. More...

#include <ScatterStyleWidget.h>

Inheritance diagram for te::qt::widgets::ScatterStyleWidget:

Public Member Functions

te::qt::widgets::ScatterStylegetScatterStyle ()
 Returns a pointer to the ScatterStyle being configured. More...
 
 ScatterStyleWidget (te::qt::widgets::ScatterStyle *initial=0, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~ScatterStyleWidget ()
 Destructor. More...
 

Protected Slots

void onPlotStylePushButtonClicked ()
 

Private Attributes

ScatterStylem_scatterStyle
 The scatter's chart style that will be configured by this widget. More...
 
std::auto_ptr
< Ui::ScatterStyleWidgetForm > 
m_ui
 The iwdget form. More...
 

Detailed Description

A widget used to adjust a scatter's style.

Definition at line 54 of file ScatterStyleWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::ScatterStyleWidget::ScatterStyleWidget ( te::qt::widgets::ScatterStyle initial = 0,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

Parameters
initialAn initial ScatterStyle 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.
parentthis widget's parent
fWindow flags used to configure this dialog

Definition at line 39 of file ScatterStyleWidget.cpp.

References m_scatterStyle, m_ui, and onPlotStylePushButtonClicked().

te::qt::widgets::ScatterStyleWidget::~ScatterStyleWidget ( )

Destructor.

Definition at line 53 of file ScatterStyleWidget.cpp.

Member Function Documentation

te::qt::widgets::ScatterStyle * te::qt::widgets::ScatterStyleWidget::getScatterStyle ( )

Returns a pointer to the ScatterStyle being configured.

Returns
A ScatterStyle type pointer to the style being configured
Note
The caller will take ownership of the returned pointer.

Definition at line 58 of file ScatterStyleWidget.cpp.

References te::qt::widgets::ScatterStyle::clone().

void te::qt::widgets::ScatterStyleWidget::onPlotStylePushButtonClicked ( )
protectedslot

Definition at line 63 of file ScatterStyleWidget.cpp.

References te::qt::widgets::GraphicDialog::getGraphic().

Referenced by ScatterStyleWidget().

Member Data Documentation

ScatterStyle* te::qt::widgets::ScatterStyleWidget::m_scatterStyle
private

The scatter's chart style that will be configured by this widget.

Definition at line 91 of file ScatterStyleWidget.h.

Referenced by ScatterStyleWidget().

std::auto_ptr<Ui::ScatterStyleWidgetForm> te::qt::widgets::ScatterStyleWidget::m_ui
private

The iwdget form.

Definition at line 90 of file ScatterStyleWidget.h.

Referenced by ScatterStyleWidget().


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