src/model.h

changeset 383
530d23cd4e97
parent 379
8d88adffb779
equal deleted inserted replaced
382:94d5587bb0c4 383:530d23cd4e97
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);

mercurial