All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::WhereClauseWidget
m_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 ( )

Definition at line 81 of file QueryDialog.cpp.

Member Function Documentation

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.

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.

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.

Definition at line 170 of file QueryDialog.cpp.

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

This method is used to remove a layer.

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

Definition at line 195 of file QueryDialog.cpp.

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

This method is used to set current layer.

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

Definition at line 165 of file QueryDialog.cpp.

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
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.

Member Data Documentation

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

Definition at line 138 of file QueryDialog.h.

Referenced by QueryDialog().

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

Definition at line 136 of file QueryDialog.h.

Referenced by QueryDialog().

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

Definition at line 137 of file QueryDialog.h.

Referenced by QueryDialog().


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