Qt Quick Controls

The Qt Quick Controls module provides a set of controls that can be used to build complete interfaces in Qt Quick.

模塊在 Qt 5.1 引入。

拜訪 Qt Quick Controls 概述 頁麵以開始。

應用程序窗口

Components used to describe the basic window properties of an application.

ApplicationWindow 提供頂層應用程序窗口
MenuBar 提供水平菜單欄
StatusBar 在 APP 中包含狀態信息
ToolBar 包含工具按鈕和相關控件
動作 可以被綁定到項的抽象用戶界麵動作

Views typically let the user manage or present other components in a layout.

ScrollView Provides a scrolling view within another Item
SplitView Lays out items with a draggable splitter between each item
StackView Provides a stack-based navigation model
TabView A control that allows the user to select one of multiple stacked items
TableView Provides a list view with scroll bars, styling and header sections
TreeView Provides a tree view with scroll bars, styling and header sections

控件

Controls are typically items that are used to present or receive input from the user.

ApplicationWindow 提供頂層應用程序窗口
BusyIndicator 繁忙指示器
Button 帶文本標簽的按鈕
Calendar Provides a way to select dates from a calendar
CheckBox A checkbox with a text label
ComboBox Provides a drop-down list functionality
GroupBox 帶標題的分組框框架
Label 文本標簽
Menu Provides a menu component for use as a context menu, popup menu, or as part of a menu bar
MenuBar 提供水平菜單欄
ProgressBar A progress indicator
RadioButton A radio button with a text label
ScrollView Provides a scrolling view within another Item
Slider Provides a vertical or horizontal slider control
SpinBox Provides a spin box control
SplitView Lays out items with a draggable splitter between each item
StackView Provides a stack-based navigation model
StackViewDelegate A delegate used by StackView for loading transitions
StatusBar 在 APP 中包含狀態信息
Switch A switch
Tab Represents the content of a tab in a TabView
TabView A control that allows the user to select one of multiple stacked items
TableViewColumn Used to define columns in a TableView or in a TreeView
TextArea Displays multiple lines of editable formatted text
TextField Displays a single line of editable plain text
ToolBar 包含工具按鈕和相關控件
ToolButton Provides a button type that is typically used within a ToolBar
TableView Provides a list view with scroll bars, styling and header sections
TreeView Provides a tree view with scroll bars, styling and header sections
動作 可以被綁定到項的抽象用戶界麵動作
ExclusiveGroup Way to declare several checkable controls as mutually exclusive
MenuItem Item to add in a menu or a menu bar
MenuSeparator Separator for items inside a menu
Stack Provides attached properties for items pushed onto a StackView

Types that can be used to build menus.

Menu Provides a menu component for use as a context menu, popup menu, or as part of a menu bar
MenuItem Item to add in a menu or a menu bar
MenuSeparator Separator for items inside a menu

許可和歸屬

Qt Quick Controls 模塊在商業許可下是可用的來自 Qt 公司 。此外,它在自由軟件許可下也是可用的。從 Qt 5.4 起,這些自由軟件許可是 GNU LGPL (次一般公共許可) 第 3 版 ,或 GNU GPL (一般公共許可) 第 2 版 。見 Qt 許可 進一步瞭解細節。