StandardListView
Like ListView, but with a default delegate, and a model
property.
Properties
Same as ListView, and in addition:
current-item
int (in-out)
default: 0
The index of the currently active item. -1 mean none is selected, which is the default
model
struct StandardListViewItem default: a struct with all default values
StandardListViewItem
Represents an item in a StandardListView and a StandardTableView.
text
(string): The text content of the item
The model.
Functions
set-current-item(int)
Sets the current item by the specified index and brings it into view.
Callbacks
current-item-changed(int)
Emitted when the current item has changed because the user modified it
item-pointer-event(int, PointerEvent, Point)
Emitted on any mouse pointer event similar to TouchArea
. Arguments are item index associated with the event, the PointerEvent
itself and the mouse position within the listview.
© 2024 SixtyFPS GmbH