Focus Management in Qt Quick Controls#

Overview of focus handling with Qt Quick Controls

Qt Quick Controls follows the standard Qt Quick focus system, while also providing some added convenience. For example, the focusPolicy property can be used to control the ways in which a control receives focus.

Focus Scope Controls#

Qt Quick Controls offers a selection of controls that act as focus scopes:

qml-qtquick-controls-applicationwindow.html

Styled top-level window with support for a header and footer.

qml-qtquick-controls-combobox.html

Combined button and popup list for selecting options.

qml-qtquick-controls-menubar.html

Provides a window menu bar.

qml-qtquick-controls-page.html

Styled page control with support for a header and footer.

qml-qtquick-controls-pane.html

Provides a background matching with the application style and theme.

qml-qtquick-controls-popup.html

Base type of popup-like user interface controls.

qml-qtquick-controls-rangeslider.html

Used to select a range of values by sliding two handles along a track.

qml-qtquick-controls-scrollview.html

Scrollable view.

qml-qtquick-controls-spinbox.html

Allows the user to select from a set of preset values.

qml-qtquick-controls-splitview.html

Lays out items with a draggable splitter between each item.

qml-qtquick-controls-stackview.html

Provides a stack-based navigation model.

qml-qtquick-controls-swipeview.html

Enables the user to navigate pages by swiping sideways.

qml-qtquick-controls-tabbar.html

Allows the user to switch between different views or subtasks.

See also

Keyboard Focus in Qt Quick