filmov
tv
Introduction to Qt / QML (Part 21) - The Loader Element
Показать описание
The QML code that we've explored so far immediately creates all the elements that we've specified (images, text, etc.). This is fine for simple examples, but what about a complex, real-world application?
Would it make sense for it to create all the screens, the pages, the dialogs on startup? Probably not – it would consume tons of resources, and slow down the application startup considerably. To tackle this problem, we need a way to create elements on demand. That's precisely what the Loader component does, which we will discuss in this video.
About the host:
This video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core — Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.
About KDAB:
KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
Would it make sense for it to create all the screens, the pages, the dialogs on startup? Probably not – it would consume tons of resources, and slow down the application startup considerably. To tackle this problem, we need a way to create elements on demand. That's precisely what the Loader component does, which we will discuss in this video.
About the host:
This video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core — Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.
About KDAB:
KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrollment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
Комментарии