Krita Source Code Documentation
Loading...
Searching...
No Matches
TagFilterProxyModelQmlWrapper Class Reference

The TagFilterProxyModelQmlWrapper class. More...

#include <TagFilterProxyModelQmlWrapper.h>

+ Inheritance diagram for TagFilterProxyModelQmlWrapper:

Classes

struct  Private
 

Signals

void activeTagChanged ()
 
void currentResourceChanged ()
 
void modelChanged ()
 
void modelSortUpdated ()
 
void resourceTypeChanged ()
 
void searchInTagChanged ()
 
void searchTextChanged ()
 
void tagModelChanged ()
 

Public Member Functions

Q_INVOKABLE void addNewTag (const QString &newTagName, const int &resourceIndex=-1)
 Add new tag.
 
int currentIndex () const
 Current resource index in tagfilterproxy.
 
KoResourceSP currentResource () const
 current resource.
 
int currentTag () const
 Return row of current tag in tag model.
 
bool importEnabled () const
 Returns whether the current resource has a ResourceLocator.
 
Q_INVOKABLE void importResource ()
 Import a resource with file picker.
 
QAbstractItemModel * model () const
 The tagfilterproxymodel.
 
Q_INVOKABLE void removeResource ()
 Disable the currently selected resource.
 
QString resourceFilename ()
 File name of the current resource.
 
QString resourceName () const
 Name of current resource.
 
QString resourceType () const
 The current resource type.
 
QString resourceTypeName () const
 
bool searchInTag ()
 Whether "search in tag is enabled".
 
QString searchText () const
 The current search text on the filter model.
 
void setCurrentIndex (const int &index)
 Set the resource index in tagfilterproxy.
 
void setResourceToFileName (const QString &filename)
 Set current resource to resource file name.
 
void setResourceToName (const QString &name)
 
void setResourceType (const QString &type)
 
void setSearchInTag (const bool &newSearchInTag)
 Toggle "search in tag".
 
void setSearchText (const QString &text)
 
Q_INVOKABLE bool showResourceTagged (const int &tagIndex, const int &resourceIndex) const
 Is the resource tagged with the current tagindex.
 
void tagActivated (const int &row)
 Select tag at row in tag model.
 
 TagFilterProxyModelQmlWrapper (QObject *parent=nullptr)
 
Q_INVOKABLE QVariantList taggedResourceModel (const int &resourceIndex) const
 Get a variantlist with the tags for the given resource index.
 
QAbstractItemModel * tagModel () const
 Associated tagmodel.
 
Q_INVOKABLE void tagResource (const int &tagIndex, const int &resourceIndex)
 Tag the resource.
 
Q_INVOKABLE QVariant testFileName (const QString &name)
 Test if the given filename is in the resources.
 
Q_INVOKABLE QVariant testName (const QString &name)
 Test if the given name is in the resources.
 
Q_INVOKABLE void untagResource (const int &tagIndex, const int &resourceIndex)
 Untag the resource.
 
 ~TagFilterProxyModelQmlWrapper ()
 

Properties

int currentIndex
 
KoResourceSP currentResource
 
int currentTag
 
bool importEnabled
 
QAbstractItemModel * model
 
QString resourceFilename
 
QString resourceName
 
QString resourceType
 
QString resourceTypeName
 
bool searchInTag
 
QString searchText
 
QAbstractItemModel * tagModel
 

Private Slots

void setSearchTextOnModel ()
 

Private Attributes

const QScopedPointer< Privated
 

Detailed Description

The TagFilterProxyModelQmlWrapper class.

This class wraps around KisTagFilterResourceProxyModel, providing properties, signal compressors and handling setting the source model.

Definition at line 20 of file TagFilterProxyModelQmlWrapper.h.

Constructor & Destructor Documentation

◆ TagFilterProxyModelQmlWrapper()

TagFilterProxyModelQmlWrapper::TagFilterProxyModelQmlWrapper ( QObject * parent = nullptr)

Definition at line 52 of file TagFilterProxyModelQmlWrapper.cpp.

53 : QObject(parent)
54 , d(new Private(parent))
55{
56
57 connect(&d->compressor, SIGNAL(timeout()), this, SLOT(setSearchTextOnModel()));
58}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))

References connect(), d, and setSearchTextOnModel().

◆ ~TagFilterProxyModelQmlWrapper()

TagFilterProxyModelQmlWrapper::~TagFilterProxyModelQmlWrapper ( )

