Sun, 22 Sep 2019 11:51:41 +0300
Added lots of code
#include "errorline.h" modelobjects::ErrorLine::ErrorLine(QStringView text) : text{text.toString()} { } QVariant modelobjects::ErrorLine::getProperty(Property property) const { switch (property) { case Property::Text: return text; default: return BaseObject::getProperty(property); } } auto modelobjects::ErrorLine::setProperty( Property property, const QVariant& value) -> SetPropertyResult { switch (property) { case Property::Text: text = value.toString(); return SetPropertyResult::Success; default: return BaseObject::setProperty(property, value); } }