QCAD
Open Source 2D CAD
RDeleteSelectionOperation.h
Go to the documentation of this file.
1 
20 #ifndef RDELETESELECTIONOPERATION_H
21 #define RDELETESELECTIONOPERATION_H
22 
23 #include "operations_global.h"
24 
25 #include "RDocument.h"
26 #include "REntity.h"
27 #include "RExporter.h"
28 #include "RClipboardOperation.h"
29 #include "RVector.h"
30 
31 
40 public:
43 
44  virtual RTransaction apply(RDocument& document, bool preview = false) const;
45  virtual void preview(RDocument& document, RExporter& exporter) const;
46 };
47 
49 
50 #endif
virtual ~RDeleteSelectionOperation()
Definition: RDeleteSelectionOperation.h:42
Transaction implementation.
Definition: RTransaction.h:70
virtual RTransaction apply(RDocument &document, bool preview=false) const =0
Applies this operation to selection in the given document.
#define QCADOPERATIONS_EXPORT
Definition: operations_global.h:10
A graphics document contains and owns entities, layers, user coordinate systems, variables, block definitions, etc.
Definition: RDocument.h:63
Q_DECLARE_METATYPE(RMath *)
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RDeleteSelectionOperation.h:39
Abstract base class for exporters.
Definition: RExporter.h:63
Base class for clipboard related operations (copy, cut, paste).
Definition: RClipboardOperation.h:44