The Model View Architecture with PySide6: Data Driven UIs

所在平台: Udemy

课程主页: https://www.udemy.com/course/pyside6_model_view_architecture/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:《基于PySide6的模型视图架构:数据驱动的用户界面》 课程概述:本课程将指导您构建桌面应用程序,如库存系统、媒体库、项目跟踪器和财务工具,所有这些都基于Qt和Python的PySide6。您将通过实践获得掌握Qt强大模型/视图架构的技能,从而设计出快速、可扩展且持久的用户界面。课程从基础入手,介绍Qt的便捷控件,如QListWidget、QTableWidget和QTreeWidget,奠定扎实基础。随后,您将深入学习重要的内置模型: - QFileSystemModel:用于导航和与文件系统交互 - QStringListModel:用于动态数据的简单列表 - QSortFilterProxyModel:在不改变底层模型的情况下对数据进行排序和过滤 接下来,您将深入了解使用QAbstractItemModel开发自定义模型: - 只读模型:用于显示外部或静态数据 - 可编辑模型:支持用户交互 - 支持添加/删除行和自定义数据角色的模型 - 对应现实世界表格结构的表格模型 - 用于管理层次数据(如组织架构或文件浏览器)的树形模型 为了增强互动性和用户体验,您将构建自定义委托和编辑器: - 使用委托进行自定义绘制和编辑 - 可重用的星级评分小部件和编辑器 您还将实现拖放功能: - 在标准小部件之间 - 在视图内的项目级别 - 在完全自定义的模型中 最后,您将把所有知识应用于一个实际的课程项目:构建一个基于SQLite的支出跟踪器用户界面。完成本课程后,您将具备构建复杂数据驱动应用程序的技能,如库存系统、项目管理工具、媒体库、个人财务应用和配置编辑器,都是使用Qt和PySide6开发的。无论您是PySide6新手还是希望深化技能的资深开发者,本课程将帮助您将PySide6的UI开发提升到一个新水平。

课程评论(0条)

课程详情

Build desktop apps like inventory systems, media libraries, project trackers, and finance tools-powered by Qt and and Python through PySide6. 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 course 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 PySide6.Whether you're a PySide6 beginner or a seasoned developer looking to deepen your skills, this course will take your PySide6 UI development to the next level.

课程标签

0人关注该课程

主题相关的课程