comparison data/model/TabularModel.h @ 427:72ec275e458b

* Basic implementation of add and remove point in data editor * Improve resilience of frame - real-time - frame round-trip conversions
author Chris Cannam
date Mon, 16 Jun 2008 14:48:42 +0000
parents f5e8f12d2e58
children 957e6a5c8495
comparison
equal deleted inserted replaced
426:2386582f67cd 427:72ec275e458b
49 virtual long getFrameForRow(int row) const = 0; 49 virtual long getFrameForRow(int row) const = 0;
50 virtual int getRowForFrame(long frame) const = 0; 50 virtual int getRowForFrame(long frame) const = 0;
51 51
52 virtual bool isEditable() const { return false; } 52 virtual bool isEditable() const { return false; }
53 virtual Command *getSetDataCommand(int /* row */, int /* column */, const QVariant &, int /* role */) { return 0; } 53 virtual Command *getSetDataCommand(int /* row */, int /* column */, const QVariant &, int /* role */) { return 0; }
54 virtual Command *getInsertRowCommand(int /* beforeRow */) { return 0; }
55 virtual Command *getRemoveRowCommand(int /* row */) { return 0; }
54 }; 56 };
55 57
56 #endif 58 #endif