• Complain

Alan D. Moore - Mastering GUI Programming with Python

Here you can read online Alan D. Moore - Mastering GUI Programming with Python full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2019, publisher: Packt Publishing, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Mastering GUI Programming with Python
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2019
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Mastering GUI Programming with Python: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Mastering GUI Programming with Python" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Who this book is forThis book is for the intermediate Python programmer who wants to dig deep into the PyQt application framework and learn how to make powerful GUI applications. It is assumed that the reader knows the basics of Python syntax, features, and idioms such as functions, classes, and common standard library tools. It is also assumed the reader has an environment in which they are comfortable writing and executing Python code.This book does not assume any prior knowledge of GUI development, other GUI toolkits, or other versions of PyQt.~~~~~~~~~What this book coversChapter 1, Getting Started with PyQt, introduces you to the Qt and PyQt libraries. You will learn how to set up your system for writing PyQt applications and be introduced to Qt Designer. You will also write the traditional Hello World application and develop a basic template for PyQt apps.Chapter 2, Building Forms with QtWidgets, shows you the basics of making a PyQt GUI. Youll meet the most common input and display widgets, learn to arrange them using layouts, and learn how to validate user input. Youll put these skills into action developing a calendar GUI.Chapter 3, Handling Events with Signals and Slots, focuses on PyQts event handling and object communication system. Youll learn how to use this system to make your application respond to user input, and how to create custom signals and slots. Youll put these skills to work by completing your calendar application.Chapter 4, Building Applications with QMainWindow, introduces you to the QMainWindow class, which forms the basis of our applications throughout the rest of the book. Youll also explore PyQts standard dialog classes and the QSettings module for saving your apps configuration.Chapter 5, Creating Data Interfaces with Model-View Classes, focuses on Qts Model-View classes. Youll learn the principles of model-view design, explore the model-view classes in QtWidgets, and exercise your knowledge as we develop a CSV editor.Chapter 6, Styling Qt Applications, explores the styling capabilities of PyQt widgets. You will spice up your GUI applications with custom fonts, images, and icons. Youll learn to customize colors using style objects and Qt style sheets. Finally, well learn how to do basic animations of style properties.Chapter 7, Working with Audio-Visual Using QtMultimedia, explores the multimedia features of Qt. You will learn how to playback and record audio and video in a way that works seamlessly across platforms.Chapter 8, Networking with QtNetwork, is focused on simple network communications using the QtNetwork library. You will learn to communicate over raw sockets, both Transmission Control Protocol (TCP) and User Datagram Protocol (UDP), as well as learning to transmit and receive files and data using HTTP.Chapter 9, Exploring SQL with QtSQL, introduces you to the world of SQL database programming. You will learn the basics of SQL and the SQLite database. You will then learn how your PyQt applications can use the QtSQL library to access data using raw SQL commands or Qts SQL model-view classes.Chapter 10, Multithreading with QTimer and QThread, addresses the world of multithreaded and asynchronous programming. You will learn to use timers to delay tasks on the event loop and learn how to push processes into a separate execution thread using QThread. Youll also learn how to do high-concurrency programming using QThreadPool.Chapter 11, Creating Rich Text with QTextDocument, explores rich text and document preparation in Qt. Youll be introduced to Qts rich text markup language, and learn how to build documents programmatically using QTextDocument. Youll also learn how to use Qts printing libraries to enable document printing easily across platforms.Chapter 12, Creating 2D Graphics with Qpainter, digs deep into two-dimensional graphics in Qt. Youll learn how to load and edit images and to create custom widgets. Youll also learn about drawing and animating with the Qt Graphics system, and create an arcade-style game.Chapter 13, Creating 3D Graphics with QtOpenGL, introduces you to 3D graphics with OpenGL. You will learn the basics of modern OpenGL programming, and how to use PyQt widgets to display and interact with OpenGL drawings.Chapter 14, Embedding Data Plots with QtCharts, explores Qts built-in charting capabilities. Youll learn how to create both static and animated charts, and how to customize the colors, fonts, and styles of your charts.Chapter 15, PyQt Raspberry Pi, focuses on the use of PyQt on the Raspberry Pi computer. Youll learn how to set up PyQt on Raspbian Linux, and how to combine the power of PyQt with the Raspberry Pis GPIO pins to create GUI applications that interact with real-world circuitry.Chapter 16, Web Browsing with QtWebEngine, looks at PyQts Chromium-based web browser module. Youll explore the capabilities of this module as you build your own multi-tabbed web browser.Chapter 17, Preparing your Software for Distribution, discusses various ways to prepare your code for sharing and distribution. Well look at optimal project layout, packaging your source code for other Python users using setuptools, and building standalone executables using PyInstaller.Appendix A, Answers to Questions, contains answers or suggestions for the questions at the end of each chapter.Appendix B, Upgrading Raspbian 9 to Raspbian 10, explains how to upgrade a Raspberry Pi device from Raspbian 9 to Raspbian 10, for readers who are trying to follow the book before the official release of Raspbian 10.

