All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::HistogramDialogForm > 
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

Definition at line 42 of file HistogramDialog.cpp.

References m_histogramDataWidget, m_ui, and onOkPushButtonClicked().

te::qt::widgets::HistogramDialog::~HistogramDialog ( )

Destructor.

Definition at line 62 of file HistogramDialog.cpp.

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.

Definition at line 67 of file HistogramDialog.cpp.

Referenced by te::qt::af::BaseApplication::onLayerHistogramTriggered().

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.

Referenced by HistogramDialog().

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

The dialog form.

Definition at line 95 of file HistogramDialog.h.

Referenced by HistogramDialog().


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