27 #include "../../../dataaccess.h" 
   28 #include "../../../datatype/Property.h" 
   36 #include "ui_HistogramDialogForm.h" 
   37 #include "ui_HistogramDataWidgetForm.h" 
   40 #include <QtGui/QDockWidget> 
   44     m_ui(new Ui::HistogramDialogForm)
 
   52   QGridLayout* layout = 
new QGridLayout(
m_ui->m_dataWidgetFrame);
 
   54   this->layout()->setSizeConstraint(QLayout::SetFixedSize);
 
   59   m_ui->m_helpPushButton->setPageReference(
"widgets/charts/histogram/histogram.html");
 
   64   delete m_histogramDataWidget;
 
   69   return m_displayWidget;
 
   74   QApplication::setOverrideCursor(Qt::WaitCursor);
 
   80   chartStyle->setTitle(QString::fromStdString(
"Histogram"));
 
   81   chartStyle->setAxisX(m_histogramDataWidget->getForm()->m_propertyComboBox->currentText());
 
   82   chartStyle->setAxisY(QString::fromStdString(
"Frequency"));
 
   87   chart->
attach(chartDisplay);
 
   89   chartDisplay->replot();
 
   94   QApplication::restoreOverrideCursor();
 
HistogramDialog(te::da::DataSet *dataSet, te::da::DataSetType *dataType, QWidget *parent=0, Qt::WindowFlags f=0)
Constructor. 
 
void adjustDisplay()
Updates the general display settings according to the ChartStyle. The adjusted properties are: Title;...
 
HistogramDataWidget * m_histogramDataWidget
The histogram's data widget used to configure the basic parameters of the new histogram. 
 
A wdiget used to display a chart. 
 
A widget used to display a set of charts. 
 
~HistogramDialog()
Destructor. 
 
A class used to define the style of a histogram's chart. 
 
void onOkPushButtonClicked()
 
A dialog used to define the basic parameters of a new histogram. 
 
A widget used to adjust a histogram's input data. 
 
A class that models the description of a dataset. 
 
A class to represent a histogram chart. 
 
te::qt::widgets::ChartDisplayWidget * getDisplayWidget()
Returns a pointer to the generated ChartDisplayWidget. 
 
void attach(QwtPlot *plot)
It atttaches a QwtPlot to this Cahrt. 
 
A class used to define a chartDisplay's style. 
 
A class to represent a chart display. 
 
A class to represent a chart display. 
 
std::auto_ptr< Ui::HistogramDialogForm > m_ui
The dialog form. 
 
A dataset is the unit of information manipulated by the data access module of TerraLib.