QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RDeleteAllEntitiesOperation.h
Go to the documentation of this file.
1
20#ifndef RDELETEALLENTITIESOBJECTSOPERATION_H
21#define RDELETEALLENTITIESOBJECTSOPERATION_H
22
23#include "operations_global.h"
24
25#include "ROperation.h"
26
27class RDocument;
28class RObject;
29class RTransaction;
30
38public:
39 RDeleteAllEntitiesOperation(bool undoable = true);
42
43 virtual RTransaction apply(RDocument& document, bool preview = false);
44};
45
47
48#endif
Q_DECLARE_METATYPE(RMath *)
Implementation of an operation that adds entities.
Definition RDeleteAllEntitiesOperation.h:37
virtual ~RDeleteAllEntitiesOperation()
Definition RDeleteAllEntitiesOperation.h:40
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition RDocument.h:78
Abstract base class for all objects.
Definition RObject.h:64
This abstract class is an interface for all operation implementations.
Definition ROperation.h:45
virtual RTransaction apply(RDocument &document, bool preview=false)=0
Applies this operation to selection in the given document.
Transaction implementation.
Definition RTransaction.h:73
#define QCADOPERATIONS_EXPORT
Definition operations_global.h:10