mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-13 22:05:48 +00:00
add list formatter
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user