PlacesListBrowser
Properties | |
string | currentPath |
int | iconSize |
alias | itemMenu |
alias | list |
Signals | |
void | placeClicked (string path) |
Detailed Description
A browsing list of the system locations, such as common standard places, bookmarks and others as removable devices and networks.
This control inherits from MauiKit ListBrowser, to checkout its inherited properties refer to docs.
Most of the properties to control the behaviour is handled via the PlacesList model, which is exposed via the list
property.
- See also
- list
You can find a more complete example at this link.
Definition at line 42 of file PlacesListBrowser.qml.
Property Documentation
◆ currentPath
|
read |
The path of the current place selected.
Definition at line 68 of file PlacesListBrowser.qml.
◆ iconSize
|
read |
The preferred size of the icon for the places delegates.
By default this is set to Style.iconSizes.small
- See also
- Style::iconSizes
Definition at line 64 of file PlacesListBrowser.qml.
◆ itemMenu
|
read |
The contextual menu for the entries.
- Remarks
- This property is read-only
- Note
- The menu has an extra property
index
, which refers to the index position of the entry where the menu was invoked at.
To add more entries, use the itemMenu.data
property, or append/push methods.
Definition at line 58 of file PlacesListBrowser.qml.
◆ list
|
read |
The model list of the places.
- Remarks
- This property is read-only
Definition at line 49 of file PlacesListBrowser.qml.
Member Function Documentation
◆ placeClicked
|
signal |
Emitted when a entry has been clicked.
- Parameters
-
path the URL path of the entry
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.