29 #include "ui_ChartLayerDialogForm.h"
33 m_ui(new Ui::ChartLayerDialogForm),
42 QGridLayout* layout =
new QGridLayout(
m_ui->m_widget);
43 layout->setContentsMargins(0,0,0,0);
48 m_ui->m_helpPushButton->setPageReference(
"widgets/charts/pie_bar/pie_bar.html");
58 std::auto_ptr<te::map::LayerSchema> dsType(layer->getSchema());
60 m_chartWidget->setLayer(layer);
65 m_chartWidget->setChart(chart);
70 bool res = m_chartWidget->buildChart();
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...
A dialog used to build a chart.
void setChart(te::map::Chart *chart)
Update the interface with the chart properties.
void onPushButtonClicked()
Function used when the user clicked over the ok push button.
A widget used to build a grouping.
~ChartLayerDialog()
Destructor.
te::qt::widgets::ChartLayerWidget * m_chartWidget
ChartLayer Widget used to configure the grouping operation.
A widget used to build a chart.
std::auto_ptr< Ui::ChartLayerDialogForm > m_ui
Dialog form.
void setLayer(te::map::AbstractLayerPtr layer)
Set a layer.
This class represents the informations needed to build map charts.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr