Book Image

Pyside GUI Application Development- Second Edition - Second Edition

By : Venkateshwaran Loganathan, Gopinath Jaganmohan
Book Image

Pyside GUI Application Development- Second Edition - Second Edition

By: Venkateshwaran Loganathan, Gopinath Jaganmohan

Overview of this book

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.
Table of Contents (13 chapters)

Widgets at a glance


Widgets are the basic building blocks of a Graphical User Interface hierarchy in GUI applications. Widgets are basically used to display data and status information, receive user input, and provide a container for other widgets that should be grouped together. Qt comes with a variety of basic and advanced built-in widgets that can be customized to our own needs. A list of predefined widgets is given in the following tables for your reference. QWidget is the base class for all the widgets given in the following lists.

The following is a list of predefined basic widgets:

Widget

Description

QCheckBox

This is a checkbox with a text label

QComboBox

This is a combined button and pop-up list

QCommandLinkButton

This is a Vista-style command-link button

QDateEdit

This is a widget that is used to edit dates that are based on the QDateTimeEdit widget

QDateTimeEdit

This is a widget that is used to edit dates and times

QDial

This is a rounded range control...