krita/ui
KisNodeManager Class Reference
The node manager passes requests for new layers or masks on to the mask and layer managers. More...
#include <kis_node_manager.h>

Public Slots | |
| void | activateNode (KisNodeSP layer) |
| void | addNode (KisNodeSP node, KisNodeSP activeNode) |
| void | createNode (const QString &node) |
| void | duplicateActiveNode () |
| void | insertNode (KisNodeSP node, KisNodeSP parent, int index) |
| void | lowerNode () |
| void | mirrorNodeX () |
| void | mirrorNodeY () |
| void | moveNode (KisNodeSP node, KisNodeSP activeNode) |
| void | moveNodeAt (KisNodeSP node, KisNodeSP parent, int index) |
| void | nodeCompositeOpChanged (const KoCompositeOp *op) |
| void | nodeOpacityChanged (qreal opacity, bool finalChange) |
| void | nodeProperties (KisNodeSP node) |
| void | nodesUpdated () |
| void | nodeToBottom () |
| void | nodeToTop () |
| void | raiseNode () |
| void | removeNode (KisNodeSP node) |
Signals | |
| void | sigNodeActivated (KisNodeSP layer) |
Public Member Functions | |
| KisNodeManager (KisView2 *view, KisDoc2 *doc) | |
| ~KisNodeManager () | |
| const KoColorSpace * | activeColorSpace () |
| KisNodeSP | activeNode () |
| KisPaintDeviceSP | activePaintDevice () |
| KisLayerManager * | layerManager () |
| KisMaskManager * | maskManager () |
| void | setNodeCompositeOp (KisNodeSP node, const KoCompositeOp *compositeOp) |
| void | setNodeOpacity (KisNodeSP node, qint32 opacity, bool finalChange) |
| void | setup (KActionCollection *collection) |
| void | updateGUI () |
Detailed Description
The node manager passes requests for new layers or masks on to the mask and layer managers.
Definition at line 47 of file kis_node_manager.h.
Constructor & Destructor Documentation
Definition at line 68 of file kis_node_manager.cpp.
| KisNodeManager::~KisNodeManager | ( | ) |
Definition at line 80 of file kis_node_manager.cpp.
Member Function Documentation
| void KisNodeManager::activateNode | ( | KisNodeSP | layer | ) | [slot] |
Definition at line 252 of file kis_node_manager.cpp.
| const KoColorSpace * KisNodeManager::activeColorSpace | ( | ) |
- Returns:
- the active color space used for composition, meaning the color space of the active mask, or the color space of the parent of the active layer
Definition at line 112 of file kis_node_manager.cpp.
| KisNodeSP KisNodeManager::activeNode | ( | ) |
Convenience function to get the active layer.
Definition at line 107 of file kis_node_manager.cpp.
| KisPaintDeviceSP KisNodeManager::activePaintDevice | ( | ) |
Get the paint device the user wants to paint on now.
Definition at line 326 of file kis_node_manager.cpp.
| void KisNodeManager::addNode | ( | KisNodeSP | node, | |
| KisNodeSP | activeNode | |||
| ) | [slot] |
Definition at line 182 of file kis_node_manager.cpp.
| void KisNodeManager::createNode | ( | const QString & | node | ) | [slot] |
Definition at line 217 of file kis_node_manager.cpp.
| void KisNodeManager::duplicateActiveNode | ( | ) | [slot] |
Definition at line 389 of file kis_node_manager.cpp.
| void KisNodeManager::insertNode | ( | KisNodeSP | node, | |
| KisNodeSP | parent, | |||
| int | index | |||
| ) | [slot] |
Definition at line 192 of file kis_node_manager.cpp.
| KisLayerManager * KisNodeManager::layerManager | ( | ) |
Get the class that manages the layer user interface.
Definition at line 130 of file kis_node_manager.cpp.
| void KisNodeManager::lowerNode | ( | ) | [slot] |
move the active node down the nodestack
Definition at line 415 of file kis_node_manager.cpp.
| KisMaskManager * KisNodeManager::maskManager | ( | ) |
Get the class that manages the user interface for the masks.
Definition at line 135 of file kis_node_manager.cpp.
| void KisNodeManager::mirrorNodeX | ( | ) | [slot] |
Definition at line 456 of file kis_node_manager.cpp.
| void KisNodeManager::mirrorNodeY | ( | ) | [slot] |
Definition at line 466 of file kis_node_manager.cpp.
| void KisNodeManager::moveNode | ( | KisNodeSP | node, | |
| KisNodeSP | activeNode | |||
| ) | [slot] |
Definition at line 199 of file kis_node_manager.cpp.
| void KisNodeManager::moveNodeAt | ( | KisNodeSP | node, | |
| KisNodeSP | parent, | |||
| int | index | |||
| ) | [slot] |
Definition at line 209 of file kis_node_manager.cpp.
| void KisNodeManager::nodeCompositeOpChanged | ( | const KoCompositeOp * | op | ) | [slot] |
Definition at line 382 of file kis_node_manager.cpp.
| void KisNodeManager::nodeOpacityChanged | ( | qreal | opacity, | |
| bool | finalChange | |||
| ) | [slot] |
Definition at line 375 of file kis_node_manager.cpp.
| void KisNodeManager::nodeProperties | ( | KisNodeSP | node | ) | [slot] |
Definition at line 333 of file kis_node_manager.cpp.
| void KisNodeManager::nodesUpdated | ( | ) | [slot] |
Definition at line 313 of file kis_node_manager.cpp.
| void KisNodeManager::nodeToBottom | ( | ) | [slot] |
move the activenode to the bottom-most position of the nodestack If the node is a mask, the stack is limited to the set of masks belonging to the current layer.
Definition at line 439 of file kis_node_manager.cpp.
| void KisNodeManager::nodeToTop | ( | ) | [slot] |
move the activenode to the top-most position of the nodestack If the node is a mask, the stack is limited to the set of masks belonging to the current layer.
Definition at line 428 of file kis_node_manager.cpp.
| void KisNodeManager::raiseNode | ( | ) | [slot] |
move the active node up the nodestack.
Definition at line 403 of file kis_node_manager.cpp.
| void KisNodeManager::removeNode | ( | KisNodeSP | node | ) | [slot] |
Definition at line 449 of file kis_node_manager.cpp.
| void KisNodeManager::setNodeCompositeOp | ( | KisNodeSP | node, | |
| const KoCompositeOp * | compositeOp | |||
| ) |
Sets compositeOp for the node in a universal way (masks/layers).
Definition at line 366 of file kis_node_manager.cpp.
| void KisNodeManager::setNodeOpacity | ( | KisNodeSP | node, | |
| qint32 | opacity, | |||
| bool | finalChange | |||
| ) |
Sets opacity for the node in a universal way (masks/layers).
Definition at line 352 of file kis_node_manager.cpp.
| void KisNodeManager::setup | ( | KActionCollection * | collection | ) |
Definition at line 85 of file kis_node_manager.cpp.
| void KisNodeManager::sigNodeActivated | ( | KisNodeSP | layer | ) | [signal] |
| void KisNodeManager::updateGUI | ( | ) |
Definition at line 99 of file kis_node_manager.cpp.
The documentation for this class was generated from the following files:
