QCAD
Open Source 2D CAD
RRestrictHorizontal.h
Go to the documentation of this file.
1 
20 #ifndef RRESTRICTHORIZONTAL_H
21 #define RRESTRICTHORIZONTAL_H
22 
23 #include "snap_global.h"
24 
25 #include "RRestrictOrthogonal.h"
26 
27 class RDocumentInterface;
28 
37 public:
38  RRestrictHorizontal(RDocumentInterface* documentInterface = NULL)
39  : RRestrictOrthogonal(documentInterface) {
40  mode = RS::OrthoHorizonal;
41  }
42  virtual ~RRestrictHorizontal() {}
43 };
44 
46 
47 #endif
snap_global.h
RRestrictOrthogonal.h
QCADSNAP_EXPORT
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
RRestrictHorizontal::~RRestrictHorizontal
virtual ~RRestrictHorizontal()
Definition: RRestrictHorizontal.h:42
RRestrictHorizontal
Horizontal snap restriction implementation.
Definition: RRestrictHorizontal.h:36
RRestrictHorizontal::RRestrictHorizontal
RRestrictHorizontal(RDocumentInterface *documentInterface=NULL)
Definition: RRestrictHorizontal.h:38
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(RMath *)
RS::OrthoHorizonal
@ OrthoHorizonal
Definition: RS.h:197
RDocumentInterface
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:85
RRestrictOrthogonal
Orthogonal snap restriction implementation.
Definition: RRestrictOrthogonal.h:36