11 public: |
11 public: |
12 using BaseClass = ColoredBaseObject; |
12 using BaseClass = ColoredBaseObject; |
13 Edge() = default; |
13 Edge() = default; |
14 Edge(const Vertex& point_1, const Vertex& point_2, |
14 Edge(const Vertex& point_1, const Vertex& point_2, |
15 const Color color_index = colors::edge); |
15 const Color color_index = colors::edge); |
|
16 Edge(const QVector<Vertex>& vertices, const Color color); |
16 QVariant getProperty(Property property) const override; |
17 QVariant getProperty(Property property) const override; |
17 SetPropertyResult setProperty( |
18 SetPropertyResult setProperty( |
18 Property property, |
19 Property property, |
19 const QVariant& value) override; |
20 const QVariant& value) override; |
20 QString textRepresentation() const override; |
21 QString textRepresentation() const override; |