Container Controls

Qt Quick Controls 2 offers a selection of container-like controls.

ApplicationWindow

Provides a top-level application window

Container

A container control base type

Frame

A logical group of controls within a visual frame

GroupBox

A frame with a logical group of controls

Page

A control that makes it convenient to add a header and footer to a page

Pane

Provides a background matching with the application style and theme

StackView

Provides a stack-based navigation model

SwipeView

Enables the user to navigate pages by swiping sideways

TabBar

A bar with icons allowing to switch between different views or subtasks

ToolBar

A container with context-sensitive controls

Each type of container can be used to group a set of controls together. The following sections offer guidelines for choosing the appropriate type of container, depending on the use case.

ApplicationWindow Control

ApplicationWindow contains optional header and footer items.

Frame Control

Frame is used to layout a logical group of controls together, within a visual frame.

GroupBox Control

GroupBox is used to layout a logical group of controls together, within a titled visual frame.

Page Control

Page provides page-specific header and footer items.

Pane Control

Pane provides a background color that matches with the application style and theme.

StackView Control

StackView organizes content pages into a stack.

SwipeView Control

SwipeView organizes content pages into a swipable strip.

TabBar Control

TabBar organizes content pages into tabs.

ToolBar Control

ToolBar is a container of application-wide and context-sensitive actions and controls.