This class is GUI used to define the arithmeticOp parameters for the RP arithmeticOp operation. More...
#include <LoadArithmeticOpDialog.h>
Public Slots | |
| void | onLayerComboBoxActivated (int index) |
| void | onOkPushButtonClicked () |
| void | onOperationComboBoxActivated (QString operation) |
| void | onRemoveOperation () |
Public Member Functions | |
| std::string | getExpression () |
| std::map< std::string, te::map::AbstractLayer * > | getLayers () |
| std::string | getOperation () |
| LoadArithmeticOpDialog (QWidget *parent=0, Qt::WindowFlags f=0) | |
| void | loadOperations () |
| void | setList (std::list< te::map::AbstractLayerPtr > &layerList) |
| void | setUserPath (std::string path) |
| ~LoadArithmeticOpDialog () | |
Protected Member Functions | |
| bool | isDefaultArithmeticOperation (const std::string &operation) |
Private Attributes | |
| std::vector< QComboBox * > | m_bandsComboBox |
| std::list< te::map::AbstractLayerPtr > | m_layerList |
| std::vector< te::map::AbstractLayerPtr > | m_layers |
| std::vector< QComboBox * > | m_layersComboBox |
| std::map< std::string, te::map::AbstractLayer * > | m_mapLayer |
| std::string | m_operation |
| std::string | m_operationExt |
| std::unique_ptr< Ui::LoadArithmeticOpDialogForm > | m_ui |
| std::string | m_userPath |
This class is GUI used to define the arithmeticOp parameters for the RP arithmeticOp operation.
Definition at line 58 of file LoadArithmeticOpDialog.h.
| te::qt::widgets::LoadArithmeticOpDialog::LoadArithmeticOpDialog | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
|
default |
Referenced by Q_DECLARE_METATYPE().
| std::string te::qt::widgets::LoadArithmeticOpDialog::getExpression | ( | ) |
Definition at line 128 of file LoadArithmeticOpDialog.cpp.
References m_operationExt.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked().
| std::map< std::string, te::map::AbstractLayer * > te::qt::widgets::LoadArithmeticOpDialog::getLayers | ( | ) |
Definition at line 133 of file LoadArithmeticOpDialog.cpp.
References m_mapLayer.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked().
| std::string te::qt::widgets::LoadArithmeticOpDialog::getOperation | ( | ) |
Definition at line 138 of file LoadArithmeticOpDialog.cpp.
References m_operation.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked().
|
protected |
Definition at line 425 of file LoadArithmeticOpDialog.cpp.
References te::common::Convert2UCase(), file(), te::core::FindInTerraLibPath(), and TE_TR.
Referenced by onRemoveOperation().
| void te::qt::widgets::LoadArithmeticOpDialog::loadOperations | ( | ) |
Definition at line 70 of file LoadArithmeticOpDialog.cpp.
References m_ui, m_userPath, and TE_TR.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked(), and onRemoveOperation().
|
slot |
Definition at line 257 of file LoadArithmeticOpDialog.cpp.
References te::common::Convert2String(), ds, te::da::GetFirstPropertyPos(), m_bandsComboBox, m_layers, m_layersComboBox, m_ui, and te::dt::RASTER_TYPE.
Referenced by onOperationComboBoxActivated().
|
slot |
Definition at line 353 of file LoadArithmeticOpDialog.cpp.
References te::common::Convert2LCase(), m_bandsComboBox, m_layers, m_layersComboBox, m_mapLayer, m_operation, m_operationExt, and m_ui.
|
slot |
Definition at line 143 of file LoadArithmeticOpDialog.cpp.
References b, te::common::Convert2LCase(), te::common::Convert2String(), ds, te::da::GetFirstPropertyPos(), m_bandsComboBox, m_layerList, m_layers, m_layersComboBox, m_ui, onLayerComboBoxActivated(), and te::dt::RASTER_TYPE.
|
slot |
Definition at line 292 of file LoadArithmeticOpDialog.cpp.
References te::common::Convert2UCase(), file(), isDefaultArithmeticOperation(), loadOperations(), m_ui, m_userPath, and te::common::Exception::what().
| void te::qt::widgets::LoadArithmeticOpDialog::setList | ( | std::list< te::map::AbstractLayerPtr > & | layerList | ) |
Definition at line 118 of file LoadArithmeticOpDialog.cpp.
References m_layerList.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked().
| void te::qt::widgets::LoadArithmeticOpDialog::setUserPath | ( | std::string | path | ) |
Definition at line 123 of file LoadArithmeticOpDialog.cpp.
References m_userPath.
Referenced by te::qt::widgets::ArithmeticOpDialogForm::onLoadPushButtonClicked().
|
private |
Definition at line 108 of file LoadArithmeticOpDialog.h.
Referenced by onLayerComboBoxActivated(), onOkPushButtonClicked(), and onOperationComboBoxActivated().
|
private |
Definition at line 100 of file LoadArithmeticOpDialog.h.
Referenced by onOperationComboBoxActivated(), and setList().
|
private |
Definition at line 102 of file LoadArithmeticOpDialog.h.
Referenced by onLayerComboBoxActivated(), onOkPushButtonClicked(), and onOperationComboBoxActivated().
|
private |
Definition at line 106 of file LoadArithmeticOpDialog.h.
Referenced by onLayerComboBoxActivated(), onOkPushButtonClicked(), and onOperationComboBoxActivated().
|
private |
Definition at line 104 of file LoadArithmeticOpDialog.h.
Referenced by getLayers(), and onOkPushButtonClicked().
|
private |
Definition at line 112 of file LoadArithmeticOpDialog.h.
Referenced by getOperation(), and onOkPushButtonClicked().
|
private |
Definition at line 110 of file LoadArithmeticOpDialog.h.
Referenced by getExpression(), and onOkPushButtonClicked().
|
private |
Definition at line 98 of file LoadArithmeticOpDialog.h.
Referenced by loadOperations(), onLayerComboBoxActivated(), onOkPushButtonClicked(), onOperationComboBoxActivated(), and onRemoveOperation().
|
private |
Definition at line 114 of file LoadArithmeticOpDialog.h.
Referenced by loadOperations(), onRemoveOperation(), and setUserPath().