This class represents a component used to quickly select a layer. More...
#include <LayerSelectorWidget.h>
Public Types | |
| enum | FilterOptions { FILTER_BY_RASTER, FILTER_BY_GEOM, NO_FILTER } |
Public Slots | |
| void | onLayerComboBoxActivated (int index) |
| void | onLayerSearchToolButtonClicked () |
Signals | |
| void | layerSelected (te::map::AbstractLayerPtr l) |
Public Member Functions | |
| Ui::LayerSelectorWidgetForm * | getForm () const |
| LayerSelectorWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList, FilterOptions fo=NO_FILTER) |
| ~LayerSelectorWidget () | |
Protected Member Functions | |
| void | filterAll () |
| void | filterOnlyByGeom () |
| void | filterOnlyByRaster () |
Private Attributes | |
| std::list < te::map::AbstractLayerPtr > | m_layerList |
| std::auto_ptr< LayerSearchDialog > | m_layerSearchDlg |
| std::auto_ptr < Ui::LayerSelectorWidgetForm > | m_ui |
This class represents a component used to quickly select a layer.
Definition at line 57 of file LayerSelectorWidget.h.
| Enumerator | |
|---|---|
| FILTER_BY_RASTER | |
| FILTER_BY_GEOM | |
| NO_FILTER | |
Definition at line 63 of file LayerSelectorWidget.h.
| te::qt::widgets::LayerSelectorWidget::LayerSelectorWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 34 of file LayerSelectorWidget.cpp.
References m_layerSearchDlg, m_ui, onLayerComboBoxActivated(), and onLayerSearchToolButtonClicked().
| te::qt::widgets::LayerSelectorWidget::~LayerSelectorWidget | ( | ) |
Definition at line 52 of file LayerSelectorWidget.cpp.
|
protected |
Definition at line 119 of file LayerSelectorWidget.cpp.
|
protected |
Definition at line 100 of file LayerSelectorWidget.cpp.
|
protected |
Definition at line 81 of file LayerSelectorWidget.cpp.
| Ui::LayerSelectorWidgetForm * te::qt::widgets::LayerSelectorWidget::getForm | ( | ) | const |
Definition at line 56 of file LayerSelectorWidget.cpp.
|
signal |
|
slot |
Definition at line 166 of file LayerSelectorWidget.cpp.
Referenced by LayerSelectorWidget().
|
slot |
Definition at line 135 of file LayerSelectorWidget.cpp.
Referenced by LayerSelectorWidget().
| void te::qt::widgets::LayerSelectorWidget::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList, |
| FilterOptions | fo = NO_FILTER |
||
| ) |
Definition at line 61 of file LayerSelectorWidget.cpp.
|
private |
Definition at line 105 of file LayerSelectorWidget.h.
|
private |
Definition at line 103 of file LayerSelectorWidget.h.
Referenced by LayerSelectorWidget().
|
private |
Definition at line 102 of file LayerSelectorWidget.h.
Referenced by LayerSelectorWidget().