src/ldDocument.h

changeset 946
9cbd658b63f9
parent 945
c310073e4f22
child 953
8349552ee5e9
equal deleted inserted replaced
945:c310073e4f22 946:9cbd658b63f9
72 PROPERTY (public, bool, isImplicit, setImplicit, CUSTOM_WRITE) 72 PROPERTY (public, bool, isImplicit, setImplicit, CUSTOM_WRITE)
73 PROPERTY (public, long, savePosition, setSavePosition, STOCK_WRITE) 73 PROPERTY (public, long, savePosition, setSavePosition, STOCK_WRITE)
74 PROPERTY (public, int, tabIndex, setTabIndex, STOCK_WRITE) 74 PROPERTY (public, int, tabIndex, setTabIndex, STOCK_WRITE)
75 PROPERTY (public, QList<LDPolygon>, polygonData, setPolygonData, STOCK_WRITE) 75 PROPERTY (public, QList<LDPolygon>, polygonData, setPolygonData, STOCK_WRITE)
76 PROPERTY (private, LDDocumentFlags, flags, setFlags, STOCK_WRITE) 76 PROPERTY (private, LDDocumentFlags, flags, setFlags, STOCK_WRITE)
77 PROPERTY (private, LDDocument*, self, setSelf, STOCK_WRITE)
78 77
79 QMap<LDObject*, QVector<Vertex>> m_objectVertices; 78 QMap<LDObject*, QVector<Vertex>> m_objectVertices;
80 QVector<Vertex> m_vertices; 79 QVector<Vertex> m_vertices;
81 bool m_verticesOutdated; 80 bool m_verticesOutdated;
82 bool m_needVertexMerge; 81 bool m_needVertexMerge;
83 82
84 public: 83 public:
85 LDDocument(LDDocument** selfptr); 84 LDDocument();
86 ~LDDocument(); 85 ~LDDocument();
87 86
88 int addObject (LDObject* obj); // Adds an object to this file at the end of the file. 87 int addObject (LDObject* obj); // Adds an object to this file at the end of the file.
89 void addObjects (const LDObjectList& objs); 88 void addObjects (const LDObjectList& objs);
90 void clearSelection(); 89 void clearSelection();

mercurial