A wdiget used to display a chart. More...
#include <ChartDisplayWidget.h>
  
 Signals | |
| void | selected (te::da::ObjectIdSet *, const bool &) | 
| Emmit when objects were selected.  More... | |
Public Member Functions | |
| ChartDisplayWidget (QwtPlotSeriesItem *chart, int type, te::qt::widgets::ChartDisplay *display, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor.  More... | |
| QwtPlotSeriesItem * | getChart () | 
| Returns a pointer to the chart being displayed.  More... | |
| te::qt::widgets::ChartDisplay * | getDisplay () | 
| Returns a pointer to the display being used.  More... | |
| int | getType () | 
| void | highlightOIds (const te::da::ObjectIdSet *oids) | 
| Highlights the objects identified by oids.  More... | |
| void | setChart (QwtPlotSeriesItem *newChart) | 
| It sets the chart that will be displayed More... | |
| void | setDisplay (te::qt::widgets::ChartDisplay *newDisplay) | 
| It sets the display that will be used More... | |
| void | setSelectionColor (QColor selColor) | 
| color used to hgihlight selected objects on this display.  More... | |
| ~ChartDisplayWidget () | |
| Destructor.  More... | |
Protected Slots | |
| void | onSettingsToolButtonnClicked () | 
| Called when the user clicks on the Settings tool button.  More... | |
| void | selectionChanged (te::da::ObjectIdSet *oids, const bool &add) | 
| Called when objects were selected.  More... | |
Private Attributes | |
| QwtPlotSeriesItem * | m_chart | 
| The chart that will be plotted by this widget.  More... | |
| ChartDisplay * | m_display | 
| The display that will be used to plot the chart.  More... | |
| int | m_type | 
| The type of the chart that will be plotted by this widget.  More... | |
| std::auto_ptr < Ui::ChartDisplayWidgetForm >  | m_ui | 
| The widget form.  More... | |
A wdiget used to display a chart.
Definition at line 62 of file ChartDisplayWidget.h.
| te::qt::widgets::ChartDisplayWidget::ChartDisplayWidget | ( | QwtPlotSeriesItem * | chart, | 
| int | type, | ||
| te::qt::widgets::ChartDisplay * | display, | ||
| QWidget * | parent = 0,  | 
        ||
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructor.
| chart | The chart that will be displayed by this widget. | 
| display | The display that will be used by this widget to display the chart | 
| parent | this widget's parent | 
| f | Window flags used to configure this widget | 
Definition at line 39 of file ChartDisplayWidget.cpp.
References m_display, m_ui, onSettingsToolButtonnClicked(), selected(), and selectionChanged().
| te::qt::widgets::ChartDisplayWidget::~ChartDisplayWidget | ( | ) | 
Destructor.
Definition at line 56 of file ChartDisplayWidget.cpp.
| QwtPlotSeriesItem * te::qt::widgets::ChartDisplayWidget::getChart | ( | ) | 
Returns a pointer to the chart being displayed.
Definition at line 61 of file ChartDisplayWidget.cpp.
| te::qt::widgets::ChartDisplay * te::qt::widgets::ChartDisplayWidget::getDisplay | ( | ) | 
Returns a pointer to the display being used.
Definition at line 72 of file ChartDisplayWidget.cpp.
Referenced by te::qt::widgets::ChartProperties::ChartProperties().
| int te::qt::widgets::ChartDisplayWidget::getType | ( | ) | 
Definition at line 87 of file ChartDisplayWidget.cpp.
Referenced by te::qt::widgets::ChartProperties::ChartProperties().
| void te::qt::widgets::ChartDisplayWidget::highlightOIds | ( | const te::da::ObjectIdSet * | oids | ) | 
Highlights the objects identified by oids.
| oids | The identifiers of plotitems to be highlighted. | 
Definition at line 93 of file ChartDisplayWidget.cpp.
      
  | 
  protectedslot | 
Called when the user clicks on the Settings tool button.
Definition at line 98 of file ChartDisplayWidget.cpp.
Referenced by ChartDisplayWidget().
      
  | 
  signal | 
Emmit when objects were selected.
Referenced by ChartDisplayWidget().
      
  | 
  protectedslot | 
Called when objects were selected.
Definition at line 104 of file ChartDisplayWidget.cpp.
Referenced by ChartDisplayWidget().
| void te::qt::widgets::ChartDisplayWidget::setChart | ( | QwtPlotSeriesItem * | newChart | ) | 
It sets the chart that will be displayed
| newChart | The new chart. | 
Definition at line 66 of file ChartDisplayWidget.cpp.
| void te::qt::widgets::ChartDisplayWidget::setDisplay | ( | te::qt::widgets::ChartDisplay * | newDisplay | ) | 
It sets the display that will be used
| newDisplay | The new display. | 
Definition at line 77 of file ChartDisplayWidget.cpp.
| void te::qt::widgets::ChartDisplayWidget::setSelectionColor | ( | QColor | selColor | ) | 
color used to hgihlight selected objects on this display.
| selColor | The color used to hgihlight selected objects on this display. | 
Definition at line 109 of file ChartDisplayWidget.cpp.
      
  | 
  private | 
The chart that will be plotted by this widget.
Definition at line 156 of file ChartDisplayWidget.h.
      
  | 
  private | 
The display that will be used to plot the chart.
Definition at line 158 of file ChartDisplayWidget.h.
Referenced by ChartDisplayWidget().
      
  | 
  private | 
The type of the chart that will be plotted by this widget.
Definition at line 157 of file ChartDisplayWidget.h.
      
  | 
  private | 
The widget form.
Definition at line 155 of file ChartDisplayWidget.h.
Referenced by ChartDisplayWidget().