26 #ifndef __TERRALIB_PROCESS_QT_INTERNAL_TASKPROPERTYITEM_H
27 #define __TERRALIB_PROCESS_QT_INTERNAL_TASKPROPERTYITEM_H
29 #include "../../Config.h"
30 #include "../../ParameterDescriptor.h"
33 #include "../../../qt/widgets/propertybrowser/AbstractPropertyItem.h"
40 #include <QtPropertyBrowser/QtProperty>
54 class TaskPropertyItemListener;
55 class TaskPropertyHandler;
92 virtual void valueChanged(QtProperty* p,
const QVariant& qVariant)
override;
A QObject class to handle with process management.
A handler to list task properties into a property browser.
A base item to represent the process task items in property listener.
A base item to represent the process task properties items in property tree.
void addListenerToProperty(QtProperty *p)
TaskPropertyItemListener * m_listener
void onRemovedTask(const std::string &taskId)
QtProperty * m_inItemProperty
A qt main item for input paramters from task.
void buildProperties()
Function used build toplevel task params properties .
QtProperty * m_outItemProperty
A qt main item for output paramters from task.
QtProperty * m_taskItemProperty
A qt main item for default task properties.
TaskPropertyHandler * m_handler
std::string m_taskId
Terralib Task object id.
virtual ~TaskPropertyItem()
Destructor.
TaskPropertyItem(QtTreePropertyBrowser *pb, TaskPropertyItemListener *listener, ProcessManager *manager, QColor c=QColor())
Constructor.
void clearProperties()
Function used clear task params properties .
std::vector< QtProperty * > m_vecProperties
bool propertyHasListener(QtProperty *p)
virtual void valueChanged(QtProperty *p, const QVariant &qVariant) override
ProcessManager * m_manager
void setTask(const std::string &taskId)
Function used to set the Task.