|
Krita Source Code Documentation
|
#include <NodePropertyAction_p.h>
Inheritance diagram for NodeView::PropertyAction:Signals | |
| void | toggled (bool on, const QPersistentModelIndex &index, int property) |
Public Member Functions | |
| PropertyAction (int num, const KisBaseNode::Property &p, const QPersistentModelIndex &index, QObject *parent=0) | |
Private Types | |
| typedef QAction | super |
Private Slots | |
| void | slotTriggered () |
Private Attributes | |
| QPersistentModelIndex | m_index |
| int | m_num |
| KisBaseNode::Property | m_property |
Internal class for the NodeView widget. Provides a toggle action for a particular property associated with a document section, such as visible, selected, locked. Property actions have associated on/off icons to show their state in the NodeView.
Definition at line 24 of file NodePropertyAction_p.h.
|
private |
Definition at line 26 of file NodePropertyAction_p.h.
|
inline |
Definition at line 36 of file NodePropertyAction_p.h.
References connect(), m_property, KisBaseNode::Property::name, KisBaseNode::Property::offIcon, KisBaseNode::Property::onIcon, slotTriggered(), and KisBaseNode::Property::state.
|
inlineprivateslot |
Definition at line 45 of file NodePropertyAction_p.h.
References m_index, m_num, m_property, KisBaseNode::Property::offIcon, KisBaseNode::Property::onIcon, KisBaseNode::Property::state, and toggled().
|
signal |
|
private |
Definition at line 30 of file NodePropertyAction_p.h.
|
private |
Definition at line 29 of file NodePropertyAction_p.h.
|
private |
Definition at line 28 of file NodePropertyAction_p.h.