27#ifndef __TERRALIB_QT_PLUGINS_TIMEVIEWER_TIMEVIEWEREEDITLEGEND_H__
28#define __TERRALIB_QT_PLUGINS_TIMEVIEWER_TIMEVIEWEREEDITLEGEND_H__
40#include <QTableWidgetItem>
48 class TimeViewerEditLegendDialog;
108 void getDataAsString(std::vector<std::string>& vec,
const std::string& attrName,
int& nullValues);
148 std::unique_ptr<Ui::TimeViewerEditLegendDialog>
m_ui;
This is the base class for Layers.
A conteiner class for keeping information about a data source.
It models the concept of color bar.
te::map::AbstractLayerPtr m_layer
TerraLib layer auto ptr.
void setLayers(te::map::AbstractLayerPtr layer)
void onApplyPushButtonClicked()
void okPushButtonClicked()
te::qt::widgets::ColorCatalogWidget * m_colorBar
Widget used to pick a color.
void onOkPushButtonClicked()
te::color::ColorBar * m_cb
Terralib color bar objetc.
void onUnselectAllPushButtonClicked()
std::unique_ptr< Ui::TimeViewerEditLegendDialog > m_ui
Dialog form.
void onCancelPushButtonClicked()
void onLoadPushButtonClicked()
void buildSymbolizer(std::string meanTitle="")
~TimeViewerEditLegendDialog()
Destructor.
const std::vector< se::Rule * > & getRules() const
void onSelectAllPushButtonClicked()
void onSavePushButtonClicked()
void applyPushButtonClicked()
void getDataAsString(std::vector< std::string > &vec, const std::string &attrName, int &nullValues)
void updateUi(bool loadColorBar=false)
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.
void saveLegend(const std::string &path)
std::vector< te::se::Rule * > m_legend
Rule items.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
Namespace for the Color Model of TerraLib.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
Namespace for the Qt module of TerraLib.
Namespace for the Symbology Encoding module of TerraLib.