Definition at line 60 of file TagFilterProxyModelQmlWrapper.cpp.

61{
62}

Member Function Documentation

◆ activeTagChanged

void TagFilterProxyModelQmlWrapper::activeTagChanged ( )
signal

◆ addNewTag()

void TagFilterProxyModelQmlWrapper::addNewTag ( const QString & newTagName,
const int & resourceIndex = -1 )

Add new tag.

Definition at line 158 of file TagFilterProxyModelQmlWrapper.cpp.

159{
160 if (!d->tagModel || !d->tagFilterProxyModel) return;
161 KisTagSP tagsp = d->tagModel->tagForUrl(newTagName);
162 QModelIndex resourceIdx = d->tagFilterProxyModel->index(resourceIndex, 0);
163 if (tagsp.isNull()) {
165 tagsp = d->tagModel->addTag(newTagName, false, vec);
166
167 }
168 // TODO: figure out how to get a tag reactivated again, without doing too much code duplication :|
169 if (resourceIdx.isValid()) {
170 int resourceId = d->tagFilterProxyModel->data(resourceIdx, Qt::UserRole + KisResourceModel::Id).toInt();
171 d->tagFilterProxyModel->tagResources(tagsp, {resourceId});
172 }
173
174}

References d, and KisAbstractResourceModel::Id.

◆ currentIndex()

int TagFilterProxyModelQmlWrapper::currentIndex ( ) const

Current resource index in tagfilterproxy.

Definition at line 247 of file TagFilterProxyModelQmlWrapper.cpp.

248{
249 if (!d->tagFilterProxyModel) return -1;
250 return d->tagFilterProxyModel->indexForResource(d->currentResource).row();
251}

References d.

◆ currentResource()

KoResourceSP TagFilterProxyModelQmlWrapper::currentResource ( ) const

current resource.

Definition at line 305 of file TagFilterProxyModelQmlWrapper.cpp.

306{
307 return d->currentResource;
308}

References d.

◆ currentResourceChanged

void TagFilterProxyModelQmlWrapper::currentResourceChanged ( )
signal

◆ currentTag()

int TagFilterProxyModelQmlWrapper::currentTag ( ) const

Return row of current tag in tag model.

Definition at line 122 of file TagFilterProxyModelQmlWrapper.cpp.

123{
124 if (!d->tagModel) return 0;
125 return d->tagModel->indexForTag(d->tagFilterProxyModel->currentTagFilter()).row();
126}

References d.

◆ importEnabled()

bool TagFilterProxyModelQmlWrapper::importEnabled ( ) const

Returns whether the current resource has a ResourceLocator.

Definition at line 105 of file TagFilterProxyModelQmlWrapper.cpp.

106{
107 return KisResourceLoaderRegistry::instance()->resourceTypes().contains(d->resourceType);
108}
static KisResourceLoaderRegistry * instance()

References d, KisResourceLoaderRegistry::instance(), and KisResourceLoaderRegistry::resourceTypes().

◆ importResource()

void TagFilterProxyModelQmlWrapper::importResource ( )

Import a resource with file picker.

We have overridden the currently selected resource and nothing is selected now

Definition at line 340 of file TagFilterProxyModelQmlWrapper.cpp.

341{
342 // Below copied from KisResourceItemChooser::slotButtonClicked
343 QStringList mimeTypes = KisResourceLoaderRegistry::instance()->mimeTypes(d->resourceType);
344 KoFileDialog dialog(QApplication::activeWindow(), KoFileDialog::OpenFiles, "OpenDocument");
345 dialog.setMimeTypeFilters(mimeTypes);
346 dialog.setDefaultDir(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation));
347 dialog.setCaption(i18nc("@title:window", "Choose File to Add"));
348 Q_FOREACH(const QString &filename, dialog.filenames()) {
349 if (QFileInfo(filename).exists() && QFileInfo(filename).isReadable()) {
350
351 KoResourceSP previousResource = this->currentResource();
352 KoResourceSP newResource = KisResourceUserOperations::importResourceFileWithUserInput(QApplication::activeWindow(), "", d->resourceType, filename);
353
354 if (previousResource && newResource && !currentResource()) {
357 QModelIndex index = d->tagFilterProxyModel->indexForResource(newResource);
358 setCurrentIndex(index.row());
359 }
360 }
361 }
362}
QStringList mimeTypes(const QString &resourceType) const
static KoResourceSP importResourceFileWithUserInput(QWidget *widgetParent, QString storageLocation, QString resourceType, QString resourceFilepath)
void setCurrentIndex(const int &index)
Set the resource index in tagfilterproxy.

