te::qt::widgets::HistogramDialog Class Reference

A Dialog used to customize a Histogram parameters and generate it's ChartDisplayWidget. More...

#include <HistogramDialog.h>

Inheritance diagram for te::qt::widgets::HistogramDialog:

Public Member Functions

te::qt::widgets::ChartDisplayWidgetgetDisplayWidget ()
 Returns a pointer to the generated ChartDisplayWidget. More...
 
 HistogramDialog (te::da::DataSet *dataSet, te::da::DataSetType *dataType, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~HistogramDialog ()
 Destructor. More...
 

Protected Slots

void onOkPushButtonClicked ()
 

Private Attributes

ChartDisplayWidgetm_displayWidget
 The display's widget that will be populated by this widget. More...
 
HistogramDataWidgetm_histogramDataWidget
 The histogram's data widget used to configure the basic parameters of the new histogram. More...
 
std::auto_ptr< Ui::ChartDialogForm > m_ui
 The dialog form. More...
 

Detailed Description

A Dialog used to customize a Histogram parameters and generate it's ChartDisplayWidget.

Definition at line 59 of file HistogramDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::HistogramDialog::HistogramDialog ( 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 dialog
te::qt::widgets::HistogramDialog::~HistogramDialog ( )

Destructor.

Member Function Documentation

te::qt::widgets::ChartDisplayWidget* te::qt::widgets::HistogramDialog::getDisplayWidget ( )

Returns a pointer to the generated ChartDisplayWidget.

Returns
A ChartDisplayWidget type pointer to the generated chart.
Note
The caller will take ownership of the returned pointer.
void te::qt::widgets::HistogramDialog::onOkPushButtonClicked ( )
protectedslot

Member Data Documentation

ChartDisplayWidget* te::qt::widgets::HistogramDialog::m_displayWidget
private

The display's widget that will be populated by this widget.

Definition at line 97 of file HistogramDialog.h.

HistogramDataWidget* te::qt::widgets::HistogramDialog::m_histogramDataWidget
private

The histogram's data widget used to configure the basic parameters of the new histogram.

Definition at line 96 of file HistogramDialog.h.

std::auto_ptr<Ui::ChartDialogForm> te::qt::widgets::HistogramDialog::m_ui
private

The dialog form.

Definition at line 95 of file HistogramDialog.h.


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