A widget used to build a grouping.  
 More...
#include <GroupingWidget.h>
 | 
Methods related to instantiation and destruction.  
 | 
| std::unique_ptr< Ui::GroupingWidgetForm >  | m_ui | 
|   | Widget form.  More...
  | 
|   | 
| te::color::ColorBar *  | m_cb | 
|   | Terralib color bar objetc.  More...
  | 
|   | 
| te::map::AbstractLayerPtr  | m_layer | 
|   | TerraLib layer auto ptr.  More...
  | 
|   | 
| te::qt::widgets::ColorCatalogWidget *  | m_colorBar | 
|   | Widget used to pick a color.  More...
  | 
|   | 
| std::vector< te::se::Rule * >  | m_rules | 
|   | Grouping items.  More...
  | 
|   | 
| te::se::Style *  | m_style | 
|   | Current style from input layer.  More...
  | 
|   | 
| bool  | m_manual | 
|   | 
|   | 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...
  | 
|   | 
| void  | setLayers (te::map::AbstractLayerPtr selectedLayer, std::vector< te::map::AbstractLayerPtr > allLayers) | 
|   | 
| std::unique_ptr< te::map::Grouping >  | getGrouping () | 
|   | 
| void  | updateStyle () | 
|   | 
| void  | initialize () | 
|   | Internal method to initialize the widget (e.g.: color, combos, icons, etc.)  More...
  | 
|   | 
| void  | updateUi (bool loadColorBar=false) | 
|   | Updates the widget form based on internal fill element.  More...
  | 
|   | 
| void  | setDataSetType () | 
|   | 
| void  | setGrouping () | 
|   | 
| void  | setGrouping (te::map::Grouping *grouping, te::se::Style *style) | 
|   | 
| void  | getDataAsDouble (std::vector< double > &vec, const std::string &attrName, const int &dataType, int &nullValues) | 
|   | 
| void  | getLinkedDataAsDouble (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) | 
|   | 
| void  | getLinkedDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues) | 
|   | 
| void  | createDoubleNullGroupingItem (int count) | 
|   | 
| void  | createStringNullGroupingItem (int count) | 
|   | 
| int  | getGeometryType () | 
|   | 
| void  | buildSymbolizer (std::string meanTitle="") | 
|   | 
| void  | listAttributes () | 
|   | 
| void  | saveLegend (const std::string &path) | 
|   | 
| void  | onApplyPushButtonClicked () | 
|   | 
| void  | onTypeComboBoxActivated (int idx) | 
|   | 
| void  | onAttrComboBoxActivated (int idx) | 
|   | 
| void  | onColorBarChanged () | 
|   | 
| void  | onTableWidgetItemChanged (QTableWidgetItem *item) | 
|   | 
| void  | onTableWidgetItemDoubleClicked (QTableWidgetItem *item) | 
|   | 
| void  | onImportPushButtonClicked () | 
|   | 
| void  | applyPushButtonClicked () | 
|   | 
A widget used to build a grouping. 
- See also
 
Definition at line 74 of file GroupingWidget.h.
 
◆ GroupingWidget()
      
        
          | 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. 
 
 
◆ ~GroupingWidget()
      
        
          | te::qt::widgets::GroupingWidget::~GroupingWidget  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ applyPushButtonClicked
  
  
      
        
          | void te::qt::widgets::GroupingWidget::applyPushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
signal   | 
  
 
 
◆ buildSymbolizer()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::buildSymbolizer  | 
          ( | 
          std::string  | 
          meanTitle = "" | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ createDoubleNullGroupingItem()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::createDoubleNullGroupingItem  | 
          ( | 
          int  | 
          count | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ createStringNullGroupingItem()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::createStringNullGroupingItem  | 
          ( | 
          int  | 
          count | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ getDataAsDouble()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::getDataAsDouble  | 
          ( | 
          std::vector< double > &  | 
          vec,  | 
         
        
           | 
           | 
          const std::string &  | 
          attrName,  | 
         
        
           | 
           | 
          const int &  | 
          dataType,  | 
         
        
           | 
           | 
          int &  | 
          nullValues  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ getDataAsString()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::getDataAsString  | 
          ( | 
          std::vector< std::string > &  | 
          vec,  | 
         
        
           | 
           | 
          const std::string &  | 
          attrName,  | 
         
        
           | 
           | 
          int &  | 
          nullValues  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ getGeometryType()
  
  
      
        
          | int te::qt::widgets::GroupingWidget::getGeometryType  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ getGrouping()
◆ getLinkedDataAsDouble()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::getLinkedDataAsDouble  | 
          ( | 
          std::vector< double > &  | 
          vec,  | 
         
        
           | 
           | 
          const std::string &  | 
          attrName,  | 
         
        
           | 
           | 
          const int &  | 
          dataType,  | 
         
        
           | 
           | 
          int &  | 
          nullValues  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ getLinkedDataAsString()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::getLinkedDataAsString  | 
          ( | 
          std::vector< std::string > &  | 
          vec,  | 
         
        
           | 
           | 
          const std::string &  | 
          attrName,  | 
         
        
           | 
           | 
          int &  | 
          nullValues  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ initialize()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Internal method to initialize the widget (e.g.: color, combos, icons, etc.) 
 
 
◆ listAttributes()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::listAttributes  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ onApplyPushButtonClicked
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onApplyPushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onAttrComboBoxActivated
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onAttrComboBoxActivated  | 
          ( | 
          int  | 
          idx | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onColorBarChanged
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onColorBarChanged  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onImportPushButtonClicked
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onImportPushButtonClicked  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onTableWidgetItemChanged
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onTableWidgetItemChanged  | 
          ( | 
          QTableWidgetItem *  | 
          item | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onTableWidgetItemDoubleClicked
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onTableWidgetItemDoubleClicked  | 
          ( | 
          QTableWidgetItem *  | 
          item | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ onTypeComboBoxActivated
  
  
      
        
          | void te::qt::widgets::GroupingWidget::onTypeComboBoxActivated  | 
          ( | 
          int  | 
          idx | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ saveLegend()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::saveLegend  | 
          ( | 
          const std::string &  | 
          path | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setDataSetType()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::setDataSetType  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setGrouping() [1/2]
  
  
      
        
          | void te::qt::widgets::GroupingWidget::setGrouping  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setGrouping() [2/2]
◆ setLayers()
◆ updateStyle()
      
        
          | void te::qt::widgets::GroupingWidget::updateStyle  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ updateUi()
  
  
      
        
          | void te::qt::widgets::GroupingWidget::updateUi  | 
          ( | 
          bool  | 
          loadColorBar = false | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Updates the widget form based on internal fill element. 
 
 
◆ m_cb
◆ m_colorBar
◆ m_layer
◆ m_manual
  
  
      
        
          | bool te::qt::widgets::GroupingWidget::m_manual | 
         
       
   | 
  
private   | 
  
 
 
◆ m_rules
  
  
      
        
          | std::vector<te::se::Rule*> te::qt::widgets::GroupingWidget::m_rules | 
         
       
   | 
  
private   | 
  
 
 
◆ m_style
◆ m_ui
  
  
      
        
          | std::unique_ptr<Ui::GroupingWidgetForm> te::qt::widgets::GroupingWidget::m_ui | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/se/GroupingWidget.h