20#ifndef KIS_LAYERLIST_H
21#define KIS_LAYERLIST_H
26class KoPartSelectAction;
30class KisLayerList: public LayerList
34 typedef LayerList super;
37 void requestNewObjectLayer( LayerItem *parent, LayerItem *after, const KoDocumentEntry &entry );
38 void requestNewObjectLayer( int parentID, int afterID, const KoDocumentEntry &entry );
39 void requestNewAdjustmentLayer( LayerItem *parent, LayerItem *after );
40 void requestNewAdjustmentLayer( int parentID, int afterID );
43 KisLayerList( TQWidget *parent = 0, const char *name = 0 );
45 virtual void constructMenu( LayerItem *layer );
46 virtual void menuActivated( int id, LayerItem *layer );
48 KoPartSelectAction *partLayerAction() const { return m_partLayerAction; }
51 KoPartSelectAction *m_partLayerAction;
54class KisLayerItem: public LayerItem
56 typedef LayerItem super;
59 KisLayerItem( LayerList* parent, KisLayer* layer );
60 KisLayerItem( LayerItem* parent, KisLayer* layer );
62 KisLayer* layer() const;
69 virtual TQString tooltip() const;
70 virtual TQImage tooltipPreview() const;
Abstract class that represents the concept of a Layer in Chalk.
|