26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_LEGEND_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_LEGEND_H
30 #include "../Config.h"
33 #include "../../../color/RGBAColor.h"
36 #include <QtGui/QDialog>
37 #include "ui_Legend.h"
45 class DataSourceTransactor;
49 namespace color {
class ColorBar; }
50 namespace map {
class LegendItem; }
64 Legend(te::qt::widgets::LayerItem* layerItem, QWidget* parent = 0);
66 const std::vector<te::map::LegendItem*>& getLegend()
const;
68 size_t getNumberOfValuesNotGrouped()
const;
71 void closeEvent(QCloseEvent* e);
74 void typeComboBoxActivated(
int index);
75 void applyPushButtonClicked();
76 void legendTableItemChanged(QTableWidgetItem*);
77 void okPushButtonClicked();
78 void cancelPushButtonClicked();
79 void helpPushButtonClicked();
82 void setTableContents();
101 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_LEGEND_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.
The concept of color bar.
te::da::DataSourceTransactor * m_t
std::vector< te::map::LegendItem * > m_legend
te::da::DataSetType * m_dataSetType
std::vector< te::color::RGBAColor > m_legendColors
te::color::ColorBar * m_colorBar
te::qt::widgets::LayerItem * m_layerItem
A class that models the description of a dataset.
size_t m_numValuesNotGrouped
std::map< int, std::string > m_changedItemLabel
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...