src/ldObject.h

changeset 1084
63daaf652454
parent 1082
1738bdaf36d6
child 1100
9b2797729c82
--- a/src/ldObject.h	Mon Jan 30 02:18:42 2017 +0200
+++ b/src/ldObject.h	Mon Jan 30 02:30:26 2017 +0200
@@ -114,6 +114,7 @@
 	void move (Vertex vect);
 	LDObject* next() const;
 	virtual int numVertices() const = 0;
+	virtual QString objectListText() const;
 	LDObject* previous() const;
 	bool previousIsInvertnext (LDBfc*& ptr);
 	QColor randomColor() const;
@@ -195,6 +196,7 @@
 	QString contents() const;
 	QString fileReferenced() const;
 	void setFileReferenced (QString value);
+	QString objectListText() const override;
 
 protected:
 	LDError (QString contents, QString reason, Model* model = nullptr);
@@ -217,6 +219,9 @@
 	LDOBJ_UNCOLORED
 	LDOBJ_NON_SCEMANTIC
 	LDOBJ_NO_MATRIX
+
+public:
+	QString objectListText() const override;
 };
 
 //
@@ -233,6 +238,7 @@
 	LDOBJ_NO_MATRIX
 
 public:
+	QString objectListText() const override;
 	QString text() const;
 	void setText (QString value);
 
@@ -274,6 +280,7 @@
 	LDOBJ_NO_MATRIX
 
 public:
+    QString objectListText() const override;
 	BfcStatement statement() const;
 	void setStatement (BfcStatement value);
 	QString statementToString() const;
@@ -308,6 +315,7 @@
 	virtual void getVertices (QSet<Vertex>& verts) const override;
 	void inlineContents(Model& model, bool deep, bool render);
 	QList<LDPolygon> inlinePolygons();
+	QString objectListText() const override;
 	void setFileInfo (LDDocument* fileInfo);
 	int triangleCount() const override;
 
@@ -424,6 +432,7 @@
 	int camera() const;
 	QString fileName() const;
 	int height() const;
+	QString objectListText() const override;
 	void setCamera (int value);
 	void setFileName (QString value);
 	void setHeight (int value);

mercurial