26 #ifndef __TERRALIB_PROCESS_QT_INTERNAL_TASKGRAPHICALCAPABILITIES_H 27 #define __TERRALIB_PROCESS_QT_INTERNAL_TASKGRAPHICALCAPABILITIES_H 29 #include "../../Config.h" 31 #include "../../../common/AbstractFactory.h" 35 #include <QPainterPath> 56 const std::string& operationName
57 ,
const std::string& description
58 ,
const std::string& iconName
59 ,
const std::string& iconPath
66 std::string getName()
const;
69 std::string getDescription()
const;
72 std::string getIconPath()
const;
75 const QIcon& getIcon()
const;
77 virtual QPainterPath getShape(QList<QPointF>& inHotPoints, QList<QPointF>& outHotPoints)
const = 0;
79 virtual QRectF shapeBoundingRect()
const = 0;
120 #endif //__TERRALIB_PROCESS_QT_INTERNAL_TASKGRAPHICALCAPABILITIES_H This class defines the interface of abstract factories without initializing parameters.
std::string m_iconName
The icon name of the operation.
std::string m_iconPath
The icon path of the operation.
QIcon m_qIcon
The icon of the operation.
std::string m_description
The caption of the widget.
Defines a task capabilities of a task used in graphical components.
std::string m_operationName
The name of the operation.