A widget used to build a grouping. More...
#include <GroupingWidget.h>
Public Slots | |
| void | onApplyPushButtonClicked () |
| void | onAttrComboBoxActivated (int idx) |
| void | onColorBarChanged () |
| void | onImportPushButtonClicked () |
| void | onTableWidgetItemChanged (QTableWidgetItem *item) |
| void | onTableWidgetItemDoubleClicked (QTableWidgetItem *item) |
| void | onTypeComboBoxActivated (int idx) |
Signals | |
| void | applyPushButtonClicked () |
Public Member Functions | |
| std::auto_ptr< te::map::Grouping > | getGrouping () |
| void | setLayers (te::map::AbstractLayerPtr selectedLayer, std::vector< te::map::AbstractLayerPtr > allLayers) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| GroupingWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a basic fill widget which is a child of parent, with widget flags set to f. More... | |
| ~GroupingWidget () | |
| Destructor. More... | |
Protected Member Functions | |
| void | buildSymbolizer (std::string meanTitle="") |
| void | createDoubleNullGroupingItem (int count) |
| void | createStringNullGroupingItem (int count) |
| void | getDataAsDouble (std::vector< double > &vec, const std::string &attrName, const int &dataType, int &nullValues) |
| void | getDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues) |
| int | getGeometryType () |
| void | getLinkedDataAsDouble (std::vector< double > &vec, const std::string &attrName, const int &dataType, int &nullValues) |
| void | getLinkedDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues) |
| void | initialize () |
| Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More... | |
| void | listAttributes () |
| void | setDataSetType () |
| void | setGrouping () |
| void | setGrouping (te::map::Grouping *grouping) |
| void | updateUi (bool loadColorBar=false) |
| Updates the widget form based on internal fill element. More... | |
Private Attributes | |
| te::color::ColorBar * | m_cb |
| Terralib color bar objetc. More... | |
| te::qt::widgets::ColorCatalogWidget * | m_colorBar |
| Widget used to pick a color. More... | |
| te::map::AbstractLayerPtr | m_layer |
| TerraLib layer auto ptr. More... | |
| std::vector< te::map::GroupingItem * > | m_legend |
| Grouping items. More... | |
| bool | m_manual |
| std::auto_ptr< Ui::GroupingWidgetForm > | m_ui |
| Widget form. More... | |
| te::qt::widgets::GroupingWidget::GroupingWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructs a basic fill widget which is a child of parent, with widget flags set to f.
| te::qt::widgets::GroupingWidget::~GroupingWidget | ( | ) |
Destructor.
|
signal |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| std::auto_ptr<te::map::Grouping> te::qt::widgets::GroupingWidget::getGrouping | ( | ) |
|
protected |
|
protected |
|
protected |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
|
protected |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
protected |
|
protected |
| void te::qt::widgets::GroupingWidget::setLayers | ( | te::map::AbstractLayerPtr | selectedLayer, |
| std::vector< te::map::AbstractLayerPtr > | allLayers | ||
| ) |
|
protected |
Updates the widget form based on internal fill element.
|
private |
Terralib color bar objetc.
Definition at line 154 of file GroupingWidget.h.
|
private |
Widget used to pick a color.
Definition at line 156 of file GroupingWidget.h.
|
private |
TerraLib layer auto ptr.
Definition at line 155 of file GroupingWidget.h.
|
private |
Grouping items.
Definition at line 157 of file GroupingWidget.h.
|
private |
Definition at line 159 of file GroupingWidget.h.
|
private |
Widget form.
Definition at line 152 of file GroupingWidget.h.