te::qt::af::DataSetTableDockWidget Class Reference

A dock widget for DataSetTableView objects. More...

#include <DataSetTableDockWidget.h>

Inheritance diagram for te::qt::af::DataSetTableDockWidget:

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...
 
void triggered (te::qt::af::evt::Event *e)
 

Public Member Functions

 DataSetTableDockWidget (QWidget *parent=0)
 Constructor. More...
 
te::map::AbstractLayergetLayer () const
 Returns the layer being used. More...
 
void setHighlightColor (QColor color)
 Defines the color to be used as Highlight. More...
 
void setLayer (te::map::AbstractLayer *layer, const bool &editable=true)
 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::AbstractLayerm_layer
 Layer being visualized. More...
 
te::qt::widgets::DataSetTableViewm_view
 The table view. More...
 

Detailed Description

A dock widget for DataSetTableView objects.

Definition at line 74 of file DataSetTableDockWidget.h.

Constructor & Destructor Documentation

te::qt::af::DataSetTableDockWidget::DataSetTableDockWidget ( QWidget *  parent = 0)

Constructor.

Parameters
parentThe widget parent.
te::qt::af::DataSetTableDockWidget::~DataSetTableDockWidget ( )

Destructor.

Member Function Documentation

void te::qt::af::DataSetTableDockWidget::chartDisplayCreated ( te::qt::widgets::ChartDisplayWidget chartWidget)
protectedslot

Broadcasts the creation of a new chartWidget to the application.

Parameters
chartWidgetThe widget containing the generated chart.
void te::qt::af::DataSetTableDockWidget::closed ( te::qt::af::DataSetTableDockWidget )
signal

Emitted before this widget was closed.

void te::qt::af::DataSetTableDockWidget::createChartDisplay ( te::qt::widgets::ChartDisplayWidget ,
te::map::AbstractLayer layer 
)
signal

Broadcasts the creation of a new chartWidget to the application.

Parameters
chartWidgetThe widget containing the generated chart.
te::map::AbstractLayer* te::qt::af::DataSetTableDockWidget::getLayer ( ) const

Returns the layer being used.

Returns
Layer being used.
void te::qt::af::DataSetTableDockWidget::onApplicationTriggered ( te::qt::af::evt::Event evt)
protectedslot

Used for capture events sent by application framework.

void te::qt::af::DataSetTableDockWidget::removeSelectedOIds ( te::da::ObjectIdSet oids)
protectedslot

Removes the oids from the list of selected in the Layer.

Parameters
oidsSet of objects ids to be removed.
Note
This WILL NOT TAKE the ownership of oids.
void te::qt::af::DataSetTableDockWidget::selectionChanged ( te::da::ObjectIdSet oids,
const bool &  add,
te::gm::Envelope env 
)
protectedslot

Used for selection changed on table view.

Parameters
oidsThe selected object ids.
addTrue to add to previous selection, false to discard older selection.
envBounding box of the last object selected.
Note
This function WILL TAKE the ownership of oids. It gives the ownership to the layer.
void te::qt::af::DataSetTableDockWidget::setHighlightColor ( QColor  color)

Defines the color to be used as Highlight.

Parameters
colorthe Highlight color;
void te::qt::af::DataSetTableDockWidget::setLayer ( te::map::AbstractLayer layer,
const bool &  editable = true 
)

Sets the layer to be showed on view. This DOES NOT takes the ownership of layer.

Parameters
layerThe layer to be showed.
editableTrue to allow layer editions.
void te::qt::af::DataSetTableDockWidget::triggered ( te::qt::af::evt::Event e)
signal

Member Data Documentation

te::map::AbstractLayer* te::qt::af::DataSetTableDockWidget::m_layer
protected

Layer being visualized.

Definition at line 173 of file DataSetTableDockWidget.h.

te::qt::widgets::DataSetTableView* te::qt::af::DataSetTableDockWidget::m_view
protected

The table view.

Definition at line 171 of file DataSetTableDockWidget.h.


The documentation for this class was generated from the following file: