C

Qt Quick Ultralite Layouts QML Types

The Qt Quick Ultralite Layouts module provides Qt Quick Layouts compatible QML types for arranging items in a user interface.

Using the Module

To use the Qt Quick Ultralite Layouts QML types, add Qul::Layouts to the list of module files in your .qmlproject.

ModuleFiles {
    MCU.qulModules: ["Qul::Layouts"]
}

After adding the module files, add the following import statement to your .qml file:

import QtQuick.Layouts

Linking an Application to the CMake Target

Note: This step applies to deprecated CMake APIs only.

When using CMake projects, link your application to the Qul::Layouts CMake target.

target_link_libraries(app PRIVATE Qul::Layouts)

QML Types

ColumnLayout

Identical to GridLayout, but having only one column

GridLayout

Provides a way of dynamically arranging items in a grid

Layout

Provides attached properties for items pushed onto a GridLayout, RowLayout or ColumnLayout

RowLayout

Identical to GridLayout, but having only one row

Available under certain Qt licenses.
Find out more.