src/RelpipeTableModel.h
branchv_0
changeset 28 04f1ac8a931b
parent 26 97847181b724
child 29 0f9f7d6564cd
--- a/src/RelpipeTableModel.h	Tue Oct 30 23:52:55 2018 +0100
+++ b/src/RelpipeTableModel.h	Sun Nov 18 00:38:49 2018 +0100
@@ -91,6 +91,10 @@
 		if (column == 0) emit layoutChanged(); // FIXME: emit other signal ~ begin..., end..., rowsInserted(???  index(0,0), row, row);
 		attributeCounter++;
 	}
+	
+	TypeId attributeType(int section) {
+		return attributes[section].getTypeId();
+	}
 
 	Qt::ItemFlags flags(const QModelIndex &index) const {
 		if (isFilled(index)) {