krita
LayerList Class Reference
Inheritance diagram for LayerList:

Detailed Description
Definition at line 34 of file layerlist.h.
Public Slots | |
| void | setFoldersCanBeActive (bool can) |
| void | setPreviewsShown (bool show) |
| void | setItemHeight (int height) |
| void | setNumRows (int rows) |
| void | setActiveLayer (LayerItem *layer) |
| void | setActiveLayer (int id) |
| void | setLayerDisplayName (LayerItem *layer, const QString &displayName) |
| void | setLayerDisplayName (int id, const QString &displayName) |
| void | setLayerProperty (LayerItem *layer, const QString &name, bool on) |
| void | setLayerProperty (int id, const QString &name, bool on) |
| void | toggleLayerProperty (LayerItem *layer, const QString &name) |
| void | toggleLayerProperty (int id, const QString &name) |
| void | setLayerPreviewImage (LayerItem *layer, QImage *image) |
| void | setLayerPreviewImage (int id, QImage *image) |
| void | layerPreviewChanged (LayerItem *layer) |
| void | layerPreviewChanged (int id) |
| LayerItem * | addLayer (const QString &displayName, LayerItem *after=0, int id=-1) |
| LayerItem * | addLayer (const QString &displayName, int afterID, int id=-1) |
| LayerItem * | addLayerToParent (const QString &displayName, LayerItem *parent, LayerItem *after=0, int id=-1) |
| LayerItem * | addLayerToParent (const QString &displayName, int parentID, int afterID=-1, int id=-1) |
| void | moveLayer (LayerItem *layer, LayerItem *parent, LayerItem *after) |
| void | moveLayer (int id, int parentID, int afterID) |
| void | removeLayer (LayerItem *layer) |
| void | removeLayer (int id) |
Signals | |
| void | activated (LayerItem *layer) |
| void | activated (int id) |
| void | displayNameChanged (LayerItem *layer, const QString &displayName) |
| void | displayNameChanged (int id, const QString &displayName) |
| void | propertyChanged (LayerItem *layer, const QString &name, bool on) |
| void | propertyChanged (int id, const QString &name, bool on) |
| void | layerMoved (LayerItem *layer, LayerItem *parent, LayerItem *after) |
| void | layerMoved (int id, int parentID, int afterID) |
| void | requestNewLayer (LayerItem *parent, LayerItem *after) |
| void | requestNewLayer (int parentID, int afterID) |
| void | requestNewFolder (LayerItem *parent, LayerItem *after) |
| void | requestNewFolder (int parentID, int afterID) |
| void | requestRemoveLayer (LayerItem *layer) |
| void | requestRemoveLayer (int id) |
| void | requestRemoveLayers (QValueList< LayerItem * > layers) |
| void | requestRemoveLayers (QValueList< int > ids) |
| void | requestLayerProperties (LayerItem *layer) |
| void | requestLayerProperties (int id) |
Public Member Functions | |
| LayerList (QWidget *parent=0, const char *name=0) | |
| virtual | ~LayerList () |
| void | addProperty (const QString &name, const QString &displayName, const QIconSet &icon=QIconSet(), bool defaultValue=false, bool validForFolders=true) |
| void | addProperty (const QString &name, const QString &displayName, QPixmap enabled, QPixmap disabled, bool defaultValue=false, bool validForFolders=true) |
| bool | foldersCanBeActive () const |
| bool | previewsShown () const |
| int | itemHeight () const |
| int | numRows () const |
| LayerItem * | layer (int id) const |
| LayerItem * | folder (int id) const |
| LayerItem * | activeLayer () const |
| int | activeLayerID () const |
| QValueList< LayerItem * > | selectedLayers () const |
| QValueList< int > | selectedLayerIDs () const |
| void | makeFolder (int id) |
| bool | isFolder (int id) const |
| QString | displayName (int id) const |
| bool | property (int id, const QString &name) const |
| KPopupMenu * | contextMenu () const |
| LayerItem * | firstChild () const |
| LayerItem * | lastChild () const |
| virtual void | setCurrentItem (QListViewItem *i) |
Protected Slots | |
| virtual void | constructMenu (LayerItem *layer) |
| virtual void | menuActivated (int id, LayerItem *layer) |
Protected Member Functions | |
| virtual void | contentsMousePressEvent (QMouseEvent *e) |
| virtual void | contentsMouseDoubleClickEvent (QMouseEvent *e) |
| virtual void | findDrop (const QPoint &pos, QListViewItem *&parent, QListViewItem *&after) |
Friends | |
| class | LayerItem |
| class | LayerToolTIp |
Classes | |
| struct | MenuItems |
The documentation for this class was generated from the following files:

