Free Sample
+ Collection

PySide GUI Application Development

Venkateshwaran Loganathan

Newbies to GUI programming in Python will find this book indispensable. As well as the basic concepts, you’ll be taught PySide in detail through practical instructions and create your own applications with customized widgets and dialogs.
RRP $20.99
RRP $34.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849699594
Paperback140 pages

About This Book

  • Designed for beginners to help them get started with GUI application development
  • Develop your own applications by creating customized widgets and dialogs
  • Written in a simple and elegant structure to help 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.

Table of Contents

Chapter 1: Getting Started with PySide
About Python
What is PySide?
Hello GUI
Setting up PySide
Building PySide
Importing PySide objects
My first PySide application
Exception handling as a practice
Chapter 2: Entering through Windows
Creating a simple window
Creating the application icon
Showing a tooltip
Adding a button
Centering the Window on the screen
About box
Windows style
Chapter 3: Main Windows and Layout Management
Creating the main window
Status bar
Menu bar
The central widget
Adding a menu bar
Adding menus
Tool bar
Layout management
A simple text editor
Chapter 4: Events and Signals
Event management
Signals and slots
Graphics and effects
Chapter 5: Dialogs and Widgets
Built-in dialogs
Custom dialogs
Widgets at a glance
Custom widgets
Implementation of MDI
Chapter 6: Handling Databases
Connecting to the database
Executing SQL queries
Table and form views
Table view
Form view
Viewing relations in table views

What You Will Learn

  • Download and install/build PySide, a cross-platform GUI development toolkit for Python
  • Program GUI applications in an easy and efficient way
  • Create and work with windowed applications
  • Create menus, toolbars, status bars, and child windows
  • Connect your GUI to a database and manage it

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 available on all major operating systems.

This book aims to help you develop GUI applications easily using PySide. Python is easy to learn and use and its programs are relatively shorter than those written in other programming languages like C++ or Java. This book will introduce you to user interface programming in Python, allowing you to develop real-time applications in a shorter amount of time.

This book will take you through everything you need to know to develop UI applications. You will learn about installing/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.

In a nutshell, this book is great for learning how to program applications with GUI and for mastering how to develop your own applications and how to run them across platforms.


Read More

Recommended for You