Skip to main content Skip to complementary content

selectionState method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

Creates a QSelectionState object that encapsulates the selection state. Entry point to the Selection API.

Version history

Version history
Version state Details
Introduced 2.2



Type: String


Sets the state.

Default is $.


A selection state object for the selection state of type QSelectionState.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!