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 () |
QueryDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
void | setCurrentLayer (te::map::AbstractLayerPtr layer) |
void | setList (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 63 of file QueryDialog.h.
te::qt::widgets::QueryDialog::QueryDialog | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Definition at line 50 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 80 of file QueryDialog.cpp.
te::da::Where * te::qt::widgets::QueryDialog::getWhere | ( | ) |
Definition at line 139 of file QueryDialog.cpp.
te::qt::widgets::WhereClauseWidget * te::qt::widgets::QueryDialog::getWidget | ( | ) |
Definition at line 84 of file QueryDialog.cpp.
|
signal |
This signal is emitted when the layer objects must be highlighted.
|
signal |
This signal is emitted when the layer selection changed.
|
protectedslot |
Definition at line 254 of file QueryDialog.cpp.
References te::da::Expression::clone(), te::da::GenerateOIDSet(), and te::da::Where::getExp().
Referenced by QueryDialog().
|
protectedslot |
Definition at line 144 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().
void te::qt::widgets::QueryDialog::setCurrentLayer | ( | te::map::AbstractLayerPtr | layer | ) |
Definition at line 117 of file QueryDialog.cpp.
Referenced by te::qt::af::BaseApplication::onQueryLayerTriggered().
void te::qt::widgets::QueryDialog::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
This method is used to set the list of layers.
Definition at line 89 of file QueryDialog.cpp.
Referenced by te::qt::af::BaseApplication::onQueryLayerTriggered().
|
private |
Definition at line 106 of file QueryDialog.h.
Referenced by QueryDialog().
|
private |
Definition at line 104 of file QueryDialog.h.
Referenced by QueryDialog().
|
private |
Definition at line 105 of file QueryDialog.h.
Referenced by QueryDialog().