te::qt::widgets::RasterizationWizardPage Class Reference

#include <RasterizationWizardPage.h>

Inheritance diagram for te::qt::widgets::RasterizationWizardPage:
QWizardPage

Signals

void applyPushButtonClicked ()
 

Public Member Functions

std::string getAttributeName ()
 
te::da::DataSourceInfoPtr getDataSourceInfo ()
 
te::gm::Envelope getEnvelope ()
 
std::map< std::string, std::vector< int > > getInformations ()
 
std::string getRepositoryName ()
 
double getResX ()
 
double getResY ()
 
int getSrid ()
 
QTableWidget * getTableWidget ()
 
bool outputDataSourceToFile ()
 
 RasterizationWizardPage (QWidget *parent=0)
 
void saveLegend (const std::string &path)
 
void setLayer (te::map::AbstractLayerPtr layer)
 
void validate ()
 
 ~RasterizationWizardPage ()
 

Protected Slots

void onApplyPushButtonClicked ()
 
void onAttrComboBoxActivated (int idx)
 
void onColorBarChanged ()
 
void onLoadPushButtonClicked ()
 
void onResXLineEditEditingFinished ()
 
void onResYLineEditEditingFinished ()
 
void onSavePushButtonClicked ()
 
void onSelectAllPushButtonClicked ()
 
void onTableWidgetItemChanged (QTableWidgetItem *item)
 
void onTableWidgetItemDoubleClicked (QTableWidgetItem *item)
 
void onTargetFileToolButtonPressed ()
 
void onUnselectAllPushButtonClicked ()
 

Private Member Functions

void buildSymbolizer (std::string meanTitle="")
 
void createStringNullGroupingItem (int count)
 
void getDataAsString (std::vector< std::string > &vec, const std::string &attrName, int &nullValues)
 
std::vector< std::string > getDistinctClasses (const std::string &attrName)
 
int getGeometryType ()
 
void listAttributes ()
 
void updateUi (bool loadColorBar=false)
 Updates the widget form based on internal fill element. More...
 

Private Attributes

te::color::ColorBarm_cb
 Terralib color bar objetc. More...
 
te::qt::widgets::ColorCatalogWidgetm_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
 
te::da::DataSourceInfoPtr m_outputDatasource
 DataSource information. More...
 
bool m_toFile
 
std::unique_ptr< Ui::RasterizationWizardPageForm > m_ui
 

Detailed Description

Definition at line 62 of file RasterizationWizardPage.h.

Constructor & Destructor Documentation

te::qt::widgets::RasterizationWizardPage::~RasterizationWizardPage ( )

Definition at line 104 of file RasterizationWizardPage.cpp.

References te::common::FreeContents(), and m_legend.

Member Function Documentation

void te::qt::widgets::RasterizationWizardPage::applyPushButtonClicked ( )
signal
void te::qt::widgets::RasterizationWizardPage::createStringNullGroupingItem ( int  count)
private
std::string te::qt::widgets::RasterizationWizardPage::getAttributeName ( )

Definition at line 808 of file RasterizationWizardPage.cpp.

References m_ui.

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

Definition at line 412 of file RasterizationWizardPage.cpp.

References ds, and m_layer.

Referenced by onApplyPushButtonClicked().

te::da::DataSourceInfoPtr te::qt::widgets::RasterizationWizardPage::getDataSourceInfo ( )

Definition at line 745 of file RasterizationWizardPage.cpp.

References m_outputDatasource.

std::vector< std::string > te::qt::widgets::RasterizationWizardPage::getDistinctClasses ( const std::string &  attrName)
private
te::gm::Envelope te::qt::widgets::RasterizationWizardPage::getEnvelope ( )

Definition at line 760 of file RasterizationWizardPage.cpp.

References m_layer.

int te::qt::widgets::RasterizationWizardPage::getGeometryType ( )
private

Definition at line 635 of file RasterizationWizardPage.cpp.

References te::map::GetGeomType(), and m_layer.

Referenced by buildSymbolizer(), and createStringNullGroupingItem().

std::map< std::string, std::vector< int > > te::qt::widgets::RasterizationWizardPage::getInformations ( )

Definition at line 813 of file RasterizationWizardPage.cpp.

References m_ui.

std::string te::qt::widgets::RasterizationWizardPage::getRepositoryName ( )

Definition at line 800 of file RasterizationWizardPage.cpp.

References m_ui.

double te::qt::widgets::RasterizationWizardPage::getResX ( )

