add list formatter

This commit is contained in:
2016-07-03 04:10:04 +03:00
parent 3497922928
commit 17a0c61b4a
9 changed files with 597 additions and 3 deletions

View File

@ -66,6 +66,9 @@ QString AWAbstractFormatter::strType() const
case FormatterClass::NoFormat:
value = QString("NoFormat");
break;
case FormatterClass::List:
value = QString("List");
break;
}
return value;
@ -88,6 +91,8 @@ void AWAbstractFormatter::setStrType(const QString _type)
m_type = FormatterClass::Float;
else if (_type == QString("Script"))
m_type = FormatterClass::Script;
else if (_type == QString("List"))
m_type = FormatterClass::List;
else
m_type = FormatterClass::NoFormat;
}