警告: 从 Qt 5.12 起弃用 Qt Quick Controls 1 模块。使用最新 Qt Quick Controls 模块代替。
The Qt Quick Controls 1 module provides QML types for creating user interfaces. These QML types work in conjunction with Qt Quick and Qt Quick Layouts .
控件可以被样式化使用 Styles QML Types .
The QML types can be imported into your application using the following import statement in your .qml file.
import QtQuick.Controls 1.4
可以被绑定到项的抽象用户界面动作 | |
提供顶层应用程序窗口 | |
繁忙指示器 | |
带文本标签的按钮 | |
Provides a way to select dates from a calendar | |
A checkbox with a text label | |
Provides a drop-down list functionality | |
Way to declare several checkable controls as mutually exclusive | |
带标题的分组框框架 | |
文本标签 | |
Provides a menu component for use as a context menu, popup menu, or as part of a menu bar | |
提供水平菜单栏 | |
Item to add in a menu or a menu bar | |
Separator for items inside a menu | |
A progress indicator | |
A radio button with a text label | |
Provides a scrolling view within another Item | |
Provides a vertical or horizontal slider control | |
Provides a spin box control | |
Lays out items with a draggable splitter between each item | |
Provides attached properties for items pushed onto a StackView | |
Provides a stack-based navigation model | |
A delegate used by StackView for loading transitions | |
在 APP 中包含状态信息 | |
A switch | |
Represents the content of a tab in a TabView | |
A control that allows the user to select one of multiple stacked items | |
Provides a list view with scroll bars, styling and header sections | |
Used to define columns in a TableView or in a TreeView | |
Displays multiple lines of editable formatted text | |
Displays a single line of editable plain text | |
包含工具按钮和相关控件 | |
Provides a button type that is typically used within a ToolBar | |
Provides a tree view with scroll bars, styling and header sections |