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;
   102           const std::vector<se::Rule*>& 
getRules() 
const;
   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 onUnselectAllPushButtonClicked()
 
te::qt::widgets::ColorCatalogWidget * m_colorBar
Widget used to pick a color. 
 
~TimeViewerEditLegendDialog()
Destructor. 
 
void updateUi(bool loadColorBar=false)
 
te::color::ColorBar * m_cb
Terralib color bar objetc. 
 
void saveLegend(const std::string &path)
 
void onCancelPushButtonClicked()
 
void getDataAsString(std::vector< std::string > &vec, const std::string &attrName, int &nullValues)
 
TECOLOREXPORT te::color::ColorSchemeCatalog * loadColorBar(const std::string &jsonfile, const std::string &catalogName)
This file contains utility functions for color bar. 
 
A dialog used to edit legend. 
 
void onSelectAllPushButtonClicked()
 
void buildSymbolizer(std::string meanTitle="")
 
void onApplyPushButtonClicked()
 
const std::vector< se::Rule * > & getRules() const
 
void onOkPushButtonClicked()
 
void onLoadPushButtonClicked()
 
void okPushButtonClicked()
 
It models the concept of color bar. 
 
void onSavePushButtonClicked()
 
std::unique_ptr< Ui::TimeViewerEditLegendDialog > m_ui
Dialog form. 
 
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...
 
te::map::AbstractLayerPtr m_layer
TerraLib layer auto ptr. 
 
void applyPushButtonClicked()
 
std::vector< te::se::Rule * > m_legend
Rule items. 
 
void setLayers(te::map::AbstractLayerPtr layer)
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr