|
Krita Source Code Documentation
|
#include <wdgtagselection.h>
Inheritance diagram for KisWdgTagSelectionControllerBundleTags:Classes | |
| struct | TagResourceType |
Public Slots | |
| void | slotAddTag (KoID tag) |
| void | slotRemoveTag (KoID tag) |
Signals | |
| void | tagAdded (KoID tag) |
| void | tagRemoved (KoID tag) |
Public Member Functions | |
| void | addTag (KoID tag) |
| QList< int > | getSelectedTagIds () const |
| KisWdgTagSelectionControllerBundleTags (KisTagSelectionWidget *widget, bool editable) | |
| void | setResourceType (const QString &resourceType) |
| void | updateView () |
| ~KisWdgTagSelectionControllerBundleTags () override | |
Private Attributes | |
| bool | m_editable {true} |
| QString | m_resourceType {""} |
| QList< KoID > | m_selectedTags |
| QMap< QString, QList< KoID > > | m_selectedTagsByResourceType |
| QSharedPointer< KisTagModel > | m_tagModel |
| QSharedPointer< KisTagResourceModel > | m_tagResourceModel |
| KisTagSelectionWidget * | m_tagSelectionWidget {0} |
Definition at line 49 of file wdgtagselection.h.
| KisWdgTagSelectionControllerBundleTags::KisWdgTagSelectionControllerBundleTags | ( | KisTagSelectionWidget * | widget, |
| bool | editable ) |
Definition at line 183 of file wdgtagselection.cpp.
References connect(), slotAddTag(), slotRemoveTag(), and updateView().
|
override |
Definition at line 193 of file wdgtagselection.cpp.
Definition at line 237 of file wdgtagselection.cpp.
References m_resourceType, m_selectedTagsByResourceType, tagAdded(), and updateView().
| QList< int > KisWdgTagSelectionControllerBundleTags::getSelectedTagIds | ( | ) | const |
Definition at line 198 of file wdgtagselection.cpp.
References KoID::id(), m_resourceType, m_selectedTagsByResourceType, and KisTagModel::tagForUrl().
| void KisWdgTagSelectionControllerBundleTags::setResourceType | ( | const QString & | resourceType | ) |
Definition at line 296 of file wdgtagselection.cpp.
References m_resourceType, and updateView().
Definition at line 224 of file wdgtagselection.cpp.
References m_resourceType, m_selectedTagsByResourceType, tagAdded(), and updateView().
Definition at line 212 of file wdgtagselection.cpp.
References m_resourceType, m_selectedTagsByResourceType, tagRemoved(), and updateView().
| void KisWdgTagSelectionControllerBundleTags::updateView | ( | ) |
Definition at line 250 of file wdgtagselection.cpp.
References ResourceType::Brushes, ResourceType::GamutMasks, ResourceType::Gradients, KisAllTagsModel::KisTagRole, ResourceType::LayerStyles, m_editable, m_resourceType, m_selectedTagsByResourceType, m_tagSelectionWidget, ResourceType::PaintOpPresets, ResourceType::Palettes, ResourceType::Patterns, ResourceType::SeExprScripts, KisTagSelectionWidget::setTagList(), and ResourceType::Workspaces.
|
private |
Definition at line 80 of file wdgtagselection.h.
|
private |
Definition at line 81 of file wdgtagselection.h.
Definition at line 83 of file wdgtagselection.h.
|
private |
Definition at line 85 of file wdgtagselection.h.
|
private |
Definition at line 87 of file wdgtagselection.h.
|
private |
Definition at line 88 of file wdgtagselection.h.
|
private |
Definition at line 79 of file wdgtagselection.h.