Base
Parent class of various list item classes that can have an icon and a progression symbol. More...
Import Statement: | import Ubuntu.Components.ListItems 0.1 |
Inherits: | |
Inherited By: | MultiValue, SingleValue, and Subtitled. |
Properties
- fallbackIconName : string
- fallbackIconSource : url (preliminary)
- iconFrame : bool (preliminary)
- iconName : string
- iconSource : url
- progression : bool (preliminary)
Detailed Description
Examples: See subclasses This component is under heavy development.
Property Documentation
fallbackIconName : string |
The icon shown in the list item if iconName failed to load (optional).
If both fallbackIconSource and fallbackIconName are defined, fallbackIconName will be ignored.
Note: The complete list of icons available in Ubuntu is not published yet. For now please refer to the folders where the icon themes are installed:
- Ubuntu Touch: /usr/share/icons/ubuntu-mobile
- Ubuntu Desktop: /usr/share/icons/ubuntu-mono-dark
These 2 separate icon themes will be merged soon.
fallbackIconSource : url |
This QML property is under development and is subject to change.
The location of the icon to show in the list item if iconSource failed to load (optional).
iconFrame : bool |
This QML property is under development and is subject to change.
Show or hide the frame around the icon
iconName : string |
The icon shown in the list item.
If both iconSource and iconName are defined, iconName will be ignored.
Note: The complete list of icons available in Ubuntu is not published yet. For now please refer to the folders where the icon themes are installed:
- Ubuntu Touch: /usr/share/icons/ubuntu-mobile
- Ubuntu Desktop: /usr/share/icons/ubuntu-mono-dark
These 2 separate icon themes will be merged soon.
iconSource : url |
The image shown in the list item.
This is a URL to any image file. In order to use an icon from the Ubuntu theme, use the iconName property instead.
progression : bool |
This QML property is under development and is subject to change.
Show or hide the progression symbol.