201 { |
201 { |
202 std::size_t position; |
202 std::size_t position; |
203 ModelElement newElement; |
203 ModelElement newElement; |
204 }; |
204 }; |
205 |
205 |
|
206 struct SelectInModel |
|
207 { |
|
208 std::size_t position; |
|
209 }; |
|
210 |
206 using ModelAction = std::variant< |
211 using ModelAction = std::variant< |
207 AppendToModel, |
212 AppendToModel, |
208 DeleteFromModel, |
213 DeleteFromModel, |
209 ModifyModel>; |
214 ModifyModel, |
|
215 SelectInModel>; |
210 |
216 |
211 QString modelElementToString(const ModelElement &element); |
217 QString modelElementToString(const ModelElement &element); |