comparison layer/LayerFactory.h @ 52:f2fe98a7c57e

* Use commands for add/delete pane in main window * Add compound command collection to command history (for add pane, import file etc) * Add hide/show pane and hidden pane list to PaneStack * Various other fixes
author Chris Cannam
date Mon, 13 Mar 2006 17:55:19 +0000
parents ad214997dddb
children 68869408f5c7
comparison
equal deleted inserted replaced
51:d2eac322d71b 52:f2fe98a7c57e
47 LayerTypeSet getValidLayerTypes(Model *model); 47 LayerTypeSet getValidLayerTypes(Model *model);
48 LayerTypeSet getValidEmptyLayerTypes(); 48 LayerTypeSet getValidEmptyLayerTypes();
49 49
50 LayerType getLayerType(const Layer *); 50 LayerType getLayerType(const Layer *);
51 51
52 Layer *createLayer(LayerType type, Model *model = 0, int channel = -1); 52 Layer *createLayer(LayerType type, int channel = -1);
53 53
54 QString getLayerPresentationName(LayerType type); 54 QString getLayerPresentationName(LayerType type);
55 55
56 void setModel(Layer *layer, Model *model); 56 void setModel(Layer *layer, Model *model);
57 Model *createEmptyModel(LayerType type, Model *baseModel); 57 Model *createEmptyModel(LayerType type, Model *baseModel);