Class representing an action representing a parameter of a node.
More...
#include <ParameterAction.h>
|
static QIcon | getIcon (const QString ¶meterTypeName) |
| Returns the icon for the parameter type with the given name. Creates the icon if it doesn't exist yet and stores it in the parameter type icon cache.
|
|
Class representing an action representing a parameter of a node.
Inheritance Diagram
Frapper::ParameterAction::ParameterAction |
( |
Parameter * |
parameter, |
|
|
QObject * |
parent = 0 |
|
) |
| |
Constructor of the ParameterAction class.
Constructors and Destructors.
- Parameters
-
parameter | The parameter the action represents. |
parent | The object that the action will be a child of. |
Constructor of the ParameterAction class.
- Parameters
-
parameter | The parameter the action represents. |
parent | The object that the action will be a child of. |
Frapper::ParameterAction::~ParameterAction |
( |
void |
| ) |
|
|
virtual |
static QIcon Frapper::ParameterAction::getIcon |
( |
const QString & |
parameterTypeName | ) |
|
|
staticprivate |
Returns the icon for the parameter type with the given name. Creates the icon if it doesn't exist yet and stores it in the parameter type icon cache.
- Parameters
-
parameterTypeName | The name of the parameter type to return the icon for. |
- Returns
- The icon that represents the parameter type with the given name.
Parameter * Frapper::ParameterAction::getParameter |
( |
| ) |
const |
Returns the parameter the action represents.
Public Functions.
QMap<QString, QIcon> Frapper::ParameterAction::s_parameterTypeIcons |
|
staticprivate |
Map for action icons by parameter type name.
Parameter* Frapper::ParameterAction::m_parameter |
|
private |
The parameter the action represents.
The documentation for this class was generated from the following files: