te::process::qt::TaskGraphicalCapabilities Class Referenceabstract

Defines a task capabilities of a task used in graphical components. More...

#include <TaskGraphicalCapabilities.h>

Inheritance diagram for te::process::qt::TaskGraphicalCapabilities:
te::process::qt::DataAccessTaskCapabilities te::process::qt::DataStoreTaskCapabilities te::process::qt::DefaultTaskCapabilities

Public Member Functions

std::string getDescription () const
 Returns the icon path. More...
 
const QIcon & getIcon () const
 
std::string getIconPath () const
 Returns the icon of the operation. More...
 
std::string getName () const
 Returns the description of the operation. More...
 
virtual QPainterPath getShape (QList< QPointF > &inHotPoints, QList< QPointF > &outHotPoints) const =0
 
virtual QRectF shapeBoundingRect () const =0
 
 TaskGraphicalCapabilities (const std::string &operationName, const std::string &description, const std::string &iconName, const std::string &iconPath)
 Destructor. More...
 
virtual ~TaskGraphicalCapabilities ()
 Returns the name of the operation. More...
 

Public Attributes

QColor m_brushColor
 

Protected Attributes

std::string m_description
 The caption of the widget. More...
 
std::string m_iconName
 The icon name of the operation. More...
 
std::string m_iconPath
 The icon path of the operation. More...
 
std::string m_operationName
 The name of the operation. More...
 
QIcon m_qIcon
 The icon of the operation. More...
 

Detailed Description

Defines a task capabilities of a task used in graphical components.

Definition at line 52 of file TaskGraphicalCapabilities.h.

Constructor & Destructor Documentation

◆ TaskGraphicalCapabilities()

te::process::qt::TaskGraphicalCapabilities::TaskGraphicalCapabilities ( const std::string &  operationName,
const std::string &  description,
const std::string &  iconName,
const std::string &  iconPath 
)

Destructor.

◆ ~TaskGraphicalCapabilities()

virtual te::process::qt::TaskGraphicalCapabilities::~TaskGraphicalCapabilities ( )
virtual

Returns the name of the operation.

Member Function Documentation

◆ getDescription()

std::string te::process::qt::TaskGraphicalCapabilities::getDescription ( ) const

Returns the icon path.

◆ getIcon()

const QIcon& te::process::qt::TaskGraphicalCapabilities::getIcon ( ) const

◆ getIconPath()

std::string te::process::qt::TaskGraphicalCapabilities::getIconPath ( ) const

Returns the icon of the operation.

◆ getName()

std::string te::process::qt::TaskGraphicalCapabilities::getName ( ) const

Returns the description of the operation.

◆ getShape()

virtual QPainterPath te::process::qt::TaskGraphicalCapabilities::getShape ( QList< QPointF > &  inHotPoints,
QList< QPointF > &  outHotPoints 
) const
pure virtual

◆ shapeBoundingRect()

virtual QRectF te::process::qt::TaskGraphicalCapabilities::shapeBoundingRect ( ) const
pure virtual

Member Data Documentation

◆ m_brushColor

QColor te::process::qt::TaskGraphicalCapabilities::m_brushColor

Definition at line 91 of file TaskGraphicalCapabilities.h.

◆ m_description

std::string te::process::qt::TaskGraphicalCapabilities::m_description
protected

The caption of the widget.

Definition at line 84 of file TaskGraphicalCapabilities.h.

◆ m_iconName

std::string te::process::qt::TaskGraphicalCapabilities::m_iconName
protected

The icon name of the operation.

Definition at line 85 of file TaskGraphicalCapabilities.h.

◆ m_iconPath

std::string te::process::qt::TaskGraphicalCapabilities::m_iconPath
protected

The icon path of the operation.

Definition at line 86 of file TaskGraphicalCapabilities.h.

◆ m_operationName

std::string te::process::qt::TaskGraphicalCapabilities::m_operationName
protected

The name of the operation.

Definition at line 83 of file TaskGraphicalCapabilities.h.

◆ m_qIcon

QIcon te::process::qt::TaskGraphicalCapabilities::m_qIcon
protected

The icon of the operation.

Definition at line 87 of file TaskGraphicalCapabilities.h.


The documentation for this class was generated from the following file: