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;
62 class ProgressViewerTaskWidget;
68 class AbstractOperation;
69 class OperationThreadManager;
75 class InputDataAccessWidget;
76 class OutputDataAccessWidget;
77 class SpecificParametersWidget;
93 emit processingStateChangedSignal(newState);
98 emit processingFinishedSignal(result);
131 Ui::VectorProcessingOperationDialogForm* getForm()
const;
141 void init(
const std::string& operationName,
const std::list<te::map::AbstractLayerPtr>& layers);
145 std::list<te::map::AbstractLayerPtr> getOutputLayers();
147 void keyPressEvent(QKeyEvent* event);
151 void setDialogOnExecution(
bool onExecution);
159 void taskCancelled();
166 void onExecuteOperationToolButtonPressed();
170 std::unique_ptr<Ui::VectorProcessingOperationDialogForm>
m_ui;
184 std::unique_ptr< CurrentExecutionImpl >
m_run;
193 #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.
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.
std::unique_ptr< Ui::VectorProcessingOperationDialogForm > m_ui
Pointer to Qt widget.
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.
std::vector< std::unique_ptr< te::da::DataAccess > > m_vecOverallOutputDataAccess
Stores all the outputs considering all the executions.