comparison widgets/LayerTree.h @ 392:1d85aa5a49be

* Start adding a spreadsheet-style editor window for model data
author Chris Cannam
date Fri, 06 Jun 2008 15:26:27 +0000
parents 4a542ba875c2
children a18e78b9c78b
comparison
equal deleted inserted replaced
391:4f0f273c8f82 392:1d85aa5a49be
26 class Pane; 26 class Pane;
27 class Layer; 27 class Layer;
28 class PropertyContainer; 28 class PropertyContainer;
29 class Model; 29 class Model;
30 30
31 class ModelDataModel : public QAbstractItemModel 31 class ModelMetadataModel : public QAbstractItemModel
32 { 32 {
33 Q_OBJECT 33 Q_OBJECT
34 34
35 public: 35 public:
36 ModelDataModel(PaneStack *stack, bool waveModelsOnly, QObject *parent = 0); 36 ModelMetadataModel(PaneStack *stack, bool waveModelsOnly, QObject *parent = 0);
37 virtual ~ModelDataModel(); 37 virtual ~ModelMetadataModel();
38 38
39 QVariant data(const QModelIndex &index, int role) const; 39 QVariant data(const QModelIndex &index, int role) const;
40 40
41 bool setData(const QModelIndex &index, const QVariant &value, int role); 41 bool setData(const QModelIndex &index, const QVariant &value, int role);
42 42