Mercurial > hg > svgui
comparison view/View.h @ 837:6c4cab21e387
Use fixed-order layer list for property container enumeration. Fixes habit of the layer property tabs to jump about when adding a new layer.
author | Chris Cannam |
---|---|
date | Tue, 02 Sep 2014 15:25:27 +0100 |
parents | 7792b7667f74 |
children | 532302d04571 |
comparison
equal
deleted
inserted
replaced
836:1384485650e3 | 837:6c4cab21e387 |
---|---|
284 } | 284 } |
285 virtual QString getPropertyContainerIconName() const = 0; | 285 virtual QString getPropertyContainerIconName() const = 0; |
286 | 286 |
287 virtual int getPropertyContainerCount() const; | 287 virtual int getPropertyContainerCount() const; |
288 | 288 |
289 // The 0th property container is the view's own; the rest are the | |
290 // layers in fixed-order series | |
289 virtual const PropertyContainer *getPropertyContainer(int i) const; | 291 virtual const PropertyContainer *getPropertyContainer(int i) const; |
290 virtual PropertyContainer *getPropertyContainer(int i); | 292 virtual PropertyContainer *getPropertyContainer(int i); |
291 | 293 |
292 // Render the contents on a wide canvas | 294 // Render the contents on a wide canvas |
293 virtual QImage *toNewImage(int f0, int f1); | 295 virtual QImage *toNewImage(int f0, int f1); |