Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Master QML Positioners - Row, Column, Grid and Flow - Positioners and Layouts #2

Qt Group via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to simplify item positioning in Qt Quick applications by mastering QML Positioners including Row, Column, Grid, and Flow components for automatic arrangement without manual anchor chains. Build a dynamic image gallery while exploring how to use the Repeater component to create multiple items dynamically and understand the key differences between Flow and Grid for responsive arrangements. Discover common properties shared across all positioner types and experiment with layoutDirection, LayoutMirroring, and flow properties to create flexible layouts. Explore positioner attached properties such as index, isFirstItem, and isLastItem to enhance your positioning logic. Gain practical experience setting up Image delegates, making consistent image sizes, and understanding the pros and cons of using Positioners versus other layout approaches. Access the complete code repository and continue your learning journey with Qt Quick Layouts as the next step in this comprehensive series designed for developers building cross-platform applications with Qt Quick and QML.

Syllabus

Introduction
Creating a new project and adding assets
Setting up Image delegate and using Repeater
Making image sizes consistent
What all positioner types have in common
Using the Row type
Changing Row to Column
Using Grid type and experimenting with properties
Applying layoutDirection, LayoutMirroring, and flow properties
Flow type and how it differs from Grid
Positioner attached properties
Pros and cons of Positioners

Taught by

Qt Group

Reviews

Start your review of Master QML Positioners - Row, Column, Grid and Flow - Positioners and Layouts #2

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.