Definition at line 750 of file RasterizationWizardPage.cpp.

References m_ui.

double te::qt::widgets::RasterizationWizardPage::getResY ( )

Definition at line 755 of file RasterizationWizardPage.cpp.

References m_ui.

int te::qt::widgets::RasterizationWizardPage::getSrid ( )

Definition at line 766 of file RasterizationWizardPage.cpp.

References m_layer.

QTableWidget * te::qt::widgets::RasterizationWizardPage::getTableWidget ( )

Definition at line 899 of file RasterizationWizardPage.cpp.

References m_ui.

void te::qt::widgets::RasterizationWizardPage::listAttributes ( )
private
void te::qt::widgets::RasterizationWizardPage::onApplyPushButtonClicked ( )
protectedslot
void te::qt::widgets::RasterizationWizardPage::onAttrComboBoxActivated ( int  idx)
protectedslot

Definition at line 221 of file RasterizationWizardPage.cpp.

Referenced by RasterizationWizardPage().

void te::qt::widgets::RasterizationWizardPage::onColorBarChanged ( )
protectedslot

Definition at line 227 of file RasterizationWizardPage.cpp.

References buildSymbolizer(), m_layer, and updateUi().

Referenced by RasterizationWizardPage(), and updateUi().

void te::qt::widgets::RasterizationWizardPage::onLoadPushButtonClicked ( )
protectedslot

Definition at line 332 of file RasterizationWizardPage.cpp.

References m_ui, and p.

Referenced by RasterizationWizardPage().

void te::qt::widgets::RasterizationWizardPage::onResXLineEditEditingFinished ( )
protectedslot
void te::qt::widgets::RasterizationWizardPage::onResYLineEditEditingFinished ( )
protectedslot
void te::qt::widgets::RasterizationWizardPage::onSavePushButtonClicked ( )
protectedslot

Definition at line 404 of file RasterizationWizardPage.cpp.

References saveLegend().

Referenced by RasterizationWizardPage().

void te::qt::widgets::RasterizationWizardPage::onSelectAllPushButtonClicked ( )
protectedslot

Definition at line 681 of file RasterizationWizardPage.cpp.

References m_ui.

Referenced by RasterizationWizardPage().

void te::qt::widgets::RasterizationWizardPage::onTableWidgetItemChanged ( QTableWidgetItem *  item)
protectedslot

Definition at line 237 of file RasterizationWizardPage.cpp.

Referenced by updateUi().

void te::qt::widgets::RasterizationWizardPage::onTargetFileToolButtonPressed ( )
protectedslot
void te::qt::widgets::RasterizationWizardPage::onUnselectAllPushButtonClicked ( )
protectedslot

Definition at line 692 of file RasterizationWizardPage.cpp.

References m_ui.

Referenced by RasterizationWizardPage().

bool te::qt::widgets::RasterizationWizardPage::outputDataSourceToFile ( )

Definition at line 740 of file RasterizationWizardPage.cpp.

References m_toFile.

void te::qt::widgets::RasterizationWizardPage::saveLegend ( const std::string &  path)

Definition at line 904 of file RasterizationWizardPage.cpp.

References b, and m_ui.

Referenced by onSavePushButtonClicked().

void te::qt::widgets::RasterizationWizardPage::setLayer ( te::map::AbstractLayerPtr  layer)
void te::qt::widgets::RasterizationWizardPage::validate ( )

Definition at line 834 of file RasterizationWizardPage.cpp.

References m_layer, m_ui, and TE_TR.

Member Data Documentation

te::color::ColorBar* te::qt::widgets::RasterizationWizardPage::m_cb
private

Terralib color bar objetc.

Definition at line 151 of file RasterizationWizardPage.h.

Referenced by buildSymbolizer().

te::qt::widgets::ColorCatalogWidget* te::qt::widgets::RasterizationWizardPage::m_colorBar
private

Widget used to pick a color.

Definition at line 152 of file RasterizationWizardPage.h.

Referenced by buildSymbolizer(), RasterizationWizardPage(), and updateUi().

std::vector<te::se::Rule*> te::qt::widgets::RasterizationWizardPage::m_legend
private
bool te::qt::widgets::RasterizationWizardPage::m_manual
private
te::da::DataSourceInfoPtr te::qt::widgets::RasterizationWizardPage::m_outputDatasource
private

DataSource information.

Definition at line 156 of file RasterizationWizardPage.h.

Referenced by getDataSourceInfo().

bool te::qt::widgets::RasterizationWizardPage::m_toFile
private

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