Add property models for FEM
This commit is contained in:
@@ -56,6 +56,7 @@ class MaterialsExport ModelProperty: public Base::BaseClass
|
||||
public:
|
||||
ModelProperty();
|
||||
ModelProperty(const QString& name,
|
||||
const QString& header,
|
||||
const QString& type,
|
||||
const QString& units,
|
||||
const QString& url,
|
||||
@@ -67,6 +68,7 @@ public:
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
const QString getDisplayName() const;
|
||||
const QString getPropertyType() const
|
||||
{
|
||||
return _propertyType;
|
||||
@@ -96,6 +98,10 @@ public:
|
||||
{
|
||||
_name = name;
|
||||
}
|
||||
void setColumnHeader(const QString& header)
|
||||
{
|
||||
_displayName = header;
|
||||
}
|
||||
virtual void setPropertyType(const QString& type)
|
||||
{
|
||||
_propertyType = type;
|
||||
@@ -139,6 +145,7 @@ public:
|
||||
|
||||
private:
|
||||
QString _name;
|
||||
QString _displayName;
|
||||
QString _propertyType;
|
||||
QString _units;
|
||||
QString _url;
|
||||
|
||||
Reference in New Issue
Block a user