C
Qt Quick Ultralite 控件与 Qt Quick 控件的差异
Qt Quick Ultralite提供Qt Quick Controls API的一部分。可用的类型及其属性、信号和方法在API 参考中列出。
支持控件的概述
以下表格定义了在 Qt Quick Ultralite 中如何支持Qt Quick Controls。
| Qt Quick Controls 控件 | Qt Quick Ultralite 控件 | 状态 |
|---|---|---|
| AbstractButton | AbstractButton | |
| Action | — | 不支持 |
| ActionGroup | — | 不支持 |
| ApplicationWindow | — | 不支持 |
| BusyIndicator | — | 将在后续版本中实现 |
| Button | Button | |
| ButtonGroup | — | 将在后续版本中实现 |
| CheckBox | CheckBox | |
| CheckDelegate | — | 不支持 |
| ComboBox | — | 将在后续版本中实现 |
| Container | — | 不支持 |
| Control | — | 不支持 |
| DelayButton | — | 不支持 |
| Dial | Dial | |
| Dialog | — | 将在后续版本中实现 |
| DialogButtonBox | — | 不支持 |
| Drawer | — | 不支持 |
| Frame | — | 不支持 |
| GroupBox | — | 不支持 |
| ItemDelegate | — | 不支持 |
| Label | — | 不支持 |
| Menu | — | 将在后续版本中实现 |
| MenuBar | — | 将在后续版本中实现 |
| MenuBarItem | — | 将在后续版本中实现 |
| MenuSeparator | — | 将在后续版本中实现 |
| Overlay | — | 将在后续版本中实现 |
| Page | — | 将在后续版本中实现 |
| PageIndicator | — | 将在后续版本中实现 |
| Pane | — | 将在后续版本中实现 |
| Popup | — | 将在后续版本中实现 |
| ProgressBar | ProgressBar | |
| RadioButton | RadioButton | |
| RadioDelegate | — | 不支持 |
| RangeSlider | — | 将在后续版本中实现 |
| RoundButton | — | 不支持 |
| ScrollBar | — | 不支持 |
| ScrollIndicator | — | 将在后续版本中实现 |
| ScrollView | — | 不支持 |
| Slider | Slider | |
| SpinBox | — | 将在后续版本中实现 |
| SplitHandle | — | 不支持 |
| SplitView | — | 不支持 |
| StackView | — | 将在后续版本中实现 |
| SwipeDelegate | — | 不支持 |
| SwipeView | SwipeView | |
| Switch | Switch | |
| SwitchDelegate | — | 不支持 |
| TabBar | — | 将在后续版本中实现 |
| TabButton | — | 将在后续版本中实现 |
| TextArea | — | 不支持 |
| TextField | — | 不支持 |
| ToolBar | — | 不支持 |
| ToolButton | — | 不支持 |
| ToolSeparator | — | 不支持 |
| ToolTip | — | 不支持 |
| Tumbler | — | 不支持 |
差异
字体属性不会从父级继承
属性组 Control::font 的值不会传播到子控件。
SwipeView { id: swipeView font.family: "DejaVu Serif" font.pixelSize: 20 Rectangle { color: "white" Button { text: "Button" font: swipeView.font // Not needed in Qt Quick } } }
分别设置字体属性,或创建 自定义控件样式。
在特定 Qt 许可下提供。
了解详情。