A wdiget used to display a chart.  
 More...
#include <ChartDisplayWidget.h>
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. 
- Parameters
 - 
  
    | 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  | 
  
   
 
 
      
        
          | te::qt::widgets::ChartDisplayWidget::~ChartDisplayWidget  | 
          ( | 
           | ) | 
           | 
        
      
 
 
      
        
          | QwtPlotSeriesItem* te::qt::widgets::ChartDisplayWidget::getChart  | 
          ( | 
           | ) | 
           | 
        
      
 
Returns a pointer to the chart being displayed. 
- Returns
 - A QwtPlotSeriesItem type pointer to the chart being used. 
 
- Note
 - The caller will not take ownership of the returned pointer. 
 
 
 
Returns a pointer to the display being used. 
- Returns
 - A ChartDisplay type pointer to the display being used. 
 
- Note
 - The caller will not take ownership of the returned pointer. 
 
 
 
      
        
          | int te::qt::widgets::ChartDisplayWidget::getType  | 
          ( | 
           | ) | 
           | 
        
      
 
 
Highlights the objects identified by oids. 
- Parameters
 - 
  
    | oids | The identifiers of plotitems to be highlighted.  | 
  
   
 
 
  
  
      
        
          | void te::qt::widgets::ChartDisplayWidget::onSettingsToolButtonnClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedslot   | 
  
 
Called when the user clicks on the Settings tool button. 
 
 
Emmit when objects were selected. 
 
 
  
  
      
        
          | void te::qt::widgets::ChartDisplayWidget::selectionChanged  | 
          ( | 
          te::da::ObjectIdSet *  | 
          oids,  | 
         
        
           | 
           | 
          const bool &  | 
          add  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protectedslot   | 
  
 
Called when objects were selected. 
 
 
      
        
          | void te::qt::widgets::ChartDisplayWidget::setChart  | 
          ( | 
          QwtPlotSeriesItem *  | 
          newChart | ) | 
           | 
        
      
 
It sets the chart that will be displayed
- Parameters
 - 
  
  
 
- Note
 - It will take ownership of the given pointer 
 
 
 
It sets the display that will be used
- Parameters
 - 
  
    | newDisplay | The new display.  | 
  
   
- Note
 - It will take ownership of the given pointer 
 
 
 
      
        
          | void te::qt::widgets::ChartDisplayWidget::setSelectionColor  | 
          ( | 
          QColor  | 
          selColor | ) | 
           | 
        
      
 
color used to hgihlight selected objects on this display. 
- Parameters
 - 
  
    | selColor | The color used to hgihlight selected objects on this display.  | 
  
   
 
 
  
  
      
        
          | QwtPlotSeriesItem* te::qt::widgets::ChartDisplayWidget::m_chart | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | ChartDisplay* te::qt::widgets::ChartDisplayWidget::m_display | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int te::qt::widgets::ChartDisplayWidget::m_type | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | std::auto_ptr<Ui::ChartDisplayWidgetForm> te::qt::widgets::ChartDisplayWidget::m_ui | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: