diff widgets/LayerTree.h @ 298:226cb289bdf4

* Layer tree view updating when visibility / audibility changed (and layers updating when they are changed in view) -- still some problems when a model is loaded while the tree is visible * FFTW_MEASURE throughout -- it does turn out to make an appreciable difference sometimes
author Chris Cannam
date Thu, 16 Aug 2007 16:47:07 +0000
parents 705f05ab42e3
children 4a542ba875c2
line wrap: on
line diff
--- a/widgets/LayerTree.h	Tue Aug 14 19:37:10 2007 +0000
+++ b/widgets/LayerTree.h	Thu Aug 16 16:47:07 2007 +0000
@@ -22,6 +22,7 @@
 class PaneStack;
 class View;
 class Layer;
+class PropertyContainer;
 
 class LayerTreeModel : public QAbstractItemModel
 {
@@ -33,6 +34,8 @@
 
     QVariant data(const QModelIndex &index, int role) const;
 
+    bool setData(const QModelIndex &index, const QVariant &value, int role);
+
     Qt::ItemFlags flags(const QModelIndex &index) const;
 
     QVariant headerData(int section, Qt::Orientation orientation,
@@ -48,6 +51,13 @@
 
 protected:
     PaneStack *m_stack;
+
+protected slots:
+    void propertyContainerAdded(PropertyContainer *);
+    void propertyContainerRemoved(PropertyContainer *);
+    void propertyContainerSelected(PropertyContainer *);
+    void propertyContainerPropertyChanged(PropertyContainer *);
+    void playParametersAudibilityChanged(bool);
 };
 
 #endif