Differences between Qt Quick Ultralite Controls and Qt Quick Controls

The Qt Quick Ultralite offers a subset of Qt Quick Controls API. The available types and their properties, signals, and methods are listed in the API 参考 .

Overview of supported controls

The following table defines how Qt Quick Controls is supported in Qt Quick Ultralite.

A Qt Quick Controls control A Qt Quick Ultralite control Status
AbstractButton AbstractButton
动作 不支持
ActionGroup 不支持
ApplicationWindow 不支持
BusyIndicator Implemented in upcoming versions
Button Button
ButtonGroup Implemented in upcoming versions
CheckBox CheckBox
CheckDelegate 不支持
ComboBox Implemented in upcoming versions
Container 不支持
Control 不支持
DelayButton 不支持
Dial Dial
Dialog Implemented in upcoming versions
DialogButtonBox 不支持
Drawer 不支持
Frame 不支持
GroupBox 不支持
ItemDelegate 不支持
Label 不支持
Menu Implemented in upcoming versions
MenuBar Implemented in upcoming versions
MenuBarItem Implemented in upcoming versions
MenuSeparator Implemented in upcoming versions
Overlay Implemented in upcoming versions
Page Implemented in upcoming versions
PageIndicator Implemented in upcoming versions
Pane Implemented in upcoming versions
Popup Implemented in upcoming versions
ProgressBar ProgressBar
RadioButton RadioButton
RadioDelegate 不支持
RangeSlider Implemented in upcoming versions
RoundButton 不支持
ScrollBar 不支持
ScrollIndicator Implemented in upcoming versions
ScrollView 不支持
Slider Slider
SpinBox Implemented in upcoming versions
SplitHandle 不支持
SplitView 不支持
StackView Implemented in upcoming versions
SwipeDelegate 不支持
SwipeView SwipeView
Switch Switch
SwitchDelegate 不支持
TabBar Implemented in upcoming versions
TabButton Implemented in upcoming versions
TextArea 不支持
TextField 不支持
ToolBar 不支持
ToolButton 不支持
ToolSeparator 不支持
ToolTip 不支持
Tumbler 不支持

Differences

Font property is not inherited from parent

The value of the Control::font property group does not propagate to child controls.

SwipeView {
    id: swipeView
    font.family: "DejaVu Serif"
    font.pixelSize: 20
    Rectangle {
        color: "white"
        Button {
            text: "Button"
            font: swipeView.font // Not needed in Qt Quick
        }
    }
}
							

Set the font properties individually, or make a custom controls style .