28 return SetPropertyResult::Success; |
29 return SetPropertyResult::Success; |
29 default: |
30 default: |
30 return BaseObject::setProperty(property, value); |
31 return BaseObject::setProperty(property, value); |
31 } |
32 } |
32 } |
33 } |
|
34 |
|
35 QString modelobjects::ErrorLine::textRepresentation() const |
|
36 { |
|
37 return this->text; |
|
38 } |
|
39 |
|
40 QBrush modelobjects::ErrorLine::textRepresentationForeground() const |
|
41 { |
|
42 return QBrush{Qt::yellow}; |
|
43 } |
|
44 |
|
45 QBrush modelobjects::ErrorLine::textRepresentationBackground() const |
|
46 { |
|
47 return QBrush{Qt::red}; |
|
48 } |