QCAD
Open Source 2D CAD
RModifyObjectsOperation.h
Go to the documentation of this file.
1 
20 #ifndef RMODIFYOBJECTSOPERATION_H_
21 #define RMODIFYOBJECTSOPERATION_H_
22 
23 #include "operations_global.h"
24 
25 #include "RAddObjectsOperation.h"
26 #include "RDocumentInterface.h"
27 #include "RTransformation.h"
28 
36 public:
37  RModifyObjectsOperation(bool undoable = true) :
38  RAddObjectsOperation(undoable) {
39  }
40 
41  RModifyObjectsOperation(QList<QSharedPointer<RObject> >& list,
42  bool undoable = true) :
43  RAddObjectsOperation(list, false, undoable) {
44  }
45 
47  }
48 
49  void transformSelection(RTransformation* transformation, RDocumentInterface* di, int copies, bool preview, bool selectResult, bool useCurrentAttributes);
50 };
51 
53 
54 #endif
RModifyObjectsOperation(QList< QSharedPointer< RObject > > &list, bool undoable=true)
Definition: RModifyObjectsOperation.h:41
virtual ~RModifyObjectsOperation()
Definition: RModifyObjectsOperation.h:46
#define QCADOPERATIONS_EXPORT
Definition: operations_global.h:10
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RModifyObjectsOperation.h:35
RModifyObjectsOperation(bool undoable=true)
Definition: RModifyObjectsOperation.h:37
Copyright (c) 2011-2015 by Andrew Mustun.
Definition: RTransformation.h:32
Q_DECLARE_METATYPE(RModifyObjectsOperation *)
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82
Implementation of an operation that adds entities.
Definition: RAddObjectsOperation.h:42