26 #ifndef __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H
30 #include "../../../maptools/AbstractLayer.h"
31 #include "../Config.h"
34 #include <QTableWidgetItem>
43 namespace Ui {
class ColorMapWidgetForm; }
68 class ColorCatalogWidget;
104 std::string getCurrentBand();
112 void updateUi(
bool loadColorBar =
false);
114 void buildCategorizationMap();
116 void buildInterpolationMap();
118 void buildRecodingMap();
122 void onApplyPushButtonClicked();
124 void onBandSelected(QString value);
126 void onTableWidgetItemDoubleClicked(QTableWidgetItem* item);
128 void onImportPushButtonClicked();
132 void applyPushButtonClicked();
136 std::auto_ptr<Ui::ColorMapWidgetForm>
m_ui;
149 #endif // __TERRALIB_QT_WIDGETS_SE_INTERNAL_COLORMAPWIDGET_H
An abstract class for raster data strucutures.
It models the concept of color bar.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
A ColorMap defines either the colors of a pallette-type raster source or the mapping of numeric pixel...