PySide GUI Application Development

PySide GUI Application Development
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • 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

Book Details

Language : English
Paperback : 140 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 1849699593
ISBN 13 : 9781849699594
Author(s) : Venkateshwaran Loganathan
Topics and Technologies : All Books, Application Development

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: Handling Databases
Appendix: Resources
  • Chapter 1: Getting Started with PySide
    • About Python
    • What is PySide?
    • Hello GUI
    • Setting up PySide
      • Installation
        • Windows
        • Mac OS X
        • Linux
    • Building PySide
      • Windows
      • Linux
        • Prerequisites
        • Building PySide
      • Mac OS X
    • Importing PySide objects
    • My first PySide application
    • Exception handling as a practice
    • Summary
    • 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
      • Timers
      • Windows style
      • Summary
      • 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
          • Absolute positioning
          • Layout containers
          • QBoxLayout
            • QHBoxLayout
            • QVBoxLayout
          • QGridLayout
          • QFormLayout
          • QStackedLayout
        • SDI and MDI
        • A simple text editor
        • Summary
        • Chapter 4: Events and Signals
          • Event management
            • Event loop
            • Event processing
              • Reimplementing event handlers
              • Installing event filters
              • Reimplementing the notify() function
          • Signals and slots
          • Drag-and-drop
          • Drawing
          • Graphics and effects
          • Summary
          • Chapter 5: Dialogs and Widgets
            • Built-in dialogs
              • QFileDialog
              • QInputDialog
              • QColorDialog
              • QPrintDialog
            • Custom dialogs
            • Widgets at a glance
              • Basic widgets
              • Advanced widgets
              • Organizer widgets
            • Custom widgets
            • Implementation of MDI
            • Summary
            • Chapter 6: Handling Databases
              • Connecting to the database
              • Executing SQL queries
                • Executing a query
                • Inserting, updating, and deleting records
                • Navigating records
                • Transactions
              • Table and form views
                • QSqlQueryModel
                • QSqlTableModel
                • QSqlRelationalTableModel
              • Table view
              • Form view
              • Viewing relations in table views
              • Summary
              • Appendix: Resources
                • The PySide documentation wiki page
                • API reference manuals
                • Tutorials
                • Community support

                Venkateshwaran Loganathan

                Venkateshwaran Loganathan is an eminent software developer who has been involved in the design, development, and testing of software products for more than five years. He was introduced to computer programming at the age of 11 with FoxPro and then started to learn and master various computer languages like C, C++, Perl, Python, node.js, and Unix shell scripting. Fascinated by open source development, he has contributed to various open source technologies. He is now working for Cognizant Technology Solutions as an Associate in Technology, where he has involved himself in research and development for Internet of Things domain. He is now actively involved in using RFID devices for evolving the Future of Technology concepts. Before joining Cognizant, he worked at Infosys, Virtusa, and NuVeda. Starting his career as a Network Developer, he has gained expertise in various domains like Networking, e-learning, and HealthCare. He has won various awards and accolades for his work. He holds a bachelor's degree in Computer Science and Engineering from Anna University and currently pursuing M.S in software systems from BITS, Pilani. Apart from programming, he is actively involved in handling various technical and soft skills classes for the budding engineers and college students. His hobbies are singing and trekking. He likes to get involved with social media. Visit him online at and write to him at
                Sorry, we don't have any reviews for this title yet.

                Code Downloads

                Download the code and support files for this book.

                Submit Errata

                Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

                Sample chapters

                You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                Frequently bought together

                PySide GUI Application Development +    Node.js Blueprints =
                50% Off
                the second eBook
                Price for both: £24.85

                Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                What you will learn from this book

                • 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.


                An accessible and practical guide to developing GUI’s for Python applications.

                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.

                Code Download and Errata
                Packt Anytime, Anywhere
                Register Books
                Print Upgrades
                eBook Downloads
                Video Support
                Contact Us
                Awards Voting Nominations Previous Winners
                Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software