26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_GROUPINGWIDGET_H 
   27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_GROUPINGWIDGET_H 
   30 #include "../../../maptools/AbstractLayer.h" 
   31 #include "../Config.h" 
   37 #include <QTableWidgetItem> 
   41 namespace Ui { 
class GroupingWidgetForm; }
 
   46   namespace color { 
class ColorBar; }
 
   48   namespace da { 
class DataSetType; }
 
   61       class ColorCatalogWidget;
 
   93           std::auto_ptr<te::map::Grouping> getGrouping();
 
  101           void updateUi(
bool loadColorBar = 
false);
 
  103           void setDataSetType();
 
  109           void getDataAsDouble(std::vector<double>& vec, 
const std::string& attrName, 
const int& dataType, 
int& nullValues);
 
  111           void getDataAsString(std::vector<std::string>& vec, 
const std::string& attrName, 
int& nullValues);
 
  113           void createDoubleNullGroupingItem(
int count);
 
  115           void createStringNullGroupingItem(
int count);
 
  117           int getGeometryType();
 
  119           void buildSymbolizer(std::string meanTitle = 
"");
 
  121           void listAttributes();
 
  125           void onApplyPushButtonClicked();
 
  127           void onTypeComboBoxActivated(
int idx);
 
  129           void onAttrComboBoxActivated(
int idx);
 
  131           void onColorBarChanged();
 
  133           void onTableWidgetItemChanged(QTableWidgetItem* item);
 
  135           void onTableWidgetItemDoubleClicked(QTableWidgetItem* item);
 
  137           void onImportPushButtonClicked();
 
  141           void applyPushButtonClicked();
 
  146           std::auto_ptr<Ui::GroupingWidgetForm> 
m_ui;               
 
  161 #endif  // __TERRALIB_QT_WIDGETS_SE_INTERNAL_GROUPINGWIDGET_H 
This class contains the parameters needed for grouping the values of a Property. 
 
It models the concept of color bar. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr