A Dialog used to customize a Histogram parameters and generate it's ChartDisplayWidget. More...
#include <HistogramDialog.h>
Public Member Functions | |
| te::qt::widgets::ChartDisplayWidget * | getDisplayWidget () |
| Returns a pointer to the generated ChartDisplayWidget. More... | |
| HistogramDialog (te::map::AbstractLayerPtr layer, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| ~HistogramDialog () | |
| Destructor. More... | |
Protected Slots | |
| void | onOkPushButtonClicked () |
Private Attributes | |
| ChartDisplayWidget * | m_displayWidget |
| The display's widget that will be populated by this widget. More... | |
| HistogramDataWidget * | m_histogramDataWidget |
| The histogram's data widget used to configure the basic parameters of the new histogram. More... | |
| std::unique_ptr< Ui::ChartDialogForm > | m_ui |
| The dialog form. More... | |
A Dialog used to customize a Histogram parameters and generate it's ChartDisplayWidget.
Definition at line 59 of file HistogramDialog.h.
| te::qt::widgets::HistogramDialog::HistogramDialog | ( | te::map::AbstractLayerPtr | layer, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| layer | The layer that will be used to generate a histogram. |
| parent | this widget's parent |
| f | Window flags used to configure this dialog |
Definition at line 41 of file HistogramDialog.cpp.
References m_histogramDataWidget, m_ui, and onOkPushButtonClicked().
| te::qt::widgets::HistogramDialog::~HistogramDialog | ( | ) |
| te::qt::widgets::ChartDisplayWidget * te::qt::widgets::HistogramDialog::getDisplayWidget | ( | ) |
Returns a pointer to the generated ChartDisplayWidget.
Definition at line 66 of file HistogramDialog.cpp.
References m_displayWidget.
Referenced by TerraView::onLayerHistogramTriggered().
|
protectedslot |
Definition at line 71 of file HistogramDialog.cpp.
References te::qt::widgets::ChartDisplay::adjustDisplay(), te::qt::widgets::HistogramChart::attach(), te::qt::widgets::HistogramDataWidget::getForm(), te::qt::widgets::HistogramDataWidget::getHistogram(), te::qt::widgets::HistogramDataWidget::getSummaryFunction(), te::qt::widgets::HISTOGRAM_CHART, m_displayWidget, and m_histogramDataWidget.
Referenced by HistogramDialog().
|
private |
The display's widget that will be populated by this widget.
Definition at line 96 of file HistogramDialog.h.
Referenced by getDisplayWidget(), and onOkPushButtonClicked().
|
private |
The histogram's data widget used to configure the basic parameters of the new histogram.
Definition at line 95 of file HistogramDialog.h.
Referenced by HistogramDialog(), onOkPushButtonClicked(), and ~HistogramDialog().
|
private |