26 #ifndef __TERRALIB_VP_QT_INTERNAL_VECTORPROCESSINGOPERATIONDIALOG_H 27 #define __TERRALIB_VP_QT_INTERNAL_VECTORPROCESSINGOPERATIONDIALOG_H 29 #include "../Config.h" 32 #include "../../maptools/AbstractLayer.h" 33 #include "../OperationThreadManagerListener.h" 42 namespace Ui {
class VectorProcessingOperationDialogForm; }
44 class CurrentExecutionImpl;
63 class ProgressViewerTaskWidget;
69 class AbstractOperation;
70 class AbstractParameters;
71 class OperationThreadManager;
77 class InputDataAccessWidget;
78 class OutputDataAccessWidget;
79 class SpecificParametersWidget;
95 emit processingStateChangedSignal(newState);
100 emit processingFinishedSignal(result);
133 Ui::VectorProcessingOperationDialogForm* getForm()
const;
143 void init(
const std::string& operationName,
const std::list<te::map::AbstractLayerPtr>& layers);
147 std::list<te::map::AbstractLayerPtr> getOutputLayers();
149 void keyPressEvent(QKeyEvent* event);
153 void setDialogOnExecution(
bool onExecution);
163 void taskCancelled();
170 void onExecuteOperationToolButtonPressed();
172 void onDataAccessSelectionChanged();
176 std::unique_ptr<Ui::VectorProcessingOperationDialogForm>
m_ui;
190 std::unique_ptr< CurrentExecutionImpl >
m_run;
199 #endif // __TERRALIB_VP_QT_INTERNAL_VECTORPROCESSINGOPERATIONDIALOG_H #define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Implements a dialog used to execute a vector processing operation.
QtOperationThreadManagerListener m_processListener
A listener to the status of the execution.
std::unique_ptr< CurrentExecutionImpl > m_run
The implementation of one execution.
std::string m_operationName
The name of the operation to be created and executed.
Abstract class used to define an operation.
te::vp::qt::OutputDataAccessWidget * m_outputDataWidget
TerraLib Qt component used to get output data access.
void processingStateChanged(const te::vp::ProgressState &newState) override
void processingFinished(const te::vp::OperationResult &result) override
te::qt::widgets::ProgressViewerTaskWidget * m_progressViewer
TerraLib Qt component to represent a progress viewer.
Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations.
std::unique_ptr< Ui::VectorProcessingOperationDialogForm > m_ui
Pointer to Qt widget.
std::vector< te::da::DataAccessPtr > m_vecOverallOutputDataAccess
Stores all the outputs considering all the executions.
te::vp::qt::SpecificParametersWidget * m_specificParamsWidget
TerraLib Qt component with specific parameters for each operation.
te::vp::qt::InputDataAccessWidget * m_inputDataWidget
TerraLib Qt component used to get input data access.