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... | |
void | triggered (te::qt::af::evt::Event *e) |
Public Member Functions | |
DataSetTableDockWidget (QWidget *parent=0) | |
Constructor. More... | |
te::map::AbstractLayer * | getLayer () 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::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. |
te::qt::af::DataSetTableDockWidget::~DataSetTableDockWidget | ( | ) |
Destructor.
|
protectedslot |
Broadcasts the creation of a new chartWidget to the application.
chartWidget | The widget containing the generated chart. |
|
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. |
te::map::AbstractLayer* te::qt::af::DataSetTableDockWidget::getLayer | ( | ) | const |
Returns the layer being used.
|
protectedslot |
Used for capture events sent by application framework.
|
protectedslot |
Removes the oids from the list of selected in the Layer.
oids | Set of objects ids to be removed. |
|
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. |
void te::qt::af::DataSetTableDockWidget::setHighlightColor | ( | QColor | color | ) |
Defines the color to be used as Highlight.
color | the 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.
layer | The layer to be showed. |
editable | True to allow layer editions. |
|
signal |
|
protected |
Layer being visualized.
Definition at line 173 of file DataSetTableDockWidget.h.
|
protected |
The table view.
Definition at line 171 of file DataSetTableDockWidget.h.