#include <LayerSearchDialog.h>
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::AbstractLayerPtr > | m_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 |
Definition at line 51 of file mnt/qt/LayerSearchDialog.h.
| te::mnt::LayerSearchDialog::LayerSearchDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0, |
||
| bool | mnt = true |
||
| ) |
Definition at line 39 of file mnt/qt/LayerSearchDialog.cpp.
References m_geom_name, m_ui, onallEnabled(), onCancelPushButtonClicked(), oncontainsEnabled(), onendsEnabled(), onequalsEnabled(), ongridEnabled(), onisolinesEnabled(), onnameLineEditEditingFinished(), onOkPushButtonClicked(), onothersEnabled(), onsamplesEnabled(), onstartsEnabled(), ontinEnabled(), and ~LayerSearchDialog().
|
default |
Referenced by LayerSearchDialog().
| void te::mnt::LayerSearchDialog::ApplyFilter | ( | ) |
Definition at line 223 of file mnt/qt/LayerSearchDialog.cpp.
References m_geomfilter, m_matchflags, m_namefilter, and m_ui.
Referenced by onallEnabled(), oncontainsEnabled(), onendsEnabled(), onequalsEnabled(), ongridEnabled(), onisolinesEnabled(), onnameLineEditEditingFinished(), onothersEnabled(), onsamplesEnabled(), onstartsEnabled(), and ontinEnabled().
| const QString & te::mnt::LayerSearchDialog::GetGeometryName | ( | te::gm::GeomType | t | ) |
Definition at line 174 of file mnt/qt/LayerSearchDialog.cpp.
References te::gm::GeometryCollectionMType, te::gm::GeometryCollectionType, te::gm::GeometryCollectionZMType, te::gm::GeometryCollectionZType, te::gm::GeometryType, te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, m_geom_name, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, te::gm::PolyhedralSurfaceType, te::gm::PolyhedralSurfaceZType, te::gm::TINType, and te::gm::TINZType.
Referenced by setLayers().
| te::map::AbstractLayerPtr te::mnt::LayerSearchDialog::getLayer | ( | ) |
Definition at line 168 of file mnt/qt/LayerSearchDialog.cpp.
References m_selectLayer.
Referenced by te::mnt::TINGenerationDialog::onInputBreaklineToolButtonClicked(), te::mnt::TINGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::SlopeDialog::onInputLayerToolButtonClicked(), te::mnt::SmoothIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::CreateIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::ProfileDialog::onInputLayerToolButtonClicked(), te::mnt::VolumeDialog::onInputRasterToolButtonClicked(), te::mnt::TINGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::VolumeDialog::onInputVectorToolButtonClicked(), and te::mnt::MNTGenerationDialog::onlayerSearchToolButtonClicked().
|
inline |
Definition at line 64 of file mnt/qt/LayerSearchDialog.h.
References te::ado::GetGeometryName(), and slots.
Referenced by te::mnt::ImageGenerationDialog::onlayerSearchToolButtonClicked().
|
protectedslot |
Definition at line 314 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, m_geomfilter, and m_ui.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 379 of file mnt/qt/LayerSearchDialog.cpp.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 266 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), and m_matchflags.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 259 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), and m_matchflags.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 272 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), and m_matchflags.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 296 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, and m_geomfilter.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 284 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, and m_geomfilter.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 278 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_namefilter, and m_ui.
Referenced by LayerSearchDialog().
|
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().
|
protectedslot |
Definition at line 308 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, and m_geomfilter.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 290 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, and m_geomfilter.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 253 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), and m_matchflags.
Referenced by LayerSearchDialog().
|
protectedslot |
Definition at line 302 of file mnt/qt/LayerSearchDialog.cpp.
References ApplyFilter(), m_geom_name, and m_geomfilter.
Referenced by LayerSearchDialog().
| void te::mnt::LayerSearchDialog::setActive | ( | const QList< mntType > & | types | ) |
Definition at line 122 of file mnt/qt/LayerSearchDialog.cpp.
References te::mnt::GRID, te::mnt::ISOLINE, m_ui, te::mnt::OTHER, te::mnt::SAMPLE, and te::mnt::TIN.
Referenced by te::mnt::TINGenerationDialog::onInputBreaklineToolButtonClicked(), te::mnt::TINGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::SlopeDialog::onInputLayerToolButtonClicked(), te::mnt::SmoothIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::CreateIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::ProfileDialog::onInputLayerToolButtonClicked(), te::mnt::VolumeDialog::onInputRasterToolButtonClicked(), te::mnt::TINGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::VolumeDialog::onInputVectorToolButtonClicked(), and te::mnt::MNTGenerationDialog::onlayerSearchToolButtonClicked().
| void te::mnt::LayerSearchDialog::setLayers | ( | std::list< te::map::AbstractLayerPtr > | layers | ) |
Definition at line 78 of file mnt/qt/LayerSearchDialog.cpp.
References te::da::GetFirstGeomProperty(), GetGeometryName(), te::common::Singleton< DataSourceInfoManager >::getInstance(), m_geom_name, m_layers, and m_ui.
Referenced by te::mnt::TINGenerationDialog::onInputBreaklineToolButtonClicked(), te::mnt::TINGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputIsolinesToolButtonClicked(), te::mnt::SmoothIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::SlopeDialog::onInputLayerToolButtonClicked(), te::mnt::CreateIsolinesDialog::onInputLayerToolButtonClicked(), te::mnt::ProfileDialog::onInputLayerToolButtonClicked(), te::mnt::VolumeDialog::onInputRasterToolButtonClicked(), te::mnt::TINGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::MNTGenerationDialog::onInputSamplesToolButtonClicked(), te::mnt::VolumeDialog::onInputVectorToolButtonClicked(), te::mnt::MNTGenerationDialog::onlayerSearchToolButtonClicked(), and te::mnt::ImageGenerationDialog::onlayerSearchToolButtonClicked().
|
private |
Definition at line 92 of file mnt/qt/LayerSearchDialog.h.
Referenced by GetGeometryName(), LayerSearchDialog(), onallEnabled(), ongridEnabled(), onisolinesEnabled(), onothersEnabled(), onsamplesEnabled(), ontinEnabled(), and setLayers().
|
private |
Definition at line 94 of file mnt/qt/LayerSearchDialog.h.
Referenced by ApplyFilter(), onallEnabled(), ongridEnabled(), onisolinesEnabled(), onothersEnabled(), onsamplesEnabled(), and ontinEnabled().
|
private |
List of layers.
Definition at line 91 of file mnt/qt/LayerSearchDialog.h.
Referenced by onOkPushButtonClicked(), and setLayers().
|
private |
Definition at line 95 of file mnt/qt/LayerSearchDialog.h.
Referenced by ApplyFilter(), oncontainsEnabled(), onendsEnabled(), onequalsEnabled(), and onstartsEnabled().
|
private |
Definition at line 93 of file mnt/qt/LayerSearchDialog.h.
Referenced by ApplyFilter(), and onnameLineEditEditingFinished().
|
private |
Selected Layer.
Definition at line 97 of file mnt/qt/LayerSearchDialog.h.
Referenced by getLayer(), and onOkPushButtonClicked().
|
private |
Definition at line 98 of file mnt/qt/LayerSearchDialog.h.
Referenced by onOkPushButtonClicked().
|
private |
Definition at line 89 of file mnt/qt/LayerSearchDialog.h.
Referenced by ApplyFilter(), LayerSearchDialog(), onallEnabled(), onnameLineEditEditingFinished(), onOkPushButtonClicked(), setActive(), and setLayers().