Provides a data model for the selection lists. More...
|Import Statement:||import QtQuick.VirtualKeyboard 2.3|
The SelectionListModel is a data model for word candidates provided by the input method.
The model exposes the following data roles for the list delegate:
displayDisplay text for item
wordCompletionLengthWord completion length for item
The activeItemChanged signal indicates which item is currently highlighted by the input method. The view should respond to this signal by highlighting the corresponding item in the list.
The user selection is handled by the selectItem() method. The view should be invoke this method when the user selects an item from the list.
void activeItemChanged(int index)
This signal is emitted when the active item in the list changes. The UI should react to this signal by highlighting the item at index in the list.
void itemSelected(int index)
This signal is emitted when an item at index is selected by the user.
void selectItem(int index)
This method should be called when the user selects an item at position index from the list. The selection is forwarded to the input method for further processing.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: