A dialog used to edit legend. More...
#include <TimeViewerEditLegendDialog.h>
Signals | |
void | applyPushButtonClicked () |
void | okPushButtonClicked () |
Public Member Functions | |
const std::vector< se::Rule * > & | getRules () const |
void | saveLegend (const std::string &path) |
void | setLayers (te::map::AbstractLayerPtr layer) |
Initializer Methods | |
Methods related to instantiation and destruction. | |
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... | |
Protected Slots | |
void | onApplyPushButtonClicked () |
void | onCancelPushButtonClicked () |
void | onColorBarChanged () |
void | onLoadPushButtonClicked () |
void | onOkPushButtonClicked () |
void | onSavePushButtonClicked () |
void | onSelectAllPushButtonClicked () |
void | onUnselectAllPushButtonClicked () |
Protected Member Functions | |
void | initialize () |
Private Member Functions | |
void | buildSymbolizer (std::string meanTitle="") |
void | getDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues) |
int | getGeometryType () |
void | listAtrributes () |
void | updateUi (bool loadColorBar=false) |
Private Attributes | |
te::color::ColorBar * | m_cb |
Terralib color bar objetc. More... | |
te::qt::widgets::ColorCatalogWidget * | m_colorBar |
Widget used to pick a color. More... | |
te::map::AbstractLayerPtr | m_layer |
TerraLib layer auto ptr. More... | |
std::vector< te::se::Rule * > | m_legend |
Rule items. More... | |
bool | m_manual |
std::unique_ptr< Ui::TimeViewerEditLegendDialog > | m_ui |
Dialog form. More... | |
A dialog used to edit legend.
Definition at line 81 of file TimeViewerEditLegendDialog.h.
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.
te::qt::plugins::tv::TimeViewerEditLegendDialog::~TimeViewerEditLegendDialog | ( | ) |
Destructor.
|
signal |
|
private |
|
private |
|
private |
const std::vector<se::Rule*>& te::qt::plugins::tv::TimeViewerEditLegendDialog::getRules | ( | ) | const |
|
protected |
|
private |
|
signal |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
void te::qt::plugins::tv::TimeViewerEditLegendDialog::saveLegend | ( | const std::string & | path | ) |
void te::qt::plugins::tv::TimeViewerEditLegendDialog::setLayers | ( | te::map::AbstractLayerPtr | layer | ) |
|
private |
|
private |
Terralib color bar objetc.
Definition at line 154 of file TimeViewerEditLegendDialog.h.
|
private |
Widget used to pick a color.
Definition at line 156 of file TimeViewerEditLegendDialog.h.
|
private |
TerraLib layer auto ptr.
Definition at line 150 of file TimeViewerEditLegendDialog.h.
|
private |
Rule items.
Definition at line 152 of file TimeViewerEditLegendDialog.h.
|
private |
Definition at line 158 of file TimeViewerEditLegendDialog.h.
|
private |
Dialog form.
Definition at line 148 of file TimeViewerEditLegendDialog.h.