Home Page Icon
Home Page
Table of Contents for
Table of Contents
Close
Table of Contents
by Venkateshwaran Loganathan, Gopinath Jaganmohan
PySide GUI Application Development - Second Edition
PySide GUI Application Development Second Edition
Table of Contents
PySide GUI Application Development Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with PySide
Introducing PySide
Hello, GUI
Setting up PySide
Installing PySide using Windows
Installing PySide using Mac OS X
Installing PySide using Linux
Building PySide on Windows
Building PySide on Linux
Prerequisites
Building PySide
Mac OS X
Importing PySide objects
First PySide application
Exception handling as a practice
Summary
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
Tracking time using timers
Windows style
Summary
3. Main Windows and Layout Management
Creating the main window
Status bar
Menu bar
The central widget
Adding a menu bar
Adding menus
Toolbar
Layout management
Absolute positioning
Layout containers
QBoxLayout
QHBoxLayout
QVBoxLayout
QGridLayout
QFormLayout
QStackedLayout
SDI and MDI
A simple text editor
Summary
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 technique
Drawing shapes
Graphics and effects
Summary
5. Dialogs and Widgets
Built-in dialogs
QFileDialog
QInputDialog
QColorDialog
QPrintDialog
Custom dialogs
Widgets at a glance
Custom widget
Implementation of MDI
Summary
6. Database Handling
Connecting to the database
Executing SQL queries
Executing a query
Inserting, updating and deleting records
Navigating records
Database transactions
Table and form views
QSqlQueryModel
QSqlTableModel
QSqlRelationalTableModel
Table view
Form view
Viewing relations in table views
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
PySide GUI Application Development Second Edition
Table of Contents
PySide GUI Application Development Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Getting Started with PySide
Introducing PySide
Hello, GUI
Setting up PySide
Installing PySide using Windows
Installing PySide using Mac OS X
Installing PySide using Linux
Building PySide on Windows
Building PySide on Linux
Prerequisites
Building PySide
Mac OS X
Importing PySide objects
First PySide application
Exception handling as a practice
Summary
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
Tracking time using timers
Windows style
Summary
3. Main Windows and Layout Management
Creating the main window
Status bar
Menu bar
The central widget
Adding a menu bar
Adding menus
Toolbar
Layout management
Absolute positioning
Layout containers
QBoxLayout
QHBoxLayout
QVBoxLayout
QGridLayout
QFormLayout
QStackedLayout
SDI and MDI
A simple text editor
Summary
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 technique
Drawing shapes
Graphics and effects
Summary
5. Dialogs and Widgets
Built-in dialogs
QFileDialog
QInputDialog
QColorDialog
QPrintDialog
Custom dialogs
Widgets at a glance
Custom widget
Implementation of MDI
Summary
6. Database Handling
Connecting to the database
Executing SQL queries
Executing a query
Inserting, updating and deleting records
Navigating records
Database transactions
Table and form views
QSqlQueryModel
QSqlTableModel
QSqlRelationalTableModel
Table view
Form view
Viewing relations in table views
Summary
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset