2 * ModuleBase_PropPanelOperation.h
4 * Created on: Apr 2, 2014
8 #ifndef MODULEBASE_PROPPANELOPERATION_H
9 #define MODULEBASE_PROPPANELOPERATION_H
11 #include <ModuleBase.h>
12 #include <ModuleBase_Operation.h>
20 * \class ModuleBase_PropPanelOperation
23 class MODULEBASE_EXPORT ModuleBase_PropPanelOperation: public ModuleBase_Operation
29 ModuleBase_PropPanelOperation(const QString& theId = "", QObject* parent = 0);
30 virtual ~ModuleBase_PropPanelOperation();
33 * \brief Returns XML representation of the operation's widget.
36 * Returns XML representation of the operation's widget.
38 const QString& xmlRepresentation() const
44 * \brief Sets XML representation of the operation's widget.
45 * \param xmlRepr - XML QString
47 * Sets XML representation of the operation's widget.
49 void setXmlRepresentation(const QString& xmlRepr)
51 this->myXmlRepr = xmlRepr;
56 * Returns a short description of operation (will be
57 * inserted in title of property panel)
59 const QString& description() const
65 * Sets a short description of operation (will be
66 * inserted in title of property panel)
68 void setDescription(const QString& theDescription)
70 this->myDescription = theDescription;
74 //!< Next fields could be extracted into a subclass;
76 QString myDescription;
79 #endif //MODULEBASE_PROPPANELOPERATION_H