te::qt::widgets::QueryDialog Class Reference

This file defines a class for a Query Dialog Dialog. More...

#include <QueryDialog.h>

Inheritance diagram for te::qt::widgets::QueryDialog:
te::qt::widgets::InterfaceController

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::WheregetWhere ()
 
te::qt::widgets::WhereClauseWidgetgetWidget ()
 
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

ColorPickerToolButtonm_colorPicker
 
std::auto_ptr< Ui::QueryDialogForm > m_ui
 
std::auto_ptr< te::qt::widgets::WhereClauseWidgetm_whereClauseWidget
 

Detailed Description

This file defines a class for a Query Dialog Dialog.

Definition at line 64 of file QueryDialog.h.

Constructor & Destructor Documentation

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

Member Function Documentation

te::da::Where* te::qt::widgets::QueryDialog::getWhere ( )
te::qt::widgets::WhereClauseWidget* te::qt::widgets::QueryDialog::getWidget ( )
void te::qt::widgets::QueryDialog::highlightLayerObjects ( const te::map::AbstractLayerPtr layer,
te::da::DataSet dataset,
const QColor &  color 
)
signal

This signal is emitted when the layer objects must be highlighted.

virtual void te::qt::widgets::QueryDialog::layerAdded ( te::map::AbstractLayerPtr  layer)
virtual

This method is used to add a new layer.

Implements te::qt::widgets::InterfaceController.

virtual void te::qt::widgets::QueryDialog::layerRemoved ( te::map::AbstractLayerPtr  layer)
virtual

This method is used to remove a layer.

Implements te::qt::widgets::InterfaceController.

virtual void te::qt::widgets::QueryDialog::layerSelected ( te::map::AbstractLayerPtr  layer)
virtual

This method is used to set current layer.

Implements te::qt::widgets::InterfaceController.

void te::qt::widgets::QueryDialog::layerSelectedObjectsChanged ( const te::map::AbstractLayerPtr layer)
signal

This signal is emitted when the layer selection changed.

void te::qt::widgets::QueryDialog::onApplyPushButtonClicked ( )
protectedslot
void te::qt::widgets::QueryDialog::onInputLayerActivated ( QString  value)
protectedslot
std::string te::qt::widgets::QueryDialog::setAliasName ( std::string  value)

This method is used to set the alias name.

void te::qt::widgets::QueryDialog::setCurrentLayer ( te::map::AbstractLayerPtr  layer)

This method is used to set current layer.

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

This method is used to set the list of layers.

Member Data Documentation

ColorPickerToolButton* te::qt::widgets::QueryDialog::m_colorPicker
private

Definition at line 138 of file QueryDialog.h.

std::auto_ptr<Ui::QueryDialogForm> te::qt::widgets::QueryDialog::m_ui
private

Definition at line 136 of file QueryDialog.h.

std::auto_ptr<te::qt::widgets::WhereClauseWidget> te::qt::widgets::QueryDialog::m_whereClauseWidget
private

Definition at line 137 of file QueryDialog.h.


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