Mercurial > hg > svgui
diff widgets/LayerTree.h @ 56:fedaf3ffe80a
* Add menu for re-adding existing layers
* Fix layer tree window so that it at least approximates correct
* Add bundled operations in command history, for use with things like
multiple consecutive changes to a parameter value
* Disambiguate plugins that happen to have identical descriptions
* Add spectral centroid plugin (could use some parameters!)
* Some other fixes
author | Chris Cannam |
---|---|
date | Fri, 17 Mar 2006 17:38:28 +0000 |
parents | 78515b1e29eb |
children | 01ab51f72e84 |
line wrap: on
line diff
--- a/widgets/LayerTree.h Thu Mar 16 18:46:00 2006 +0000 +++ b/widgets/LayerTree.h Fri Mar 17 17:38:28 2006 +0000 @@ -14,6 +14,8 @@ #include <QAbstractItemModel> class PaneStack; +class View; +class Layer; class LayerTreeModel : public QAbstractItemModel { @@ -25,10 +27,10 @@ QVariant data(const QModelIndex &index, int role) const; -// Qt::ItemFlags flags(const QModelIndex &index) const; + Qt::ItemFlags flags(const QModelIndex &index) const; -// QVariant headerData(int section, Qt::Orientation orientation, -// int role = Qt::DisplayRole) const; + QVariant headerData(int section, Qt::Orientation orientation, + int role = Qt::DisplayRole) const; QModelIndex index(int row, int column, const QModelIndex &parent = QModelIndex()) const;