te::qt::widgets::SpatialWhereClauseWidget Class Reference

#include <SpatialWhereClauseWidget.h>

Inheritance diagram for te::qt::widgets::SpatialWhereClauseWidget:

Public Slots

void onAddWhereClausePushButtonClicked ()
 
void onClearAllPushButtonClicked ()
 
void onComboBoxActivated (QString value)
 
void onRemoveWhereClausePushButtonClicked ()
 

Signals

void clausesChanged ()
 

Public Member Functions

void addLayer (te::map::AbstractLayerPtr layer)
 
void clear ()
 
te::da::WheregetWhere ()
 
std::string getWhereString ()
 
void removeLayer (te::map::AbstractLayerPtr layer)
 
void resetInterface ()
 
void setConnectorsList (const std::vector< std::string > &vec)
 
void setDataSource (const te::da::DataSourcePtr &ds)
 
void setFromItems (std::vector< std::pair< std::string, std::string > > vec)
 
void setGeomAttributeList (const std::vector< std::string > &vec, int srid)
 
void setLayerList (std::list< te::map::AbstractLayerPtr > &layerList)
 
void setSpatialOperatorsList (const std::vector< std::string > &vec)
 
 SpatialWhereClauseWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
 ~SpatialWhereClauseWidget ()
 

Protected Member Functions

void copyCombo (QComboBox *input, QComboBox *output, std::string curValue="")
 
te::da::ExpressiongetExpression (const QString &value, const std::string &propName)
 
QStringList getPropertyValues (std::string propertyName)
 

Private Attributes

std::map< QComboBox *, std::pair< int, int > > m_comboMap
 
QStringList m_connectorsList
 
int m_count
 
te::da::DataSourcePtr m_ds
 
std::vector< std::pair< std::string, std::string > > m_fromItems
 
std::map< int, ExpressionProperty * > m_mapExp
 
int m_srid
 
std::unique_ptr< Ui::SpatialWhereClauseWidgetForm > m_ui
 

Detailed Description

Definition at line 62 of file SpatialWhereClauseWidget.h.

Constructor & Destructor Documentation

◆ SpatialWhereClauseWidget()

te::qt::widgets::SpatialWhereClauseWidget::SpatialWhereClauseWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

◆ ~SpatialWhereClauseWidget()

te::qt::widgets::SpatialWhereClauseWidget::~SpatialWhereClauseWidget ( )

Member Function Documentation

◆ addLayer()

void te::qt::widgets::SpatialWhereClauseWidget::addLayer ( te::map::AbstractLayerPtr  layer)

◆ clausesChanged

void te::qt::widgets::SpatialWhereClauseWidget::clausesChanged ( )
signal

◆ clear()

void te::qt::widgets::SpatialWhereClauseWidget::clear ( )

◆ copyCombo()

void te::qt::widgets::SpatialWhereClauseWidget::copyCombo ( QComboBox *  input,
QComboBox *  output,
std::string  curValue = "" 
)
protected

◆ getExpression()

te::da::Expression* te::qt::widgets::SpatialWhereClauseWidget::getExpression ( const QString &  value,
const std::string &  propName 
)
protected

◆ getPropertyValues()

QStringList te::qt::widgets::SpatialWhereClauseWidget::getPropertyValues ( std::string  propertyName)
protected

◆ getWhere()

te::da::Where* te::qt::widgets::SpatialWhereClauseWidget::getWhere ( )

◆ getWhereString()

std::string te::qt::widgets::SpatialWhereClauseWidget::getWhereString ( )

◆ onAddWhereClausePushButtonClicked

void te::qt::widgets::SpatialWhereClauseWidget::onAddWhereClausePushButtonClicked ( )
slot

◆ onClearAllPushButtonClicked

void te::qt::widgets::SpatialWhereClauseWidget::onClearAllPushButtonClicked ( )
slot

◆ onComboBoxActivated

void te::qt::widgets::SpatialWhereClauseWidget::onComboBoxActivated ( QString  value)
slot

◆ onRemoveWhereClausePushButtonClicked

void te::qt::widgets::SpatialWhereClauseWidget::onRemoveWhereClausePushButtonClicked ( )
slot

◆ removeLayer()

void te::qt::widgets::SpatialWhereClauseWidget::removeLayer ( te::map::AbstractLayerPtr  layer)

◆ resetInterface()

void te::qt::widgets::SpatialWhereClauseWidget::resetInterface ( )

◆ setConnectorsList()

void te::qt::widgets::SpatialWhereClauseWidget::setConnectorsList ( const std::vector< std::string > &  vec)

◆ setDataSource()

void te::qt::widgets::SpatialWhereClauseWidget::setDataSource ( const te::da::DataSourcePtr ds)

◆ setFromItems()

void te::qt::widgets::SpatialWhereClauseWidget::setFromItems ( std::vector< std::pair< std::string, std::string > >  vec)

◆ setGeomAttributeList()

void te::qt::widgets::SpatialWhereClauseWidget::setGeomAttributeList ( const std::vector< std::string > &  vec,
int  srid 
)

◆ setLayerList()

void te::qt::widgets::SpatialWhereClauseWidget::setLayerList ( std::list< te::map::AbstractLayerPtr > &  layerList)

◆ setSpatialOperatorsList()

void te::qt::widgets::SpatialWhereClauseWidget::setSpatialOperatorsList ( const std::vector< std::string > &  vec)

Member Data Documentation

◆ m_comboMap

std::map< QComboBox*, std::pair<int, int> > te::qt::widgets::SpatialWhereClauseWidget::m_comboMap
private

Definition at line 131 of file SpatialWhereClauseWidget.h.

◆ m_connectorsList

QStringList te::qt::widgets::SpatialWhereClauseWidget::m_connectorsList
private

Definition at line 133 of file SpatialWhereClauseWidget.h.

◆ m_count

int te::qt::widgets::SpatialWhereClauseWidget::m_count
private

Definition at line 135 of file SpatialWhereClauseWidget.h.

◆ m_ds

te::da::DataSourcePtr te::qt::widgets::SpatialWhereClauseWidget::m_ds
private

Definition at line 125 of file SpatialWhereClauseWidget.h.

◆ m_fromItems

std::vector<std::pair<std::string, std::string> > te::qt::widgets::SpatialWhereClauseWidget::m_fromItems
private

Definition at line 127 of file SpatialWhereClauseWidget.h.

◆ m_mapExp

std::map<int, ExpressionProperty*> te::qt::widgets::SpatialWhereClauseWidget::m_mapExp
private

Definition at line 129 of file SpatialWhereClauseWidget.h.

◆ m_srid

int te::qt::widgets::SpatialWhereClauseWidget::m_srid
private

Definition at line 136 of file SpatialWhereClauseWidget.h.

◆ m_ui

std::unique_ptr<Ui::SpatialWhereClauseWidgetForm> te::qt::widgets::SpatialWhereClauseWidget::m_ui
private

Definition at line 123 of file SpatialWhereClauseWidget.h.


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