te::mnt::LayerSearchDialog Class Reference

#include <LayerSearchDialog.h>

Inheritance diagram for te::mnt::LayerSearchDialog:
QDialog

Public Member Functions

void ApplyFilter ()
 
const QString & GetGeometryName (te::gm::GeomType t)
 
te::map::AbstractLayerPtr getLayer ()
 
int getLayerIndex ()
 
 LayerSearchDialog (QWidget *parent=0, Qt::WindowFlags f=0, bool mnt=true)
 
void setActive (const QList< mntType > &types)
 
void setLayers (std::list< te::map::AbstractLayerPtr > layers)
 
 ~LayerSearchDialog ()
 

Protected Slots

void onallEnabled (bool)
 
void onCancelPushButtonClicked ()
 
void oncontainsEnabled (bool)
 
void onendsEnabled (bool)
 
void onequalsEnabled (bool)
 
void ongridEnabled (bool)
 
void onisolinesEnabled (bool)
 
void onnameLineEditEditingFinished ()
 
void onOkPushButtonClicked ()
 
void onothersEnabled (bool)
 
void onsamplesEnabled (bool)
 
void onstartsEnabled (bool)
 
void ontinEnabled (bool)
 

Private Attributes

QStringList m_geom_name
 
QString m_geomfilter
 
std::list< te::map::AbstractLayerPtrm_layers
 List of layers. More...
 
Qt::MatchFlags m_matchflags
 
QString m_namefilter
 
te::map::AbstractLayerPtr m_selectLayer
 Selected Layer. More...
 
int m_selectlayer_index
 
std::unique_ptr< Ui::MNTLayerSearchDialogForm > m_ui
 

Detailed Description

Definition at line 51 of file mnt/qt/LayerSearchDialog.h.

Constructor & Destructor Documentation

te::mnt::LayerSearchDialog::~LayerSearchDialog ( )
default

Referenced by LayerSearchDialog().

Member Function Documentation

int te::mnt::LayerSearchDialog::getLayerIndex ( )
inline
void te::mnt::LayerSearchDialog::onallEnabled ( bool  flag)
protectedslot

Definition at line 314 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, m_geomfilter, and m_ui.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onCancelPushButtonClicked ( )
protectedslot

Definition at line 379 of file mnt/qt/LayerSearchDialog.cpp.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::oncontainsEnabled ( bool  )
protectedslot

Definition at line 266 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), and m_matchflags.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onendsEnabled ( bool  )
protectedslot

Definition at line 259 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), and m_matchflags.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onequalsEnabled ( bool  )
protectedslot

Definition at line 272 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), and m_matchflags.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::ongridEnabled ( bool  )
protectedslot

Definition at line 296 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, and m_geomfilter.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onisolinesEnabled ( bool  )
protectedslot

Definition at line 284 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, and m_geomfilter.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onnameLineEditEditingFinished ( )
protectedslot

Definition at line 278 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_namefilter, and m_ui.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onOkPushButtonClicked ( )
protectedslot

Definition at line 360 of file mnt/qt/LayerSearchDialog.cpp.

References m_layers, m_selectLayer, m_selectlayer_index, and m_ui.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onothersEnabled ( bool  )
protectedslot

Definition at line 308 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, and m_geomfilter.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onsamplesEnabled ( bool  )
protectedslot

Definition at line 290 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, and m_geomfilter.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::onstartsEnabled ( bool  )
protectedslot

Definition at line 253 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), and m_matchflags.

Referenced by LayerSearchDialog().

void te::mnt::LayerSearchDialog::ontinEnabled ( bool  )
protectedslot

Definition at line 302 of file mnt/qt/LayerSearchDialog.cpp.

References ApplyFilter(), m_geom_name, and m_geomfilter.

Referenced by LayerSearchDialog().

Member Data Documentation

QStringList te::mnt::LayerSearchDialog::m_geom_name
private
QString te::mnt::LayerSearchDialog::m_geomfilter
private
std::list<te::map::AbstractLayerPtr> te::mnt::LayerSearchDialog::m_layers
private

List of layers.

Definition at line 91 of file mnt/qt/LayerSearchDialog.h.

Referenced by onOkPushButtonClicked(), and setLayers().

Qt::MatchFlags te::mnt::LayerSearchDialog::m_matchflags
private
QString te::mnt::LayerSearchDialog::m_namefilter
private

Definition at line 93 of file mnt/qt/LayerSearchDialog.h.

Referenced by ApplyFilter(), and onnameLineEditEditingFinished().

te::map::AbstractLayerPtr te::mnt::LayerSearchDialog::m_selectLayer
private

Selected Layer.

Definition at line 97 of file mnt/qt/LayerSearchDialog.h.

Referenced by getLayer(), and onOkPushButtonClicked().

int te::mnt::LayerSearchDialog::m_selectlayer_index
private

Definition at line 98 of file mnt/qt/LayerSearchDialog.h.

Referenced by onOkPushButtonClicked().

std::unique_ptr<Ui::MNTLayerSearchDialogForm> te::mnt::LayerSearchDialog::m_ui
private

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