Home
last modified time | relevance | path

Searched refs:undo_step (Results 1 – 25 of 36) sorted by relevance

12

/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/undo/
H A Dobject_undo.cpp293 undo_step->setPartIndex(part_index); in undo()
304 return undo_step; in undo()
327 undo_step->setPartIndex(part_index); in undo()
340 return undo_step; in undo()
376 undo_step->setPartIndex(part_index); in undo()
394 return undo_step; in undo()
566 undo_step->setPartIndex(part_index); in undo()
579 return undo_step; in undo()
672 undo_step->setPartIndex(part_index); in undo()
681 undo_step->addObject(object_index); in undo()
[all …]
H A Dundo.cpp175 CombinedUndoStep* undo_step = new CombinedUndoStep(map); in undo() local
176 undo_step->steps.reserve(steps.size()); in undo()
177 std::for_each(steps.rbegin(), steps.rend(), [undo_step](auto step) { in undo()
178 undo_step->push(step->undo()); in undo()
180 return undo_step; in undo()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/tools/
H A Ddraw_line_and_area_tool.cpp268 auto undo_step = new ReplaceObjectsUndoStep(map()); in finishDrawing() local
269 undo_step->addObject(cur_part->findObjectIndex(append_to_object), undo_duplicate); in finishDrawing()
270 map()->push(undo_step); in finishDrawing()
278 auto undo_step = new DeleteObjectsUndoStep(map()); in finishDrawing() local
279 undo_step->addObject(index); in finishDrawing()
280 map()->push(undo_step); in finishDrawing()
H A Ddraw_point_gps_tool.cpp143 auto undo_step = new DeleteObjectsUndoStep(map()); in clickRelease() local
144 undo_step->addObject(index); in clickRelease()
145 map()->push(undo_step); in clickRelease()
H A Dcut_hole_tool.cpp245 auto undo_step = new ReplaceObjectsUndoStep(map()); in pathFinished() local
246 undo_step->addObject(edited_object, undo_duplicate); in pathFinished()
247 map()->push(undo_step); in pathFinished()
H A Dcutout_operation.cpp116 if (auto undo_step = finish()) in commit() local
119 map->push(undo_step); in commit()
H A Ddraw_point_tool.cpp147 auto undo_step = new DeleteObjectsUndoStep(map()); in createObject() local
148 undo_step->addObject(index); in createObject()
149 map()->push(undo_step); in createObject()
H A Dedit_tool.cpp72 auto undo_step = new ReplaceObjectsUndoStep(map()); in createReplaceUndoStep() local
75 undo_step->addObject(object, undo_duplicate); in createReplaceUndoStep()
76 map()->push(undo_step); in createReplaceUndoStep()
H A Dedit_point_tool.cpp249 auto undo_step = new AddObjectsUndoStep(map()); in clickPress() local
253 undo_step->addObject(index, hover_object); in clickPress()
255 map()->push(undo_step); in clickPress()
687 auto undo_step = new AddObjectsUndoStep(map); in finishEditing() local
688 undo_step->addObject(index, text_object); in finishEditing()
689 map->push(undo_step); in finishEditing()
H A Ddraw_text_tool.cpp178 auto undo_step = new DeleteObjectsUndoStep(map()); in finishEditing() local
179 undo_step->addObject(index); in finishEditing()
180 map()->push(undo_step); in finishEditing()
H A Dcut_tool.cpp755 auto undo_step = new CombinedUndoStep(map); in replaceObject() local
756 undo_step->push(add_step); in replaceObject()
757 undo_step->push(delete_step); in replaceObject()
758 map->push(undo_step); in replaceObject()
H A Dtool_base.cpp570 auto undo_step = new ReplaceObjectsUndoStep(map()); in finishEditing() local
576 undo_step->addObject(object, edited_item.duplicate.release()); in finishEditing()
579 map()->push(undo_step); in finishEditing()
H A Dfill_tool.cpp532 auto undo_step = new DeleteObjectsUndoStep(map()); in fillBoundary() local
533 undo_step->addObject(index); in fillBoundary()
534 map()->push(undo_step); in fillBoundary()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/ihog/
H A Dihog_minimizer.cxx193 ihog_transform_2d undo_step; in minimize() local
194 undo_step.set_zoom_only(0.5,0.0,0.0); in minimize()
203 undo_xform = undo_xform * undo_step; in minimize()
277 ihog_transform_2d undo_step; in minimize_exhaustive_minfo() local
278 undo_step.set_zoom_only(0.5,0.0,0.0); in minimize_exhaustive_minfo()
294 undo_xform = undo_xform * undo_step; in minimize_exhaustive_minfo()
391 ihog_transform_2d undo_step; in minimize_using_minfo() local
392 undo_step.set_zoom_only(0.5,0.0,0.0); in minimize_using_minfo()
419 undo_xform = undo_xform * undo_step; in minimize_using_minfo()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/gui/widgets/
H A Dtags_widget.cpp125 auto undo_step = new ObjectTagsUndoStep(map); in createUndoStep() local
126 undo_step->addObject(map->getCurrentPart()->findObjectIndex(object)); in createUndoStep()
127 map->push(undo_step); in createUndoStep()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/editing/commands/
H A Dundo_step.cc128 void UndoStep::Append(UndoStep* undo_step) { in Append() argument
129 commands_.AppendVector(undo_step->commands_); in Append()
H A Dcomposite_edit_command.cc1969 if (UndoStep* undo_step = command->GetUndoStep()) { in SetStartingSelection() local
1971 undo_step->SetStartingSelection(selection); in SetStartingSelection()
1983 if (UndoStep* undo_step = command->GetUndoStep()) { in SetEndingSelection() local
1985 undo_step->SetEndingSelection(selection); in SetEndingSelection()
2043 const UndoStep& undo_step = *GetUndoStep(); in AppliedEditing() local
2044 DispatchEditableContentChangedEvents(undo_step.StartingRootEditableElement(), in AppliedEditing()
2045 undo_step.EndingRootEditableElement()); in AppliedEditing()
2050 undo_step.StartingRootEditableElement(), in AppliedEditing()
2051 undo_step.EndingRootEditableElement(), GetInputType(), in AppliedEditing()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/editing/commands/
H A Dundo_step.cc128 void UndoStep::Append(UndoStep* undo_step) { in Append() argument
129 commands_.AppendVector(undo_step->commands_); in Append()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/objects/
H A Dboolean_tool.cpp137 QScopedPointer<CombinedUndoStep> undo_step(new CombinedUndoStep(map)); in execute() local
139 if (!executeForObjects(primary_object->asPath(), in_objects, out_objects, *undo_step)) in execute()
145 map->push(undo_step.take()); in execute()
164 QScopedPointer<CombinedUndoStep> undo_step(new CombinedUndoStep(map)); in executePerSymbol() local
200 executeForObjects(primary_object, in_objects, out_objects, *undo_step); in executePerSymbol()
203 bool const have_changes = undo_step->getNumSubSteps() > 0; in executePerSymbol()
206 map->push(undo_step.take()); in executePerSymbol()
214 …athObject* subject, PathObjects& in_objects, PathObjects& out_objects, CombinedUndoStep& undo_step) in executeForObjects() argument
256 undo_step.push(add_step.take()); in executeForObjects()
257 undo_step.push(delete_step.take()); in executeForObjects()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/templates/
H A Dtemplate_image.cpp552 DrawOnImageUndoStep undo_step; in drawOntoTemplateImpl() local
553 undo_step.x = radius_bbox.left(); in drawOntoTemplateImpl()
554 undo_step.y = radius_bbox.top(); in drawOntoTemplateImpl()
555 undo_step.image = image.copy(radius_bbox); in drawOntoTemplateImpl()
556 addUndoStep(undo_step); in drawOntoTemplateImpl()
H A Dtemplate_track.cpp421 DeleteObjectsUndoStep* undo_step = new DeleteObjectsUndoStep(map); in import() local
473 undo_step->addObject(part->findObjectIndex(object)); in import()
476 map->push(undo_step); in import()
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/core/
H A Dmap_part.cpp211 auto undo_step = new DeleteObjectsUndoStep(map); in importPart() local
227 undo_step->addObject((int)objects.size() - 1); in importPart()
242 return std::unique_ptr<UndoStep>{undo_step}; in importPart()
/dports/devel/regexxer/regexxer-0.10/src/
H A Dundostack.h60 void undo_step(const sigc::slot<bool>& pulse);
H A Dundostack.cc71 void UndoStack::undo_step(const sigc::slot<bool>& pulse) in undo_step() function in Regexxer::UndoStack
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/gui/map/
H A Dmap_editor.cpp2681 map->push(undo_step); in duplicateClicked()
2858 map->push(undo_step); in fillBorderClicked()
2983 map->push(undo_step); in switchDashesClicked()
3209 map->push(undo_step); in connectPathsClicked()
3320 if (undo_step->isEmpty()) in convertToCurvesClicked()
3321 delete undo_step; in convertToCurvesClicked()
3325 map->push(undo_step); in convertToCurvesClicked()
3350 if (undo_step->isEmpty()) in simplifyPathClicked()
3351 delete undo_step; in simplifyPathClicked()
3355 map->push(undo_step); in simplifyPathClicked()
[all …]

12