References currentResource, d, KisResourceUserOperations::importResourceFileWithUserInput(), KisResourceLoaderRegistry::instance(), KisResourceLoaderRegistry::mimeTypes(), KoFileDialog::OpenFiles, and setCurrentIndex().

◆ model()

QAbstractItemModel * TagFilterProxyModelQmlWrapper::model ( ) const

The tagfilterproxymodel.

Definition at line 64 of file TagFilterProxyModelQmlWrapper.cpp.

65{
66 return d->tagFilterProxyModel;
67}

References d.

◆ modelChanged

void TagFilterProxyModelQmlWrapper::modelChanged ( )
signal

◆ modelSortUpdated

void TagFilterProxyModelQmlWrapper::modelSortUpdated ( )
signal

◆ removeResource()

void TagFilterProxyModelQmlWrapper::removeResource ( )

Disable the currently selected resource.

Definition at line 364 of file TagFilterProxyModelQmlWrapper.cpp.

365{
366 // Below copied from KisResourceItemChooser::slotButtonClicked
367 QModelIndex index = d->tagFilterProxyModel->indexForResource(d->currentResource);
368 if (index.isValid()) {
369 d->tagFilterProxyModel->setResourceInactive(index);
370 }
371 int row = index.row();
372 int rowMin = --row;
373 row = qBound(0, rowMin, row);
374 setCurrentIndex(row);
375}

References d, and setCurrentIndex().

◆ resourceFilename()

QString TagFilterProxyModelQmlWrapper::resourceFilename ( )

File name of the current resource.

◆ resourceName()

QString TagFilterProxyModelQmlWrapper::resourceName ( ) const

Name of current resource.

Definition at line 285 of file TagFilterProxyModelQmlWrapper.cpp.

286{
287 return d->currentResource? d->currentResource->name(): "";
288}

References d.

◆ resourceType()

QString TagFilterProxyModelQmlWrapper::resourceType ( ) const

The current resource type.

Definition at line 74 of file TagFilterProxyModelQmlWrapper.cpp.

75{
76 return d->resourceType;
77}

References d.

◆ resourceTypeChanged

void TagFilterProxyModelQmlWrapper::resourceTypeChanged ( )
signal

◆ resourceTypeName()

QString TagFilterProxyModelQmlWrapper::resourceTypeName ( ) const

The property translated name for the current resource type. This might assert if there's no proper translated name.

Definition at line 98 of file TagFilterProxyModelQmlWrapper.cpp.

99{
100 if (d->resourceType.isEmpty()) return i18n("Resource");
101 // TODO: We should have separate translated entries for singular.
102 return ResourceName::resourceTypeToName(d->resourceType);
103}
KRITARESOURCES_EXPORT QString resourceTypeToName(const QString &resourceType)

References d, and ResourceName::resourceTypeToName().

◆ searchInTag()

bool TagFilterProxyModelQmlWrapper::searchInTag ( )

Whether "search in tag is enabled".

◆ searchInTagChanged

void TagFilterProxyModelQmlWrapper::searchInTagChanged ( )
signal

◆ searchText()

QString TagFilterProxyModelQmlWrapper::searchText ( ) const

The current search text on the filter model.

Definition at line 128 of file TagFilterProxyModelQmlWrapper.cpp.

129{
130 return d->currentSearchText;
131}

References d.

◆ searchTextChanged

void TagFilterProxyModelQmlWrapper::searchTextChanged ( )
signal

◆ setCurrentIndex()

void TagFilterProxyModelQmlWrapper::setCurrentIndex ( const int & index)

Set the resource index in tagfilterproxy.

Definition at line 253 of file TagFilterProxyModelQmlWrapper.cpp.

254{
255 if (!d->tagFilterProxyModel) return;
256 QModelIndex resourceIdx = d->tagFilterProxyModel->index(index, 0);
257 if (!resourceIdx.isValid()) return;
258 KoResourceSP newResource = d->tagFilterProxyModel->resourceForIndex(resourceIdx);
259 if (newResource != d->currentResource) {
260 d->currentResource = newResource;
262 }
263}

References currentResourceChanged(), and d.

◆ setResourceToFileName()

void TagFilterProxyModelQmlWrapper::setResourceToFileName ( const QString & filename)

