Qt6与QML高级:C++接口
发布于5/2024
MP4 | 视频:h264,1920×1080 | 音频:AAC,44.1千赫兹
语言:英语 | 大小:3.99 GB | 时长:5小时6分钟
在QML中使用自定义C++模型,构建自己的可视化C++ QML类型,使用单例并从C++深入了解QML
你将学到什么
在QML中使用自定义C++模型
构建自定义C++可视化类型并在QML中使用它们
将你的C++类作为单例在QML中使用
深入了解QML树结构并从C++中操作元素
要求
具备Qt C++的基本知识
具备Qt Quick的基本知识
具备将QML与C++接口的基本知识
在本地系统上安装最新版本的Qt和Qt Creator
开放的心态和学习的意愿
描述
你已经对Qt、C++和Qt Quick有了相当的了解,并且希望学习一些酷炫的高级功能,如在QML中使用自定义C++模型、在QML中使用自定义C++可视类型等更酷炫的功能。如果是这样的话,那么这门课程就是为你量身打造的。本课程将重点介绍四个关键点,即高级技巧,用于接口你的C++到QML。在C++中构建你自己的自定义C++模型并在QML中使用它们,在C++中构建你自己的C++可视类型并在QML中使用它们,在QML中使用C++类型作为单例,从C++中深入了解QML树并操控你的QML元素。本课程基于Qt 6,并使用CMake作为构建系统。在课程中,我们将涉及许多最佳实践,以使你的C++和QML源代码及API更易读、用户友好和可维护。课程中充满了大量的示例和演示,使你的学习经验尽可能愉快。如果你想要提升你在将Qt C++与QML接口方面的技能水平,那么本课程将以最短的时间让你速成。Qt是数千个软件项目的选择平台,无论是开源还是商业项目,都被一些最成功的公司所采用。如果你想要构建流畅、动态且跨平台的用户界面,可以在几乎任何设备上运行,并且利用强大的功能,如模型视图框架和精美的Qt绘图API等,那么在这方面,Qt是无与伦比的。请查看一些预览视频,让我们开始使用连接你的C++到QML的高级技巧。
Qt6 And Qml Advanced: Interfacing To C++
Published 5/2024
MP4 | Video: h264, 1920×1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 3.99 GB | Duration: 5h 6m
Use Custom C++ Models in QML, Build your own Visual C++ QML Types, Use Singletons and Dig Deep Through QML from C++
What you’ll learn
Working with custom C++ models in QML
Building custom C++ visual types and using them in QML
Using your C++ classes as singletons in QML
Digging through the QML tree structure and manipulating elements from C++
Requirements
Basic knowledget of Qt C++
Basic knowledge of Qt Quick
Basic knowledge to interface QML to C++
The latest version of Qt and Qt Creator installed on your local system
Open mind and willingness to learn
Description
You already know quite a bit about Qt , C++ and Qt Quick and looking to learn about cool advanced features like Custom C++ Models in QML, Custom C++ Visual types in QML and more cool features. If that’s the case then this is the course for you. This course will hit 4 critical points in advanced tricks to interface your C++ to QML .Building your own Custom C++ Models in C++ and using them in QMLBuilding your own C++ Visual Types and using them in QMLUsing C++ Types as Singletons in QMLDigging Deep in the QML tree and manipulating your QML Elements from C++The course is based on Qt 6 and uses CMake as the build system. Along the course we’ll touch on lots of best practices to make your C++ and QML Code and APIs much more readable, user friendly and maintainable. The course is packed with lots of examples and demos to make your learning experience as pleasant as possible. If you’ re looking to push your skills in Interfacing Qt C++ to QML to the next level, this course will get you up to speed in shortest amount of time possible.Qt is the platform choice for thousands of software projects. Both Open source and commercial and is used by some of the most successful companies on the planet.If you want to build Fluid, Dynamic and Cross Platform User Interfaces, that can run on virtually anything out there, and take advantage of the powerful features like the Model View Framework and the fancy Qt Painting and Drawing API and more, Qt is second to none in that regard.Please check out some of the preview videos, and lets get you STARTED using Advanced tricks in connecting your C++ to QML.
Overview
Section 1: Welcome
Lecture 1 Welcome
Section 2: Custom Models in QML
Lecture 2 Introduction
Lecture 3 String List Model
Lecture 4 Object List Model
Lecture 5 Editable Object List Model
Lecture 6 Edits with the Q_PROPERTY Mechanism
Lecture 7 Abstract List Model: Concepts
Lecture 8 Abstract List Model: Non Editable
Lecture 9 Abstract List Model: Editable
Lecture 10 Decoupling the Data Source
Lecture 11 Model List Properties
Lecture 12 Summary
Section 3: REST Client Challenge
Lecture 13 REST Client
Section 4: Custom Visual Types
Lecture 14 Introduction
Lecture 15 Painting QML Items
Lecture 16 Bar Chart
Lecture 17 Bar Chart with List Properties
Lecture 18 Visual Items with Pure QML
Lecture 19 Summary
Section 5: Singletons
Lecture 20 Introduction
Lecture 21 QJSValue
Lecture 22 QObject
Lecture 23 Summary
Section 6: Digging QML from C++
Lecture 24 Introduction
Lecture 25 Loading QML with QQmlEngine
Lecture 26 Parsing Custom Types
Lecture 27 Going through QQuickView
Lecture 28 Loading QML with QQmlApplicationEngine
Lecture 29 Invoking QML Method from C++
Lecture 30 Catch a QML Signal in C++
Lecture 31 Summary
Section 7: Farewell
Lecture 32 Farewell
Lecture 33 Course List – Bonus
Anyone willing to learn to use Custom C++ Models in QML,Anyone willing to learn to build Custom C++ Visual Types and use them in QML,Anyone willing to learn how to use C++ Classes as Singletons in QML,Anyone willing to learn how to traverse the QML element tree structure and manipulate elements from C++
扫码免费下载