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 = Horizonal;
41  }
42  virtual ~RRestrictHorizontal() {}
43 };
44 
46 
47 #endif
RRestrictHorizontal(RDocumentInterface *documentInterface=NULL)
Definition: RRestrictHorizontal.h:38
Horizontal snap restriction implementation.
Definition: RRestrictHorizontal.h:36
Definition: RRestrictOrthogonal.h:40
Q_DECLARE_METATYPE(RMath *)
Interface for interaction between a graphics document and a user.
Definition: RDocumentInterface.h:82
virtual ~RRestrictHorizontal()
Definition: RRestrictHorizontal.h:42
#define QCADSNAP_EXPORT
Definition: snap_global.h:10
Orthogonal snap restriction implementation.
Definition: RRestrictOrthogonal.h:36