A dock widget for DataSetTableView objects. More...
#include <DataSetTableDockWidget.h>
  
 Signals | |
| void | closed (te::qt::af::DataSetTableDockWidget *) | 
| Emitted before this widget was closed.  More... | |
| void | createChartDisplay (te::qt::widgets::ChartDisplayWidget *, te::map::AbstractLayer *layer) | 
| Broadcasts the creation of a new chartWidget to the application.  More... | |
Public Member Functions | |
| DataSetTableDockWidget (QWidget *parent=0) | |
| Constructor.  More... | |
| te::map::AbstractLayer * | getLayer () const | 
| Returns the layer being used.  More... | |
| void | setLayer (te::map::AbstractLayer *layer) | 
| Sets the layer to be showed on view. This DOES NOT takes the ownership of layer.  More... | |
| ~DataSetTableDockWidget () | |
| Destructor.  More... | |
Protected Slots | |
| void | chartDisplayCreated (te::qt::widgets::ChartDisplayWidget *chartWidget) | 
| Broadcasts the creation of a new chartWidget to the application.  More... | |
| void | onApplicationTriggered (te::qt::af::evt::Event *evt) | 
| Used for capture events sent by application framework.  More... | |
| void | removeSelectedOIds (te::da::ObjectIdSet *oids) | 
| Removes the oids from the list of selected in the Layer.  More... | |
| void | selectionChanged (te::da::ObjectIdSet *oids, const bool &add, te::gm::Envelope *env) | 
| Used for selection changed on table view.  More... | |
Protected Attributes | |
| te::map::AbstractLayer * | m_layer | 
| Layer being visualized.  More... | |
| te::qt::widgets::DataSetTableView * | m_view | 
| The table view.  More... | |
A dock widget for DataSetTableView objects.
Definition at line 74 of file DataSetTableDockWidget.h.
| te::qt::af::DataSetTableDockWidget::DataSetTableDockWidget | ( | QWidget * | parent = 0 | ) | 
Constructor.
| parent | The widget parent. | 
Definition at line 32 of file DataSetTableDockWidget.cpp.
References chartDisplayCreated(), createChartDisplay(), te::qt::af::GetAlternateRowColorsFromSettings(), te::common::Singleton< ApplicationController >::getInstance(), te::qt::af::GetStyleSheetFromSettings(), m_view, removeSelectedOIds(), selectionChanged(), and te::qt::widgets::DataSetTableView::setHighlightColor().
| te::qt::af::DataSetTableDockWidget::~DataSetTableDockWidget | ( | ) | 
Destructor.
Definition at line 56 of file DataSetTableDockWidget.cpp.
      
  | 
  protectedslot | 
Broadcasts the creation of a new chartWidget to the application.
| chartWidget | The widget containing the generated chart. | 
Definition at line 87 of file DataSetTableDockWidget.cpp.
Referenced by DataSetTableDockWidget().
      
  | 
  signal | 
Emitted before this widget was closed.
      
  | 
  signal | 
Broadcasts the creation of a new chartWidget to the application.
| chartWidget | The widget containing the generated chart. | 
Referenced by DataSetTableDockWidget().
| te::map::AbstractLayer * te::qt::af::DataSetTableDockWidget::getLayer | ( | ) | const | 
Returns the layer being used.
Definition at line 82 of file DataSetTableDockWidget.cpp.
      
  | 
  protectedslot | 
Used for capture events sent by application framework.
Definition at line 92 of file DataSetTableDockWidget.cpp.
References te::qt::af::GetStyleSheetFromColors(), te::qt::af::evt::LAYER_REMOVED, te::qt::af::evt::LAYER_SELECTED_OBJECTS_CHANGED, te::qt::af::evt::Event::m_id, te::qt::af::evt::TableAlternatingColorsChanged::m_isAlternating, te::qt::af::evt::LayerRemoved::m_layer, te::qt::af::evt::LayerSelectedObjectsChanged::m_layer, te::qt::af::evt::TableAlternatingColorsChanged::m_primaryColor, te::qt::af::evt::TableAlternatingColorsChanged::m_secondaryColor, and te::qt::af::evt::TABLE_ALTERNATE_COLORS_CHANGED.
      
  | 
  protectedslot | 
Removes the oids from the list of selected in the Layer.
| oids | Set of objects ids to be removed. | 
Definition at line 146 of file DataSetTableDockWidget.cpp.
References te::qt::af::ApplicationController::broadcast(), and te::common::Singleton< ApplicationController >::getInstance().
Referenced by DataSetTableDockWidget().
      
  | 
  protectedslot | 
Used for selection changed on table view.
| oids | The selected object ids. | 
| add | True to add to previous selection, false to discard older selection. | 
| env | Bounding box of the last object selected. | 
Definition at line 135 of file DataSetTableDockWidget.cpp.
References te::qt::af::ApplicationController::broadcast(), and te::common::Singleton< ApplicationController >::getInstance().
Referenced by DataSetTableDockWidget().
| void te::qt::af::DataSetTableDockWidget::setLayer | ( | te::map::AbstractLayer * | layer | ) | 
Sets the layer to be showed on view. This DOES NOT takes the ownership of layer.
| layer | The layer to be showed. | 
Definition at line 61 of file DataSetTableDockWidget.cpp.
Referenced by te::qt::af::BaseApplication::onLayerShowTableTriggered().
      
  | 
  protected | 
Layer being visualized.
Definition at line 162 of file DataSetTableDockWidget.h.
      
  | 
  protected | 
The table view.
Definition at line 160 of file DataSetTableDockWidget.h.
Referenced by DataSetTableDockWidget().