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 <QtGui/QTableWidgetItem>
38 #include <QtGui/QWidget>
41 namespace Ui {
class GroupingWidgetForm; }
46 namespace color {
class ColorBar; }
48 namespace da {
class DataSetType; }
96 std::auto_ptr<te::map::Grouping> getGrouping();
107 void setDataSetType();
111 void getDataAsDouble(std::vector<double>& vec,
const std::string& attrName,
const int& dataType,
int& nullValues);
113 void getDataAsString(std::vector<std::string>& vec,
const std::string& attrName,
int& nullValues);
115 void createDoubleNullGroupingItem(
int count);
117 void createStringNullGroupingItem(
int count);
119 int getGeometryType();
121 void buildSymbolizer(std::string meanTitle =
"");
123 void listAttributes();
128 void onApplyPushButtonClicked();
130 void onTypeComboBoxActivated(
int idx);
132 void onAttrComboBoxActivated(
int idx);
134 void onColorBarChanged();
136 void onTableWidgetItemChanged(QTableWidgetItem* item);
140 void applyPushButtonClicked();
145 std::auto_ptr<Ui::GroupingWidgetForm>
m_ui;
160 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_GROUPINGWIDGET_H
It models the concept of color bar.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
te::qt::widgets::colorbar::ColorBar * m_colorBar
Widget used to pick a color.
std::vector< te::map::GroupingItem * > m_legend
Grouping items.
It QWidget implementation of color bar.
std::auto_ptr< Ui::GroupingWidgetForm > m_ui
Widget form.
te::map::AbstractLayerPtr m_layer
TerraLib layer auto ptr.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
te::color::ColorBar * m_cb
Terralib color bar objetc.
A widget used to build a grouping.