Set current resource to resource file name.

Definition at line 265 of file TagFilterProxyModelQmlWrapper.cpp.

266{
267 if (!d->allResourceModel) return;
268 if (d->currentResource && d->currentResource->filename() == filename) return;
269 KoResourceSP resource = d->currentResource;
270 QVector<KoResourceSP> resources = d->allResourceModel->resourcesForFilename(filename);
271 if (!resources.isEmpty()) {
272 resource = resources.first();
273 }
274 if (resource != d->currentResource) {
275 d->currentResource = resource;
277 }
278}

References currentResourceChanged(), and d.

◆ setResourceToName()

void TagFilterProxyModelQmlWrapper::setResourceToName ( const QString & name)

Definition at line 290 of file TagFilterProxyModelQmlWrapper.cpp.

291{
292 if (!d->allResourceModel) return;
293 if (d->currentResource && d->currentResource->name() == name) return;
294 KoResourceSP resource = d->currentResource;
295 QVector<KoResourceSP> resources = d->allResourceModel->resourcesForName(name);
296 if (!resources.isEmpty()) {
297 resource = resources.first();
298 }
299 if (resource != d->currentResource) {
300 d->currentResource = resource;
302 }
303}

References currentResourceChanged(), and d.

◆ setResourceType()

void TagFilterProxyModelQmlWrapper::setResourceType ( const QString & type)

Setting the current resource type, this expects a resource type from KisResourceTypes, as this will be passed onto the initializers of the all internal resource related models.

Definition at line 79 of file TagFilterProxyModelQmlWrapper.cpp.

80{
81 if (d->resourceType == type) return;
82
83 d->resourceType = type;
84 d->setupNewResourceType();
85 d->currentSearchText = "";
86 d->currentResource.reset();
87
89 emit tagModelChanged();
90 emit modelChanged();
91 emit searchTextChanged();
92 emit searchInTagChanged();
93 emit activeTagChanged();
94 emit modelSortUpdated();
96}

References activeTagChanged(), currentResourceChanged(), d, modelChanged(), modelSortUpdated(), resourceTypeChanged(), searchInTagChanged(), searchTextChanged(), and tagModelChanged().

◆ setSearchInTag()

void TagFilterProxyModelQmlWrapper::setSearchInTag ( const bool & newSearchInTag)

Toggle "search in tag".

Definition at line 143 of file TagFilterProxyModelQmlWrapper.cpp.

144{
145 if (!d->tagFilterProxyModel) return;
146 if (d->tagFilterProxyModel->filterInCurrentTag() != newSearchInTag) {
147 d->tagFilterProxyModel->setFilterInCurrentTag(newSearchInTag);
148 emit searchInTagChanged();
149 }
150}

References d, and searchInTagChanged().

◆ setSearchText()

void TagFilterProxyModelQmlWrapper::setSearchText ( const QString & text)

Definition at line 133 of file TagFilterProxyModelQmlWrapper.cpp.

134{
135 if (d->currentSearchText == text) {
136 return;
137 }
138 d->currentSearchText = text;
139 emit searchTextChanged();
140 d->compressor.start();
141}

References d, and searchTextChanged().

◆ setSearchTextOnModel

void TagFilterProxyModelQmlWrapper::setSearchTextOnModel ( )
privateslot

Slot to set the search text on the model via a signal compressor. The search can be quite slow, so the signal compressor can elevate the delay here.

Definition at line 377 of file TagFilterProxyModelQmlWrapper.cpp.

378{
379 if (!d->tagFilterProxyModel) return;
380 d->tagFilterProxyModel->setSearchText(d->currentSearchText);
381 emit modelSortUpdated();
382}

References d, and modelSortUpdated().

◆ showResourceTagged()

bool TagFilterProxyModelQmlWrapper::showResourceTagged ( const int & tagIndex,
const int & resourceIndex ) const

Is the resource tagged with the current tagindex.

Definition at line 227 of file TagFilterProxyModelQmlWrapper.cpp.

228{
229 if (!d->tagModel || !d->tagFilterProxyModel) return false;
230 QModelIndex idx = d->tagModel->index(tagIndex, 0);
231 QModelIndex resourceIdx = d->tagFilterProxyModel->index(resourceIndex, 0);
232 KisTagSP tagsp;
233 if (idx.isValid()) {
234 tagsp = d->tagModel->tagForIndex(idx);
235 }
236 if (tagsp) {
237 if (tagsp->id() < 0) return false;
238 return true;
239 if (resourceIdx.isValid()) {
240 int resourceId = d->tagFilterProxyModel->data(resourceIdx, Qt::UserRole + KisResourceModel::Id).toInt();
241 return d->tagFilterProxyModel->isResourceTagged(tagsp, resourceId);
242 }
243 }
244 return false;
245}

