26 #ifndef __TERRALIB_PROCESS_QT_INTERNAL_TASKPROPERTYHANDLER_H 27 #define __TERRALIB_PROCESS_QT_INTERNAL_TASKPROPERTYHANDLER_H 29 #include "../../Config.h" 31 #include "../../ParameterDescriptor.h" 34 #include "../../../common/AbstractFactory.h" 38 #include <QtPropertyBrowser/QtProperty> 79 const std::string& getType()
const;
81 virtual void setDefaultProperties(QtProperty* parent);
83 virtual void setInputProperties(QtProperty* parent);
85 virtual void setOutputProperties(QtProperty* parent);
87 void valueChanged(QtProperty* p,
const QVariant& qVariant);
118 virtual void setPropertyData(
const te::dt::AbstractData* data, QtProperty* property,
int dataType) = 0;
170 #endif // __TERRALIB_PROCESS_QT_INTERNAL_TASKPROPERTYHANDLER_H This class defines the interface of abstract factories without initializing parameters.
ProcessManager * m_manager
std::string m_taskType
The type of the task. Used by the factory.
Wrapper function used to create taks. Used to avoid C++ to create multiple instances of the factory s...
A QObject class to handle with process management.
A handler to list task properties into a property browser.
A base class for values that can be retrieved from the data access module.
TEPROCESSEXPORT TaskPropertyHandler * CreateTaskPropertyHandler(const std::string &taskType, const std::string &taskId, ProcessManager *manager)
std::map< std::string, QtProperty * > m_propertyMap
A map between string property name and property objects.