Alan D. Moore: author's other books


Who wrote Mastering GUI Programming with Python? Find out the surname, the name of the author of the book and a list of all author's works by series.

Mastering GUI Programming with Python — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Mastering GUI Programming with Python" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Mastering GUI Programming with Python Develop impressive cross-platform - photo 1
Mastering GUI Programming with Python

Develop impressive cross-platform GUI applications
with PyQt
Alan D. Moore

BIRMINGHAM - MUMBAI Mastering GUI Programming with Python Copyright 2019 - photo 2

BIRMINGHAM - MUMBAI
Mastering GUI Programming with Python

Copyright 2019 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Commissioning Editor: Richa Tripathi
Acquisition Editor: Shriram Shekhar
Content Development Editor: Digvijay Bagul
Technical Editor: Abin Sebastian
Copy Editor: Safis Editing
Project Coordinator: Prajakta Naik
Proofreader: Safis Editing
Indexer: Pratik Shirodkar
Graphics Coordinator: Jisha Chirayil
Production Coordinator: Aparna Bhagat

First published: May 2019

Production reference: 1230519

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78961-290-5

www.packtpub.com


To my childrenmay you be inspired to create, be diligent to create well, and be bold enough
to share your creations confidently with the world.
Alan D. Moore
maptio Mapt is an online digital library that gives you full access to over - photo 3
mapt.io

Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website.

Why subscribe?
  • Spend less time learning and more time coding with practical eBooks and Videos from over 4,000 industry professionals

  • Improve your learning with Skill Plans built especially for you

  • Get a free eBook or video every month

  • Mapt is fully searchable

  • Copy and paste, print, and bookmark content

Packt.com

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packt.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.

At www.packt.com , you can also read a collection of free technical articles, sign up for a range of free newsletters, and receive exclusive discounts and offers on Packt books and eBooks.

Contributors
About the author

Alan D. Moore is a data analyst and software developer who has been solving problems with Python since 2006. He's developed both open source and private code using frameworks such as Django, Flask, Qt, and Tkinter, and contributes to various open source Python and JavaScript projects. Alan is the author of Python GUI Programming with Tkinter.

About the reviewer

Chankey Pathak is a data scientist from India. He's the author of a Python API for high-frequency trading with Morgan Stanley. He has worked with Citadel, Sophos, and Proofpoint in the past. He's also well-known in the Perl community for his contributions. He is an open source contributor and loves Linux.

Packt is searching for authors like you

If you're interested in becoming an author for Packt, please visit authors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for, or submit your own idea.

Preface

In an age when the term application developer nearly always implies web application developer, the building of desktop GUI applications may seem in danger of becoming a quaint and obscure art. Yet on every forum, mailing list, and chat service where programming is discussed, I find young Python coders eager to dive into GUI toolkits so that they can start building the kind of software that any average person can readily identify as an application. The one GUI library consistently recommended to these learners, the one that is arguably Python's most exciting and most complete toolkit, is PyQt.

Despite this popularity, there have been relatively few resources available for learning PyQt. Those who wish to learn it must rely heavily on outdated books, C++ documentation, scattered blogs, or snippets of code found in mailing lists or Stack Overflow posts. There is an apparent need for a modern tutorial and reference on PyQt for the Python programmer, and this book aims to fill that need.

My first book, Python GUI Programming with Tkinter, focused on the rudiments of application development using Tkinter, covering core topics such as interface design, unit testing, program architecture, and packaging. In this book, I wanted to go beyond the basics, not just teaching you how to build data-driven business forms (which so many toolkits can produce, and so many other books can teach you to write), but to explore the more exciting and unique possibilities offered by PyQt: multimedia, animation, 3D graphics, image manipulation, networking, multi-threading, and more. Of course, this book doesn't shirk the business side of things either, with solid coverage of data entry forms, SQL databases, and charting.

There are two kinds of authors who write technical books. The first is the absolute expert, with infallible authority and encyclopedic knowledge of the topic at hand, who is able to draw on a deep understanding to produce explanations that perfectly address the learner's most pertinent needs.

The second kind of author is a mere mortal possessed of a reasonable familiarity with the basics, a willingness to research what is not known, and most importantly, a dogged determination to ensure that every statement asserted in print is the whole and correct truth. This author must be prepared to stop mid-sentence in the flow of writing to test claims in the interpreter or code editor; to spend hours reading documentation, mailing-list threads, code comments, and IRC logs in the pursuit of a more correct understanding; and to delete and rewrite large swathes of their work when a new fact reveals a fault in their original assumptions.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Mastering GUI Programming with Python»

Look at similar books to Mastering GUI Programming with Python. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Mastering GUI Programming with Python»

Discussion, reviews of the book Mastering GUI Programming with Python and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.