References d, and KisAbstractResourceModel::Id.

◆ tagActivated()

void TagFilterProxyModelQmlWrapper::tagActivated ( const int & row)

Select tag at row in tag model.

Definition at line 110 of file TagFilterProxyModelQmlWrapper.cpp.

111{
112 if (!d->tagModel || !d->tagFilterProxyModel) return;
113 QModelIndex idx = d->tagModel->index(row, 0);
114 if (idx.isValid()) {
115 KisTagSP tag = d->tagModel->tagForIndex(idx);
116 if (tag == d->tagFilterProxyModel->currentTagFilter()) return;
117 d->tagFilterProxyModel->setTagFilter(tag);
118 emit activeTagChanged();
119 }
120}

References activeTagChanged(), and d.

◆ taggedResourceModel()

QVariantList TagFilterProxyModelQmlWrapper::taggedResourceModel ( const int & resourceIndex) const

Get a variantlist with the tags for the given resource index.

Definition at line 206 of file TagFilterProxyModelQmlWrapper.cpp.

207{
208 QVariantList taggedResourceModel;
209 if (!d->tagModel || !d->tagFilterProxyModel) return taggedResourceModel;
210 QModelIndex resourceIdx = d->tagFilterProxyModel->index(resourceIndex, 0);
211 KisTagSP tagsp;
212 for (int i = 0; i< d->tagModel->rowCount(); i++) {
213 QModelIndex idx = d->tagModel->index(i, 0);
214 tagsp = d->tagModel->tagForIndex(idx);
215 bool visible = tagsp->id() >= 0;
216 bool enabled = false;
217 if (resourceIdx.isValid()) {
218 int resourceId = d->tagFilterProxyModel->data(resourceIdx, Qt::UserRole + KisResourceModel::Id).toInt();
219 enabled = d->tagFilterProxyModel->isResourceTagged(tagsp, resourceId) > 0 && visible;
220 }
221 QVariantMap tag { {"name", tagsp->name()}, {"value", i}, {"visible", visible}, {"enabled", enabled} };
222 taggedResourceModel.append(tag);
223 }
224 return taggedResourceModel;
225}
Q_INVOKABLE QVariantList taggedResourceModel(const int &resourceIndex) const
Get a variantlist with the tags for the given resource index.

References d, KisAbstractResourceModel::Id, and taggedResourceModel().

◆ tagModel()

QAbstractItemModel * TagFilterProxyModelQmlWrapper::tagModel ( ) const

Associated tagmodel.

Definition at line 69 of file TagFilterProxyModelQmlWrapper.cpp.

70{
71 return d->tagModel;
72}

References d.

◆ tagModelChanged

void TagFilterProxyModelQmlWrapper::tagModelChanged ( )
signal

◆ tagResource()

void TagFilterProxyModelQmlWrapper::tagResource ( const int & tagIndex,
const int & resourceIndex )

Tag the resource.

Definition at line 176 of file TagFilterProxyModelQmlWrapper.cpp.

177{
178 if (!d->tagModel || !d->tagFilterProxyModel) return;
179 QModelIndex idx = d->tagModel->index(tagIndex, 0);
180 QModelIndex resourceIdx = d->tagFilterProxyModel->index(resourceIndex, 0);
181 KisTagSP tagsp;
182 if (idx.isValid()) {
183 tagsp = d->tagModel->tagForIndex(idx);
184 }
185 if (tagsp && resourceIdx.isValid()) {
186 int resourceId = d->tagFilterProxyModel->data(resourceIdx, Qt::UserRole + KisResourceModel::Id).toInt();
187 d->tagFilterProxyModel->tagResources(tagsp, {resourceId});
188 }
189}

References d, and KisAbstractResourceModel::Id.

◆ testFileName()

QVariant TagFilterProxyModelQmlWrapper::testFileName ( const QString & name)

Test if the given filename is in the resources.

Definition at line 310 of file TagFilterProxyModelQmlWrapper.cpp.

