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);
176 std::unique_ptr<Ui::VectorProcessingOperationDialogForm>
m_ui;
190 std::unique_ptr< CurrentExecutionImpl >
m_run;
Abstract class used to define an operation.
Abstract class used to define the input/ ouptut parameters for TerraAmazon Operations.
void processingFinishedSignal(const te::vp::OperationResult &result)
void processingStateChanged(const te::vp::ProgressState &newState) override
void processingFinished(const te::vp::OperationResult &result) override
void processingStateChangedSignal(const te::vp::ProgressState &newState)
Implements a dialog used to execute a vector processing operation.
QtOperationThreadManagerListener m_processListener
A listener to the status of the execution.
te::vp::qt::SpecificParametersWidget * m_specificParamsWidget
TerraLib Qt component with specific parameters for each operation.
te::vp::qt::OutputDataAccessWidget * m_outputDataWidget
TerraLib Qt component used to get output data access.
std::unique_ptr< Ui::VectorProcessingOperationDialogForm > m_ui
Pointer to Qt widget.
std::unique_ptr< CurrentExecutionImpl > m_run
The implementation of one execution.
VectorProcessingOperationDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Constructor.
void onDataAccessSelectionChanged()
void init(const std::string &operationName, const std::list< te::map::AbstractLayerPtr > &layers)
Inits the dialog by setting the the operation to be executed in interface and the list of available i...
te::vp::OperationResult getResult() const
void onProcessingFinished(const te::vp::OperationResult &result)
std::string m_operationName
The name of the operation to be created and executed.
void setDialogOnExecution(bool onExecution)
void keyPressEvent(QKeyEvent *event)
te::vp::AbstractParameters * createParametersForOperation(te::vp::AbstractOperation *operation, QString &errorMessage)
te::qt::widgets::ProgressViewerTaskWidget * m_progressViewer
TerraLib Qt component to represent a progress viewer.
~VectorProcessingOperationDialog()
Destructor.
std::vector< te::da::DataAccessPtr > m_vecOverallOutputDataAccess
Stores all the outputs considering all the executions.
std::list< te::map::AbstractLayerPtr > getOutputLayers()
te::vp::qt::InputDataAccessWidget * m_inputDataWidget
TerraLib Qt component used to get input data access.
void onExecuteOperationToolButtonPressed()
Interface tool button to execute the vectorial process operation.
Ui::VectorProcessingOperationDialogForm * getForm() const
Returns the internal widget.
void onProcessingStateChanged(const te::vp::ProgressState &newState)
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.