This file defines a class for a Query Dialog Dialog. More...
#include <QueryDialog.h>
Signals | |
void | highlightLayerObjects (const te::map::AbstractLayerPtr &layer, te::da::DataSet *dataset, const QColor &color) |
void | layerSelectedObjectsChanged (const te::map::AbstractLayerPtr &layer) |
Public Member Functions | |
te::da::Where * | getWhere () |
te::qt::widgets::WhereClauseWidget * | getWidget () |
virtual void | layerAdded (te::map::AbstractLayerPtr layer) |
This method is used to add a new layer. More... | |
virtual void | layerRemoved (te::map::AbstractLayerPtr layer) |
This method is used to remove a layer. More... | |
virtual void | layerSelected (te::map::AbstractLayerPtr layer) |
This method is used to set current layer. More... | |
QueryDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
std::string | setAliasName (std::string value) |
This method is used to set the alias name. More... | |
void | setCurrentLayer (te::map::AbstractLayerPtr layer) |
This method is used to set current layer. More... | |
void | setLayerList (std::list< te::map::AbstractLayerPtr > &layerList) |
This method is used to set the list of layers. More... | |
~QueryDialog () | |
Protected Slots | |
void | onApplyPushButtonClicked () |
void | onInputLayerActivated (QString value) |
Private Attributes | |
ColorPickerToolButton * | m_colorPicker |
std::auto_ptr< Ui::QueryDialogForm > | m_ui |
std::auto_ptr< te::qt::widgets::WhereClauseWidget > | m_whereClauseWidget |
This file defines a class for a Query Dialog Dialog.
Definition at line 64 of file QueryDialog.h.
te::qt::widgets::QueryDialog::QueryDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 51 of file QueryDialog.cpp.
References m_colorPicker, m_ui, m_whereClauseWidget, onApplyPushButtonClicked(), onInputLayerActivated(), and te::qt::widgets::ColorPickerToolButton::setColor().
te::qt::widgets::QueryDialog::~QueryDialog | ( | ) |
Definition at line 81 of file QueryDialog.cpp.
te::da::Where * te::qt::widgets::QueryDialog::getWhere | ( | ) |
Definition at line 160 of file QueryDialog.cpp.
te::qt::widgets::WhereClauseWidget * te::qt::widgets::QueryDialog::getWidget | ( | ) |
Definition at line 85 of file QueryDialog.cpp.
|
signal |
This signal is emitted when the layer objects must be highlighted.
|
virtual |
This method is used to add a new layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 170 of file QueryDialog.cpp.
|
virtual |
This method is used to remove a layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 195 of file QueryDialog.cpp.
|
virtual |
This method is used to set current layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 165 of file QueryDialog.cpp.
|
signal |
This signal is emitted when the layer selection changed.
|
protectedslot |
Definition at line 352 of file QueryDialog.cpp.
References te::da::Expression::clone(), te::da::GenerateOIDSet(), te::da::Where::getExp(), and te::da::ObjectIdSet::setExpression().
Referenced by QueryDialog().
|
protectedslot |
Definition at line 242 of file QueryDialog.cpp.
References te::dt::GEOMETRY_TYPE, te::da::QueryCapabilities::getArithmeticOperators(), te::da::QueryCapabilities::getComparsionOperators(), te::da::GetDataSource(), te::map::DataSetLayer::getDataSourceId(), te::da::QueryCapabilities::getLogicalOperators(), te::da::DataSourceCapabilities::getQueryCapabilities(), te::da::QueryCapabilities::getSpatialTopologicOperators(), te::da::FunctionNames::sm_ST_Contains, te::da::FunctionNames::sm_ST_Crosses, te::da::FunctionNames::sm_ST_Disjoint, te::da::FunctionNames::sm_ST_EnvelopeIntersects, te::da::FunctionNames::sm_ST_Equals, te::da::FunctionNames::sm_ST_Intersects, te::da::FunctionNames::sm_ST_Overlaps, te::da::FunctionNames::sm_ST_Touches, and te::da::FunctionNames::sm_ST_Within.
Referenced by QueryDialog().
std::string te::qt::widgets::QueryDialog::setAliasName | ( | std::string | value | ) |
This method is used to set the alias name.
Definition at line 142 of file QueryDialog.cpp.
void te::qt::widgets::QueryDialog::setCurrentLayer | ( | te::map::AbstractLayerPtr | layer | ) |
This method is used to set current layer.
Definition at line 120 of file QueryDialog.cpp.
void te::qt::widgets::QueryDialog::setLayerList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
This method is used to set the list of layers.
Definition at line 90 of file QueryDialog.cpp.
|
private |
Definition at line 138 of file QueryDialog.h.
Referenced by QueryDialog().
|
private |
Definition at line 136 of file QueryDialog.h.
Referenced by QueryDialog().
|
private |
Definition at line 137 of file QueryDialog.h.
Referenced by QueryDialog().