掌握PySide 2:开发动态跨平台GUI应用全攻略

需积分: 12 26 下载量 15 浏览量 更新于2024-07-21 收藏 1.89MB PDF 举报
"《Pyside GUI Application Development (2nd Edition, 2016)》是一本由GoPinath Jaganmohan和Venkateshwaran Loganathan合著的专业书籍,由Packt Publishing出版。该书专为Python开发者设计,旨在帮助他们利用开源跨平台用户界面框架PySide创建动态且健壮的图形用户界面(GUI)应用。PySide结合了Qt框架的威力与Python的易用性,为Python开发者提供了访问Qt的强大工具,并作为一个优秀的快速应用程序开发平台。 本书分为多个章节,首先引导读者安装和配置PySide,以便在不同操作系统如Windows、Linux和Mac OS上运行。接着,作者会深入讲解GUI编程的基础知识,包括事件管理、信号与槽机制,以及PySide提供的各种控件和对话框的使用。书中还涵盖了数据库交互和数据处理的内容,让开发者能够熟练地构建应用程序并与数据进行高效互动。 通过阅读本书,读者不仅能掌握如何高效编写GUI程序,还能学会如何创建自己的应用程序,并确保它们能够在不同平台上无缝运行。值得注意的是,版权方面,所有内容未经Packt Publishing的书面许可不得复制或传播,且书中的信息虽已尽最大努力确保准确性,但并不保证无误,且作者和出版商不对因本书产生的直接或间接损失负责。 此外,书中还包含了关于书中提及的所有公司和产品的商标信息,展示了Packt Publishing在尊重知识产权方面的专业态度。《Pyside GUI Application Development (2nd Edition, 2016)》是一本实用且全面的指南,是任何希望提升Python GUI开发技能的开发者的宝贵资源。"
2016-02-22 上传
Develop more dynamic and robust GUI applications using PySide, an open source cross-platform UI framework About This Book Designed for beginners to help you get started with GUI application development Develop your own applications by creating customized widgets and dialogs Written in a simple and elegant structure so you easily understand how to program various GUI components Who This Book Is For This book is written for Python programmers who want to learn about GUI programming. It is also suitable for those who are new to Python but are familiar with object-oriented programming. What You Will Learn Program GUI applications in an easy and efficient way Download and install PySide, a cross-platform GUI development toolkit for Python Create menus, toolbars, status bars, and child windows Develop a text editor application on your own Connect your GUI to a database and manage it Execute SQL queries by handling databases In Detail Elegantly-built GUI applications are always a massive hit among users. PySide is an open source software project that provides Python bindings for the Qt cross-platform UI framework. Combining the power of Qt and Python, PySide provides easy access to the Qt framework for Python developers and also acts as an excellent rapid application development platform. This book will take you through everything you need to know to develop UI applications. You will learn about installing and building PySide in various major operating systems as well as the basics of GUI programming. The book will then move on to discuss event management, signals and slots, and the widgets and dialogs available with PySide. Database interaction and manipulation is also covered. By the end of this book, you will be able to program GUI applications efficiently and master how to develop your own applications and how to run them across platforms. Style and approach This is an accessible and practical guide to developing GUIs for Python applications. Table of Contents Chapter 1: Getting Started with PySide Chapter 2: Entering through Windows Chapter 3: Main Windows and Layout Management Chapter 4: Events and Signals Chapter 5: Dialogs and Widgets Chapter 6: Database Handling