SHAPER
9.13.0
|
Public Member Functions | |
ModuleBase_OperationDescription (const QString &theId="") | |
Constructor. More... | |
virtual | ~ModuleBase_OperationDescription () |
Destructor. More... | |
const QString & | operationId () const |
Unique name of the operation. More... | |
const QString & | description () const |
Returns a short description of operation (will be inserted in title of property panel) More... | |
void | setDescription (const QString &theDescription) |
Sets a short description of operation (will be inserted in title of property panel) More... | |
const QString & | xmlRepresentation () const |
Returns XML representation of the operation's widget. More... | |
void | setXmlRepresentation (const QString &theXMLRepresentation) |
Sets XML representation of the operation's widget. More... | |
bool | hasXmlRepresentation () const |
Returns true if there are no model widgets. More... | |
Description of operation from XML
ModuleBase_OperationDescription::ModuleBase_OperationDescription | ( | const QString & | theId = "" | ) |
Constructor.
theId | - the operation identifier |
|
virtual |
Destructor.
const QString & ModuleBase_OperationDescription::operationId | ( | ) | const |
Unique name of the operation.
const QString & ModuleBase_OperationDescription::description | ( | ) | const |
Returns a short description of operation (will be inserted in title of property panel)
void ModuleBase_OperationDescription::setDescription | ( | const QString & | theDescription | ) |
Sets a short description of operation (will be inserted in title of property panel)
const QString & ModuleBase_OperationDescription::xmlRepresentation | ( | ) | const |
Returns XML representation of the operation's widget.
void ModuleBase_OperationDescription::setXmlRepresentation | ( | const QString & | theXMLRepresentation | ) |
Sets XML representation of the operation's widget.
theXMLRepresentation | - XML QString |
bool ModuleBase_OperationDescription::hasXmlRepresentation | ( | ) | const |
Returns true if there are no model widgets.
myWidgets.empty() ||