311{
313 KisFontFunctions func;
314 return func.wwsFontFamilyNameVariant(name);
315 }
316 QVector<KoResourceSP> resources = d->allResourceModel->resourcesForFilename(name);
317 KoResourceSP resource;
318 if (!resources.isEmpty()) {
319 resource = resources.first();
320 }
321 if (resource) {
322 return resource->filename();
323 }
324 return QVariant();
325}
static Q_INVOKABLE QVariant wwsFontFamilyNameVariant(QString familyName)
Returns the wws name as a variant which can be invalid when not found.
const QString FontFamilies

References d, ResourceType::FontFamilies, resourceType, and KisFontFunctions::wwsFontFamilyNameVariant().

◆ testName()

QVariant TagFilterProxyModelQmlWrapper::testName ( const QString & name)

Test if the given name is in the resources.

Definition at line 327 of file TagFilterProxyModelQmlWrapper.cpp.

328{
329 QVector<KoResourceSP> resources = d->allResourceModel->resourcesForName(name);
330 KoResourceSP resource;
331 if (!resources.isEmpty()) {
332 resource = resources.first();
333 }
334 if (resource) {
335 return resource->name();
336 }
337 return QVariant();
338}

References d.

◆ untagResource()

void TagFilterProxyModelQmlWrapper::untagResource ( const int & tagIndex,
const int & resourceIndex )

Untag the resource.

Definition at line 191 of file TagFilterProxyModelQmlWrapper.cpp.

192{
193 if (!d->tagModel || !d->tagFilterProxyModel) return;
194 QModelIndex idx = d->tagModel->index(tagIndex, 0);
195 QModelIndex resourceIdx = d->tagFilterProxyModel->index(resourceIndex, 0);
196 KisTagSP tagsp;
197 if (idx.isValid()) {
198 tagsp = d->tagModel->tagForIndex(idx);
199 }
200 if (tagsp && resourceIdx.isValid()) {
201 int resourceId = d->tagFilterProxyModel->data(resourceIdx, Qt::UserRole + KisResourceModel::Id).toInt();
202 d->tagFilterProxyModel->untagResources(tagsp, {resourceId});
203 }
204}

References d, and KisAbstractResourceModel::Id.

Member Data Documentation

◆ d

const QScopedPointer<Private> TagFilterProxyModelQmlWrapper::d
private

Definition at line 147 of file TagFilterProxyModelQmlWrapper.h.

Property Documentation

◆ currentIndex

int TagFilterProxyModelQmlWrapper::currentIndex
readwrite

Definition at line 33 of file TagFilterProxyModelQmlWrapper.h.

◆ currentResource

KoResourceSP TagFilterProxyModelQmlWrapper::currentResource
read

Definition at line 37 of file TagFilterProxyModelQmlWrapper.h.

◆ currentTag

int TagFilterProxyModelQmlWrapper::currentTag
readwrite

Definition at line 31 of file TagFilterProxyModelQmlWrapper.h.

◆ importEnabled

bool TagFilterProxyModelQmlWrapper::importEnabled
read

Definition at line 28 of file TagFilterProxyModelQmlWrapper.h.

◆ model

QAbstractItemModel * TagFilterProxyModelQmlWrapper::model
read

Definition at line 23 of file TagFilterProxyModelQmlWrapper.h.

◆ resourceFilename

QString TagFilterProxyModelQmlWrapper::resourceFilename
readwrite

Definition at line 36 of file TagFilterProxyModelQmlWrapper.h.

◆ resourceName

QString TagFilterProxyModelQmlWrapper::resourceName
readwrite

Definition at line 35 of file TagFilterProxyModelQmlWrapper.h.

◆ resourceType

QString TagFilterProxyModelQmlWrapper::resourceType
readwrite

Definition at line 26 of file TagFilterProxyModelQmlWrapper.h.

◆ resourceTypeName

QString TagFilterProxyModelQmlWrapper::resourceTypeName
read

Definition at line 27 of file TagFilterProxyModelQmlWrapper.h.

◆ searchInTag

bool TagFilterProxyModelQmlWrapper::searchInTag
readwrite

Definition at line 32 of file TagFilterProxyModelQmlWrapper.h.

◆ searchText

QString TagFilterProxyModelQmlWrapper::searchText
readwrite

Definition at line 30 of file TagFilterProxyModelQmlWrapper.h.

◆ tagModel

QAbstractItemModel * TagFilterProxyModelQmlWrapper::tagModel
read

Definition at line 24 of file TagFilterProxyModelQmlWrapper.h.


The documentation for this class was generated from the following files: