Go to the documentation of this file.
27 #ifndef __TERRALIB_QT_PLUGINS_TIMEVIEWER_TIMEVIEWEREEDITLEGEND_H__
28 #define __TERRALIB_QT_PLUGINS_TIMEVIEWER_TIMEVIEWEREEDITLEGEND_H__
34 #include "../../../dataaccess/datasource/DataSourceInfo.h"
35 #include "../../../maptools/AbstractLayer.h"
40 #include <QTableWidgetItem>
48 class TimeViewerEditLegendDialog;
68 class ColorCatalogWidget;
108 void getDataAsString(std::vector<std::string>& vec,
const std::string& attrName,
int& nullValues);
148 std::unique_ptr<Ui::TimeViewerEditLegendDialog>
m_ui;
165 #endif //__TERRALIB_QT_PLUGINS_TIMEVIEWER_TIMEVIEWEREEDITLEGEND_H__
void onApplyPushButtonClicked()
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
void onOkPushButtonClicked()
te::map::AbstractLayerPtr m_layer
TerraLib layer auto ptr.
std::vector< te::se::Rule * > m_legend
Rule items.
TECOLOREXPORT te::color::ColorSchemeCatalog * loadColorBar(const std::string &jsonfile, const std::string &catalogName)
This file contains utility functions for color bar.
void saveLegend(const std::string &path)
void getDataAsString(std::vector< std::string > &vec, const std::string &attrName, int &nullValues)
void onSavePushButtonClicked()
std::unique_ptr< Ui::TimeViewerEditLegendDialog > m_ui
Dialog form.
te::qt::widgets::ColorCatalogWidget * m_colorBar
Widget used to pick a color.
te::color::ColorBar * m_cb
Terralib color bar objetc.
void okPushButtonClicked()
void onUnselectAllPushButtonClicked()
void onLoadPushButtonClicked()
void updateUi(bool loadColorBar=false)
A dialog used to edit legend.
void setLayers(te::map::AbstractLayerPtr layer)
~TimeViewerEditLegendDialog()
Destructor.
TimeViewerEditLegendDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Constructs a basic fill dialog which is a child of parent, with widget flags set to f.
It models the concept of color bar.
void applyPushButtonClicked()
Proxy configuration file for TerraView (see terraview_config.h).
void onCancelPushButtonClicked()
void buildSymbolizer(std::string meanTitle="")
const std::vector< se::Rule * > & getRules() const
void onSelectAllPushButtonClicked()