te::qt::widgets::HistogramDataWidget Class Reference

A widget used to adjust a histogram's input data. More...

#include <HistogramDataWidget.h>

Inheritance diagram for te::qt::widgets::HistogramDataWidget:

Public Member Functions

Ui::HistogramDataWidgetForm * getForm ()
 Returns a pointer to the widget's form. More...
 
te::qt::widgets::HistogramgetHistogram ()
 Returns a pointer to the widget's form. More...
 
std::string getSummaryFunction ()
 Returns the name of the chosen summary function. Default is None. More...
 
 HistogramDataWidget (te::da::DataSet *dataSet, te::da::DataSetType *dataType, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
void setHistogramProperty (int propId)
 Sets the property to be used in order to generate the histogram. More...
 
 ~HistogramDataWidget ()
 Destructor. More...
 

Protected Slots

void onPropertyComboBoxIndexChanged (QString text)
 

Private Attributes

std::auto_ptr< te::da::DataSetm_dataSet
 The dataset that will be used to generate the histogram graph. More...
 
std::auto_ptr< te::da::DataSetTypem_dataType
 The type of the dataset that will be used to generate the histogram graphic. More...
 
std::auto_ptr< Ui::HistogramDataWidgetForm > m_ui
 The widget's form. More...
 

Detailed Description

A widget used to adjust a histogram's input data.

Definition at line 59 of file HistogramDataWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::HistogramDataWidget::HistogramDataWidget ( te::da::DataSet dataSet,
te::da::DataSetType dataType,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

Parameters
dataSetThe dataset that will be used to generate a histogram.
dataTypeThe dataset that will be used to generate a histogram.
parentthis widget's parent
fWindow flags used to configure this widget
te::qt::widgets::HistogramDataWidget::~HistogramDataWidget ( )

Destructor.

Member Function Documentation

Ui::HistogramDataWidgetForm* te::qt::widgets::HistogramDataWidget::getForm ( )

Returns a pointer to the widget's form.

Returns
A HistogramDataWidgetForm type pointer to the widget's form.
Note
The caller will not take ownership of the returned pointer.
te::qt::widgets::Histogram* te::qt::widgets::HistogramDataWidget::getHistogram ( )

Returns a pointer to the widget's form.

Returns
A HistogramDataWidgetForm type pointer to the widget's form.
Note
The caller will take ownership of the returned pointer.
std::string te::qt::widgets::HistogramDataWidget::getSummaryFunction ( )

Returns the name of the chosen summary function. Default is None.

Returns
The name of the chosen summary function.
void te::qt::widgets::HistogramDataWidget::onPropertyComboBoxIndexChanged ( QString  text)
protectedslot
void te::qt::widgets::HistogramDataWidget::setHistogramProperty ( int  propId)

Sets the property to be used in order to generate the histogram.

Note
This function is intented to prevent the user from selecting a property through this widget in special cases, if that is not the intended behaviour, do not call this function.

Member Data Documentation

std::auto_ptr<te::da::DataSet> te::qt::widgets::HistogramDataWidget::m_dataSet
private

The dataset that will be used to generate the histogram graph.

Definition at line 119 of file HistogramDataWidget.h.

std::auto_ptr<te::da::DataSetType> te::qt::widgets::HistogramDataWidget::m_dataType
private

The type of the dataset that will be used to generate the histogram graphic.

Definition at line 120 of file HistogramDataWidget.h.

std::auto_ptr<Ui::HistogramDataWidgetForm> te::qt::widgets::HistogramDataWidget::m_ui
private

The widget's form.

Definition at line 118 of file HistogramDataWidget.h.


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