27 #include "../../../dataaccess.h" 
   28 #include "../../../dataaccess/dataset/ObjectIdSet.h" 
   29 #include "../../../datatype/Property.h" 
   34 #include "ui_ChartDisplayWidgetForm.h" 
   37 #include <qwt_plot_seriesitem.h> 
   41     m_ui(new Ui::ChartDisplayWidgetForm),
 
   48   QGridLayout* layout = 
new QGridLayout(
m_ui->m_plotFrame);
 
   79   m_display = newDisplay;
 
   81   if(this->parentWidget())
 
   82     this->parentWidget()->setWindowTitle(m_display->getStyle()->getTitle());
 
   95   m_display->highlightOIds(oids);
 
  106   emit selected(oids, add);
 
  111   m_display->setSelectionColor(selColor);
 
A dialog used to customize a graphic's parameters, weather it is about it's data or it's visual style...
 
std::auto_ptr< Ui::ChartDisplayWidgetForm > m_ui
The widget form. 
 
This class represents a set of unique ids created in the same context. i.e. from the same data set...
 
A widget used to display a set of charts. 
 
te::qt::widgets::ChartDisplay * getDisplay()
Returns a pointer to the display being used. 
 
void onSettingsToolButtonnClicked()
Called when the user clicks on the Settings tool button. 
 
A dialog used to customize a graphic's parameters. 
 
~ChartDisplayWidget()
Destructor. 
 
void selectionChanged(te::da::ObjectIdSet *oids, const bool &add)
Called when objects were selected. 
 
void highlightOIds(const te::da::ObjectIdSet *oids)
Highlights the objects identified by oids. 
 
void setDisplay(te::qt::widgets::ChartDisplay *newDisplay)
It sets the display that will be used
 
void setSelectionColor(QColor selColor)
color used to hgihlight selected objects on this display. 
 
ChartDisplay * m_display
The display that will be used to plot the chart. 
 
void selected(te::da::ObjectIdSet *, const bool &)
Emmit when objects were selected. 
 
A class used to define a chartDisplay's style. 
 
A class to represent a chart display. 
 
A class to represent a chart display. 
 
void setChart(QwtPlotSeriesItem *newChart)
It sets the chart that will be displayed
 
ChartDisplayWidget(QwtPlotSeriesItem *chart, int type, te::qt::widgets::ChartDisplay *display, QWidget *parent=0, Qt::WindowFlags f=0)
Constructor. 
 
QwtPlotSeriesItem * getChart()
Returns a pointer to the chart being displayed.