A widget used to adjust a histogram's input data. More...
#include <HistogramDataWidget.h>
Public Member Functions | |
Ui::HistogramDataWidgetForm * | getForm () |
Returns a pointer to the widget's form. More... | |
te::qt::widgets::Histogram * | getHistogram () |
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::DataSet > | m_dataSet |
The dataset that will be used to generate the histogram graph. More... | |
std::auto_ptr < te::da::DataSetType > | m_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... | |
A widget used to adjust a histogram's input data.
Definition at line 59 of file HistogramDataWidget.h.
te::qt::widgets::HistogramDataWidget::HistogramDataWidget | ( | te::da::DataSet * | dataSet, |
te::da::DataSetType * | dataType, | ||
QWidget * | parent = 0 , |
||
Qt::WindowFlags | f = 0 |
||
) |
Constructor.
dataSet | The dataset that will be used to generate a histogram. |
dataType | The dataset that will be used to generate a histogram. |
parent | this widget's parent |
f | Window flags used to configure this widget |
te::qt::widgets::HistogramDataWidget::~HistogramDataWidget | ( | ) |
Destructor.
Ui::HistogramDataWidgetForm* te::qt::widgets::HistogramDataWidget::getForm | ( | ) |
Returns a pointer to the widget's form.
te::qt::widgets::Histogram* te::qt::widgets::HistogramDataWidget::getHistogram | ( | ) |
Returns a pointer to the widget's form.
std::string te::qt::widgets::HistogramDataWidget::getSummaryFunction | ( | ) |
Returns the name of the chosen summary function. Default is None.
|
protectedslot |
void te::qt::widgets::HistogramDataWidget::setHistogramProperty | ( | int | propId | ) |
Sets the property to be used in order to generate the histogram.
|
private |
The dataset that will be used to generate the histogram graph.
Definition at line 119 of file HistogramDataWidget.h.
|
private |
The type of the dataset that will be used to generate the histogram graphic.
Definition at line 120 of file HistogramDataWidget.h.
|
private |
The widget's form.
Definition at line 118 of file HistogramDataWidget.h.