class TagWidget |
|
TagWidget provides a simple GUI interface to assign tags. It consists of a single text line displaying the assigned tags and a menu to change the tags. |
|
Creates a new TagWidget for resource. The assigned tags are loaded instantly. |
|
|
Returns The list of all tags that are assigned to the currently set
resource or an empty list if no resource has been set.
See also setTaggedResource, taggedResource, Resource.getTags |
|
Set the list of tags to be assigned to the configured resource.
If no resource has been set this method does nothing.
See also setTaggedResource |
|
Set the Resource to be tagged. The assigned tags will be loaded instantly. |
|
|
This signal is emitted whenever a tag is clicked. |
|
Returns The resources that are supposed to be tagged or an empty list if none have been set. |