8#include "ui_wdgtagpreview.h"
24 m_resourceType(resourceType),
46 for (
int i = 0; i < model->rowCount(); ++i) {
47 QModelIndex idx = model->index(i, 0);
49 if (name ==
"All" || name ==
"All Untagged")
continue;
58 while (tagIter->hasNext()) {
60 KoID custom =
KoID(tagIter->tag()->url(), tagIter->tag()->name());
76 for (
int i =
m_layout->count() - 1; i >= 0; --i) {
78 if (label && label->
getText() == tagSP->name()) {
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
QSharedPointer< KisResourceStorage::TagIterator > tags(const QString &resourceType) override
KisTagSP tagForUrl(const QString &url) const override
Retrieve a tag by url.
void onTagAdded(KoID custom)
WdgTagPreview(QString resourceType, KoResourceBundleSP bundle=nullptr, QWidget *parent=nullptr)
void onTagRemoved(KoID custom)
KisTagSelectionWidget * m_wdgResourcesTags
KoResourceBundleSP m_bundle
void tagsRemoved(KisTagSP tagSP)
void tagsAdded(KisTagSP tagSP)
KisWdgTagSelectionControllerBundleTags * m_tagsController
const QString PaintOpPresets