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)

Chapter 5. Dialogs and Widgets

Most, if not all, GUI applications that are developed have to be supplemented with dialogs and widgets to enable different use cases and workflows for the user. Dialogs are usually small-sized windows with specific functionalities that aid the users with selecting or executing some operation. The most common examples of dialogs include the File Open dialog in many text and image editing applications, the Color Chooser dialog in various paint applications, and so on. In many GUI toolkits, the terms dialogs and widgets are used interchangeably. As a general difference, dialogs are the small windows whose main purpose is to establish a connection between the user and the program. We normally use dialog boxes to receive an input from the users or to represent an output or error message to the users. However, widgets are collections of the building blocks of the applications, such as buttons, check boxes, progress bars, and so on. This chapter will introduce you...