|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/qt-6-model-view-architecture-in-cplusplus/
课程评论:没有评论
课程名称:Qt6 模型-视图架构的 C++:构建数据驱动的用户界面 课程概述:本课程旨在教您如何使用 Qt 和 C++ 构建桌面应用程序,如库存系统、媒体库、项目跟踪器和财务工具。通过本课程,您将获得实践技能,掌握 Qt 强大的模型/视图架构,以设计快速、可扩展且耐用的用户界面。课程从基础知识开始,介绍 Qt 的便利小部件,如 QListWidget、QTableWidget 和 QTreeWidget,奠定坚实的基础。接着,深入剖析一些基本内置模型,包括: - QFileSystemModel:用于浏览和交互文件系统 - QStringListModel:处理动态数据的简单列表 - QSortFilterProxyModel:在不更改底层模型的情况下对数据进行排序和过滤 之后,您将深入学习自定义模型开发,使用 QAbstractItemModel: - 只读模型:用于显示外部或静态数据 - 可编辑模型:支持用户交互 - 支持添加/删除行和自定义数据角色的模型 - 镜像现实世界表格结构的表格模型 - 用于管理层次数据(如组织结构图或文件资源管理器)的树形模型 为了增强交互性和用户体验,您将创建自定义代理和编辑器,包含: - 使用代理进行自定义绘制和编辑 - 可重用的星级评分小部件和编辑器 此外,您还将实现拖放功能: - 在标准小部件之间 - 在视图内的项目层级 - 在完全自定义模型中 最后,您将把所学知识应用于一个真实世界的总结项目:构建一个由 SQLite 支持的费用追踪器用户界面。通过本课程的学习,您将掌握构建复杂数据驱动应用程序的技能,包括库存系统、项目管理工具、媒体库、个人财务应用和配置编辑器,所有这些都基于 Qt 和 C++。无论您是 Qt 新手还是希望深化技能的资深开发者,本课程都将帮助您将 Qt UI 开发提升到一个新的水平。
Build desktop apps like inventory systems, media libraries, project trackers, and finance tools-powered by Qt and C++. This course gives you the hands-on skills to master Qt's powerful Model/View architecture so you can design UIs that are fast, scalable, and built to last.We start with the basics-Qt's convenience widgets like QListWidget, QTableWidget, and QTreeWidget-to build a solid foundation. From there, we dive into essential built-in models:QFileSystemModel for navigating and interacting with the file systemQStringListModel for simple lists of dynamic dataQSortFilterProxyModel to sort and filter data without changing the underlying modelYou'll then go deeper into custom model development using QAbstractItemModel:Read-only models for displaying external or static dataEditable models with support for user interactionModels that support adding/removing rows and custom data rolesTable models that mirror real-world tabular structuresTree models to manage hierarchical data like org charts or file explorersTo enhance interactivity and UX, you'll build custom delegates and editors:Custom painting and editing using delegatesA reusable star rating widget and editorYou'll also implement drag-and-drop:Between standard widgetsAt the item level within viewsIn fully custom modelsFinally, you'll apply all your knowledge in a real-world capstone project: building an Expense Tracker UI backed by SQLite.By the end of this course, you'll have the skills to build complex, data-driven applications such as inventory systems, project management tools, media libraries, personal finance apps, and configuration editors-all using Qt and C++.Whether you're a Qt beginner or a seasoned developer looking to deepen your skills, this course will take your Qt UI development to the next level.