MauiKit File Browsing
TagsBar.qml
33 * The retrieved file tags can be restricted to only tags created/associated by the app itself or by any app, this can be tweaked via the `list.strict` property.
45 * property var fileItem //A map object representing some properties from a file, such as its name, icon, url, etc.
67 * <a href="https://invent.kde.org/maui/mauikit-filebrowser/examples/TagsBar.qml">You can find a more complete example at this link.</a>
90 * @brief Whether the bar is in edit mode or not. This can be also triggered by the user using the attached action buttons in the right side of the bar.
91 * In edit mode the bar exposes a text field, where all the tag elements are plain text divided by comma. The text can be edited to remove tags or add more.
98 * @brief Whether the bar exposes to the user the action buttons that allow to go into edit mode, or to remove the tag elements manually.
105 * @brief To associate a one or a group of file URLs, use `list.urls`, or to disable the strict mode use `list.strict: false`, etc. Read more about the available properties in the TagsListModel documentation page.
114 * @note To retrieve information of the tag given the index position, use the alias property function`list.get(index)`
131 {
void tagRemovedClicked(int index)
Emitted when the close/dismiss button of a tag element has been clicked.
void tagsEdited(var tags)
Emitted when the tags have been manually edited by the user via the text field input.
alias list
To associate a one or a group of file URLs, use list.urls, or to disable the strict mode use list....
Definition TagsBar.qml:100
bool allowEditMode
Whether the bar exposes to the user the action buttons that allow to go into edit mode,...
Definition TagsBar.qml:93
KIOCORE_EXPORT QStringList list(const QString &fileClass)
qsizetype length() const const
QString join(QChar separator) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:45 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:45 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.