|
Krita Source Code Documentation
|
#include <kxmlguifactory_p.h>
Public Member Functions | |
| void | adjustMergingIndices (int offset, const MergingIndexList::Iterator &it) |
| int | calcMergingIndex (const QString &mergingName, MergingIndexList::Iterator &it, BuildState &state, bool ignoreDefaultMergingIndex) |
| void | clearChildren () |
| ContainerNode (QWidget *_container, const QString &_tagName, const QString &_name, ContainerNode *_parent=0L, KisKXMLGUIClient *_client=0L, KisKXMLGUIBuilder *_builder=0L, QAction *containerAction=0, const QString &_mergingName=QString(), const QString &groupName=QString(), const QStringList &customTags=QStringList(), const QStringList &containerTags=QStringList()) | |
| bool | destruct (QDomElement element, BuildState &state) |
| void | destructChildren (const QDomElement &element, BuildState &state) |
| ContainerClient * | findChildContainerClient (KisKXMLGUIClient *currentGUIClient, const QString &groupName, const MergingIndexList::Iterator &mergingIdx) |
| ContainerNode * | findContainer (const QString &_name, bool tag) |
| ContainerNode * | findContainer (const QString &name, const QString &tagName, const QList< QWidget * > *excludeList, KisKXMLGUIClient *currClient) |
| ContainerNode * | findContainerNode (QWidget *container) |
| MergingIndexList::Iterator | findIndex (const QString &name) |
| void | plugActionList (BuildState &state) |
| void | plugActionList (BuildState &state, const MergingIndexList::Iterator &mergingIdxIt) |
| void | removeChild (ContainerNode *child) |
| void | removeChild (QMutableListIterator< ContainerNode * > &childIterator) |
| void | reset () |
| void | unplugActionList (BuildState &state) |
| void | unplugActionList (BuildState &state, const MergingIndexList::Iterator &mergingIdxIt) |
| void | unplugActions (BuildState &state) |
| void | unplugClient (ContainerClient *client) |
| ~ContainerNode () | |
Static Public Member Functions | |
| static QDomElement | findElementForChild (const QDomElement &baseElement, ContainerNode *childNode) |
Public Attributes | |
| KisKXMLGUIBuilder * | builder |
| QStringList | builderContainerTags |
| QStringList | builderCustomTags |
| QList< ContainerNode * > | children |
| KisKXMLGUIClient * | client |
| ContainerClientList | clients |
| QWidget * | container |
| QAction * | containerAction |
| QString | groupName |
| int | index |
| MergingIndexList | mergingIndices |
| QString | mergingName |
| QString | name |
| ContainerNode * | parent |
| QString | tagName |
Definition at line 94 of file kxmlguifactory_p.h.
| ContainerNode::ContainerNode | ( | QWidget * | _container, |
| const QString & | _tagName, | ||
| const QString & | _name, | ||
| ContainerNode * | _parent = 0L, | ||
| KisKXMLGUIClient * | _client = 0L, | ||
| KisKXMLGUIBuilder * | _builder = 0L, | ||
| QAction * | containerAction = 0, | ||
| const QString & | _mergingName = QString(), | ||
| const QString & | groupName = QString(), | ||
| const QStringList & | customTags = QStringList(), | ||
| const QStringList & | containerTags = QStringList() ) |
Definition at line 45 of file kxmlguifactory_p.cpp.
| ContainerNode::~ContainerNode | ( | ) |
Definition at line 61 of file kxmlguifactory_p.cpp.
| void ContainerNode::adjustMergingIndices | ( | int | offset, |
| const MergingIndexList::Iterator & | it ) |
Definition at line 312 of file kxmlguifactory_p.cpp.
References index, and mergingIndices.
| int ContainerNode::calcMergingIndex | ( | const QString & | mergingName, |
| MergingIndexList::Iterator & | it, | ||
| BuildState & | state, | ||
| bool | ignoreDefaultMergingIndex ) |
Definition at line 491 of file kxmlguifactory_p.cpp.
References KisKXMLGUI::BuildState::clientName, KisKXMLGUI::BuildState::currentDefaultMergingIt, findIndex(), index, mergingIndices, and mergingName.
|
inline |
Definition at line 125 of file kxmlguifactory_p.h.
References children.
| bool ContainerNode::destruct | ( | QDomElement | element, |
| BuildState & | state ) |
Definition at line 325 of file kxmlguifactory_p.cpp.
References builder, children, client, KisKXMLGUI::BuildState::clientName, clients, container, containerAction, destructChildren(), KisKXMLGUI::BuildState::guiClient, mergingIndices, parent, KisKXMLGUIBuilder::removeContainer(), and unplugActions().
| void ContainerNode::destructChildren | ( | const QDomElement & | element, |
| BuildState & | state ) |
Definition at line 364 of file kxmlguifactory_p.cpp.
References children, destruct(), findElementForChild(), and removeChild().
| ContainerClient * ContainerNode::findChildContainerClient | ( | KisKXMLGUIClient * | currentGUIClient, |
| const QString & | groupName, | ||
| const MergingIndexList::Iterator & | mergingIdx ) |
Definition at line 185 of file kxmlguifactory_p.cpp.
References client, clients, groupName, and mergingIndices.
| ContainerNode * ContainerNode::findContainer | ( | const QString & | _name, |
| bool | tag ) |
Definition at line 117 of file kxmlguifactory_p.cpp.
References children, findContainer(), name, and tagName.
| ContainerNode * ContainerNode::findContainer | ( | const QString & | name, |
| const QString & | tagName, | ||
| const QList< QWidget * > * | excludeList, | ||
| KisKXMLGUIClient * | currClient ) |
Definition at line 139 of file kxmlguifactory_p.cpp.
| ContainerNode * ContainerNode::findContainerNode | ( | QWidget * | container | ) |
Definition at line 102 of file kxmlguifactory_p.cpp.
|
static |
Definition at line 381 of file kxmlguifactory_p.cpp.
| MergingIndexList::Iterator ContainerNode::findIndex | ( | const QString & | name | ) |
Definition at line 87 of file kxmlguifactory_p.cpp.
References mergingIndices, and name.
| void ContainerNode::plugActionList | ( | BuildState & | state | ) |
Definition at line 215 of file kxmlguifactory_p.cpp.
References children, mergingIndices, and plugActionList().
| void ContainerNode::plugActionList | ( | BuildState & | state, |
| const MergingIndexList::Iterator & | mergingIdxIt ) |
Definition at line 228 of file kxmlguifactory_p.cpp.
References KisKXMLGUI::BuildState::actionList, KisKXMLGUI::BuildState::actionListName, adjustMergingIndices(), client, KisKXMLGUI::MergingIndex::clientName, KisKXMLGUI::BuildState::clientName, container, findChildContainerClient(), KisKXMLGUI::BuildState::guiClient, mergingIndices, KisKXMLGUI::MergingIndex::mergingName, KisKXMLGUI::ActionList::plug(), and KisKXMLGUI::MergingIndex::value.
| void ContainerNode::removeChild | ( | ContainerNode * | child | ) |
Definition at line 67 of file kxmlguifactory_p.cpp.
References adjustMergingIndices(), children, findIndex(), and mergingName.
| void ContainerNode::removeChild | ( | QMutableListIterator< ContainerNode * > & | childIterator | ) |
Definition at line 75 of file kxmlguifactory_p.cpp.
References adjustMergingIndices(), and findIndex().
| void ContainerNode::reset | ( | ) |
Definition at line 480 of file kxmlguifactory_p.cpp.
References children, client, reset(), and KisKXMLGUIClient::setFactory().
| void ContainerNode::unplugActionList | ( | BuildState & | state | ) |
Definition at line 261 of file kxmlguifactory_p.cpp.
References children, mergingIndices, and unplugActionList().
| void ContainerNode::unplugActionList | ( | BuildState & | state, |
| const MergingIndexList::Iterator & | mergingIdxIt ) |
Definition at line 274 of file kxmlguifactory_p.cpp.
References KisKXMLGUI::BuildState::actionListName, adjustMergingIndices(), client, KisKXMLGUI::MergingIndex::clientName, KisKXMLGUI::BuildState::clientName, container, findChildContainerClient(), KisKXMLGUI::BuildState::guiClient, mergingIndices, and KisKXMLGUI::MergingIndex::mergingName.
| void ContainerNode::unplugActions | ( | BuildState & | state | ) |
Definition at line 397 of file kxmlguifactory_p.cpp.
References clients, container, KisKXMLGUI::BuildState::guiClient, and unplugClient().
| void ContainerNode::unplugClient | ( | ContainerClient * | client | ) |
Definition at line 428 of file kxmlguifactory_p.cpp.
References adjustMergingIndices(), builder, client, container, findIndex(), mergingIndices, KisKXMLGUIBuilder::removeCustomElement(), and KisToolBar::removeXMLGUIClient().
| KisKXMLGUIBuilder* KisKXMLGUI::ContainerNode::builder |
Definition at line 106 of file kxmlguifactory_p.h.
| QStringList KisKXMLGUI::ContainerNode::builderContainerTags |
Definition at line 108 of file kxmlguifactory_p.h.
| QStringList KisKXMLGUI::ContainerNode::builderCustomTags |
Definition at line 107 of file kxmlguifactory_p.h.
| QList<ContainerNode *> KisKXMLGUI::ContainerNode::children |
Definition at line 118 of file kxmlguifactory_p.h.
| KisKXMLGUIClient* KisKXMLGUI::ContainerNode::client |
Definition at line 105 of file kxmlguifactory_p.h.
| ContainerClientList KisKXMLGUI::ContainerNode::clients |
Definition at line 117 of file kxmlguifactory_p.h.
| QWidget* KisKXMLGUI::ContainerNode::container |
Definition at line 109 of file kxmlguifactory_p.h.
| QAction* KisKXMLGUI::ContainerNode::containerAction |
Definition at line 110 of file kxmlguifactory_p.h.
| QString KisKXMLGUI::ContainerNode::groupName |
Definition at line 115 of file kxmlguifactory_p.h.
| int KisKXMLGUI::ContainerNode::index |
Definition at line 120 of file kxmlguifactory_p.h.
| MergingIndexList KisKXMLGUI::ContainerNode::mergingIndices |
Definition at line 121 of file kxmlguifactory_p.h.
| QString KisKXMLGUI::ContainerNode::mergingName |
Definition at line 123 of file kxmlguifactory_p.h.
| QString KisKXMLGUI::ContainerNode::name |
Definition at line 113 of file kxmlguifactory_p.h.
| ContainerNode* KisKXMLGUI::ContainerNode::parent |
Definition at line 104 of file kxmlguifactory_p.h.
| QString KisKXMLGUI::ContainerNode::tagName |
Definition at line 112 of file kxmlguifactory_p.h.