te::qt::plugins::tv::TimeViewerEditLegendDialog Class Reference

A dialog used to edit legend. More...

#include <TimeViewerEditLegendDialog.h>

Inheritance diagram for te::qt::plugins::tv::TimeViewerEditLegendDialog:

Initializer Methods

Methods related to instantiation and destruction.

std::unique_ptr< Ui::TimeViewerEditLegendDialog > m_ui
 Dialog form. More...
 
te::map::AbstractLayerPtr m_layer
 TerraLib layer auto ptr. More...
 
std::vector< te::se::Rule * > m_legend
 Rule items. More...
 
te::color::ColorBarm_cb
 Terralib color bar objetc. More...
 
te::qt::widgets::ColorCatalogWidgetm_colorBar
 Widget used to pick a color. More...
 
bool m_manual
 
 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. More...
 
 ~TimeViewerEditLegendDialog ()
 Destructor. More...
 
void setLayers (te::map::AbstractLayerPtr layer)
 
const std::vector< se::Rule * > & getRules () const
 
void saveLegend (const std::string &path)
 
void getDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues)
 
void buildSymbolizer (std::string meanTitle="")
 
void listAtrributes ()
 
int getGeometryType ()
 
void updateUi (bool loadColorBar=false)
 
void initialize ()
 
void onApplyPushButtonClicked ()
 
void onColorBarChanged ()
 
void onCancelPushButtonClicked ()
 
void onOkPushButtonClicked ()
 
void onLoadPushButtonClicked ()
 
void onSavePushButtonClicked ()
 
void onSelectAllPushButtonClicked ()
 
void onUnselectAllPushButtonClicked ()
 
void applyPushButtonClicked ()
 
void okPushButtonClicked ()
 

Detailed Description

A dialog used to edit legend.

Definition at line 81 of file TimeViewerEditLegendDialog.h.

Constructor & Destructor Documentation

◆ TimeViewerEditLegendDialog()

te::qt::plugins::tv::TimeViewerEditLegendDialog::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.

◆ ~TimeViewerEditLegendDialog()

te::qt::plugins::tv::TimeViewerEditLegendDialog::~TimeViewerEditLegendDialog ( )

Destructor.

Member Function Documentation

◆ applyPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::applyPushButtonClicked ( )
signal

◆ buildSymbolizer()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::buildSymbolizer ( std::string  meanTitle = "")
private

◆ getDataAsString()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::getDataAsString ( std::vector< std::string > &  vec,
const std::string &  attrName,
int &  nullValues 
)
private

◆ getGeometryType()

int te::qt::plugins::tv::TimeViewerEditLegendDialog::getGeometryType ( )
private

◆ getRules()

const std::vector<se::Rule*>& te::qt::plugins::tv::TimeViewerEditLegendDialog::getRules ( ) const

◆ initialize()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::initialize ( )
protected

◆ listAtrributes()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::listAtrributes ( )
private

◆ okPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::okPushButtonClicked ( )
signal

◆ onApplyPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onApplyPushButtonClicked ( )
protectedslot

◆ onCancelPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onCancelPushButtonClicked ( )
protectedslot

◆ onColorBarChanged

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onColorBarChanged ( )
protectedslot

◆ onLoadPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onLoadPushButtonClicked ( )
protectedslot

◆ onOkPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onOkPushButtonClicked ( )
protectedslot

◆ onSavePushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onSavePushButtonClicked ( )
protectedslot

◆ onSelectAllPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onSelectAllPushButtonClicked ( )
protectedslot

◆ onUnselectAllPushButtonClicked

void te::qt::plugins::tv::TimeViewerEditLegendDialog::onUnselectAllPushButtonClicked ( )
protectedslot

◆ saveLegend()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::saveLegend ( const std::string &  path)

◆ setLayers()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::setLayers ( te::map::AbstractLayerPtr  layer)

◆ updateUi()

void te::qt::plugins::tv::TimeViewerEditLegendDialog::updateUi ( bool  loadColorBar = false)
private

Member Data Documentation

◆ m_cb

te::color::ColorBar* te::qt::plugins::tv::TimeViewerEditLegendDialog::m_cb
private

Terralib color bar objetc.

Definition at line 154 of file TimeViewerEditLegendDialog.h.

◆ m_colorBar

te::qt::widgets::ColorCatalogWidget* te::qt::plugins::tv::TimeViewerEditLegendDialog::m_colorBar
private

Widget used to pick a color.

Definition at line 156 of file TimeViewerEditLegendDialog.h.

◆ m_layer

te::map::AbstractLayerPtr te::qt::plugins::tv::TimeViewerEditLegendDialog::m_layer
private

TerraLib layer auto ptr.

Definition at line 150 of file TimeViewerEditLegendDialog.h.

◆ m_legend

std::vector<te::se::Rule*> te::qt::plugins::tv::TimeViewerEditLegendDialog::m_legend
private

Rule items.

Definition at line 152 of file TimeViewerEditLegendDialog.h.

◆ m_manual

bool te::qt::plugins::tv::TimeViewerEditLegendDialog::m_manual
private

Definition at line 158 of file TimeViewerEditLegendDialog.h.

◆ m_ui

std::unique_ptr<Ui::TimeViewerEditLegendDialog> te::qt::plugins::tv::TimeViewerEditLegendDialog::m_ui
private

Dialog form.

Definition at line 148 of file TimeViewerEditLegendDialog.h.


The documentation for this class was generated from the following file: