te::qt::widgets::ChartLayerDialog Class Reference

A dialog used to build a chart. More...

#include <ChartLayerDialog.h>

Inheritance diagram for te::qt::widgets::ChartLayerDialog:
QDialog

Public Slots

void onPushButtonClicked ()
 Function used when the user clicked over the ok push button. More...
 

Public Member Functions

void setChart (te::map::Chart *chart)
 Update the interface with the chart properties. More...
 
void setLayer (te::map::AbstractLayerPtr layer)
 Set a layer. More...
 
Initializer Methods

Methods related to instantiation and destruction.

 ChartLayerDialog (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructs a basic fill dialog which is a child of parent, with widget flags set to f. More...
 
 ~ChartLayerDialog ()
 Destructor. More...
 

Private Attributes

te::qt::widgets::ChartLayerWidgetm_chartWidget
 ChartLayer Widget used to configure the grouping operation. More...
 
std::unique_ptr< Ui::ChartLayerDialogForm > m_ui
 Dialog form. More...
 

Detailed Description

A dialog used to build a chart.

Definition at line 62 of file ChartLayerDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::ChartLayerDialog::ChartLayerDialog ( QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

Constructs a basic fill dialog which is a child of parent, with widget flags set to f.

Definition at line 31 of file ChartLayerDialog.cpp.

References m_chartWidget, m_ui, onPushButtonClicked(), and ~ChartLayerDialog().

te::qt::widgets::ChartLayerDialog::~ChartLayerDialog ( )
default

Destructor.

Referenced by ChartLayerDialog().

Member Function Documentation

void te::qt::widgets::ChartLayerDialog::onPushButtonClicked ( )
slot

Function used when the user clicked over the ok push button.

Definition at line 66 of file ChartLayerDialog.cpp.

References te::qt::widgets::ChartLayerWidget::buildChart(), and m_chartWidget.

Referenced by ChartLayerDialog().

void te::qt::widgets::ChartLayerDialog::setChart ( te::map::Chart chart)

Update the interface with the chart properties.

Definition at line 61 of file ChartLayerDialog.cpp.

References m_chartWidget, and te::qt::widgets::ChartLayerWidget::setChart().

Referenced by TerraView::onLayerChartTriggered().

void te::qt::widgets::ChartLayerDialog::setLayer ( te::map::AbstractLayerPtr  layer)

Set a layer.

Definition at line 54 of file ChartLayerDialog.cpp.

References m_chartWidget, and te::qt::widgets::ChartLayerWidget::setLayer().

Referenced by TerraView::onLayerChartTriggered().

Member Data Documentation

te::qt::widgets::ChartLayerWidget* te::qt::widgets::ChartLayerDialog::m_chartWidget
private

ChartLayer Widget used to configure the grouping operation.

Definition at line 99 of file ChartLayerDialog.h.

Referenced by ChartLayerDialog(), onPushButtonClicked(), setChart(), and setLayer().

std::unique_ptr<Ui::ChartLayerDialogForm> te::qt::widgets::ChartLayerDialog::m_ui
private

Dialog form.

Definition at line 98 of file ChartLayerDialog.h.

Referenced by ChartLayerDialog().


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