SearchBar QML Type
Provides a searchbar, that supports autocompletion and displays search results using cards. More...
Import Statement: | import Fluid.Controls 1.1 |
Properties
- cardWidth : int
- expanded : bool
- persistent : bool
- searchPlaceHolder : string
- searchResults : model
- searchSuggestions : model
- searchText : string
- searchTextFont : font
- suggestionDelegate : Component
- suggestionTextRole : string
- suggestionsHeight : int
- waveColor : color
Signals
- search(query)
Methods
Detailed Description
Property Documentation
The width of the search card. By default the search bar centers in the parent with a margin of 64 each side
Whether the SearchBar is currently open
Whether the SearchBar is persistent or expandable
The suggestions to display.
See also SearchBar::suggestionTextRole and SearchBar::suggestionDelegate.
The font of text in search TextInput box
This property was introduced in Fluid.Controls 1.1.
The delegate item for the suggestion list view.
See also SearchBar::searchSuggestions.
The model type that contains the text to display in the suggestion delegate
See also SearchBar::searchSuggestions.
Signal Documentation
Is emitted, when the user searches for a query. The query parameter contains the search query as string. Use this signal to provide search results.