This class is used to set input layer. More...
#include <InputLayerWidget.h>
Signals | |
| void | layerChanged () |
Public Member Functions | |
| Ui::InputLayerWidgetForm * | getForm () const |
| std::map< std::string, std::string > | getInfo () const |
| te::map::AbstractLayerPtr | getInputLayer () |
| std::string | getType () const |
| InputLayerWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | setInputLayer (te::map::AbstractLayerPtr layer) |
| void | setLayerList (std::list< te::map::AbstractLayerPtr > list) |
| ~InputLayerWidget () | |
Protected Slots | |
| void | onLayersComboBoxActivated (int index) |
| void | onSearchLayerToolButtonClicked () |
Private Attributes | |
| te::map::AbstractLayerPtr | m_layer |
| std::list< te::map::AbstractLayerPtr > | m_layerList |
| std::unique_ptr< Ui::InputLayerWidgetForm > | m_ui |
This class is used to set input layer.
Definition at line 56 of file InputLayerWidget.h.
| te::qt::widgets::InputLayerWidget::InputLayerWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Definition at line 42 of file InputLayerWidget.cpp.
References m_layer, m_ui, onLayersComboBoxActivated(), onSearchLayerToolButtonClicked(), and ~InputLayerWidget().
|
default |
Referenced by InputLayerWidget().
| Ui::InputLayerWidgetForm * te::qt::widgets::InputLayerWidget::getForm | ( | ) | const |
Definition at line 56 of file InputLayerWidget.cpp.
References m_ui.
| std::map< std::string, std::string > te::qt::widgets::InputLayerWidget::getInfo | ( | ) | const |
Definition at line 71 of file InputLayerWidget.cpp.
| te::map::AbstractLayerPtr te::qt::widgets::InputLayerWidget::getInputLayer | ( | ) |
Definition at line 61 of file InputLayerWidget.cpp.
References m_layer.
Referenced by te::qt::widgets::FilterDialogForm::layerChanged(), and te::qt::widgets::FilterDialogForm::onOkPushButtonClicked().
| std::string te::qt::widgets::InputLayerWidget::getType | ( | ) | const |
Definition at line 66 of file InputLayerWidget.cpp.
|
signal |
Referenced by onLayersComboBoxActivated(), and onSearchLayerToolButtonClicked().
|
protectedslot |
Definition at line 125 of file InputLayerWidget.cpp.
References layerChanged(), m_layer, and m_layerList.
Referenced by InputLayerWidget(), and setLayerList().
|
protectedslot |
Definition at line 104 of file InputLayerWidget.cpp.
References te::qt::widgets::LayerSearchWidget::filterOnlyByRaster(), te::qt::widgets::LayerSearchWidget::getSelecteds(), te::qt::widgets::LayerSearchDialog::getWidget(), layerChanged(), m_layer, m_layerList, m_ui, and te::qt::widgets::LayerSearchWidget::setList().
Referenced by InputLayerWidget().
| void te::qt::widgets::InputLayerWidget::setInputLayer | ( | te::map::AbstractLayerPtr | layer | ) |
Definition at line 80 of file InputLayerWidget.cpp.
References m_layer.
| void te::qt::widgets::InputLayerWidget::setLayerList | ( | std::list< te::map::AbstractLayerPtr > | list | ) |
Definition at line 85 of file InputLayerWidget.cpp.
References m_layerList, m_ui, and onLayersComboBoxActivated().
Referenced by te::qt::widgets::PostClassificationWidget::setList(), and te::qt::widgets::FilterDialogForm::setList().
|
private |
Definition at line 92 of file InputLayerWidget.h.
Referenced by getInputLayer(), InputLayerWidget(), onLayersComboBoxActivated(), onSearchLayerToolButtonClicked(), and setInputLayer().
|
private |
Definition at line 93 of file InputLayerWidget.h.
Referenced by onLayersComboBoxActivated(), onSearchLayerToolButtonClicked(), and setLayerList().
|
private |
Definition at line 90 of file InputLayerWidget.h.
Referenced by getForm(), InputLayerWidget(), onSearchLayerToolButtonClicked(), and setLayerList().