Independently published, 2020. — 105 p. — ISBN B088FWNFQP.
Are you going to build a GUI app for Windows, Mac OS or Linux using Python or are you just curious what’s possible in your programming language of choice then this book is for you.This book covers the full process from installing over coding to deploying apps to the specific platforms using Python, Qt5, PyQt5 and Visual Studio Code.
This book covers both the imperative approach using QtWigets and the declarative approach using QtQuick and QML.
I will show you how to setup a Linux machine as development and deployment platform.
All apps described in this book should also work on the other above mentioned platform.
Who This Book Is ForIf you are able to write basic Python code and you are interested in developing apps with user interfaces for multiple platforms in Python this book is right for you.
This book does not assume that you are familiar with Qt.
If you want, try out all of the examples in this book it would be a great benefit if you are also working on a Linux machine like me, but MacOS and Windows should also be ok if your are able to search for help in the internet for OS specific differences.
If you already read my book Python GUI – Develop Cross Platform GUI Applications using Python, Qt and PyQt5 you might only see that one chapter differences to this book along some other enhancements.
I used a few chapters of that book and I only added one chapter about the line of business applications and therefore I have dropped the Android part.
Table of Contents
PrefaceCopyright
Motivation
Who This Book Is ForWho This Book Is Not For
How This Book Is Organized
Conventions Used In This Book
Using Code Examples
How To Contact Me
Acknowledgements
PrologInstallation
Development Environment Setup
Python
Coderunner
QML
VSCode SettingsFirst App
BasicsMany Different Approaches
Hello World (QtWidgets)
Hello World (QtQuick)
Combining QWidget and QML
QtWidgetsBase Widgets and Layouts
Layout
Signals and SlotsListView
TreeWidget
Dialog
MessageDialog
User Defined Widgets
MarkownEditor
LOBDevelop of a line of business application
Main
MainWindow
InitGui
Client Editor
Dashboard
Settings Editor
Controls
FlatButton
Hyperlink
ExpanderDeploying to LinuxInstall PyInstaller
Install QtInstallerFramework
Build Executable
Test Executable
Create Setup Package
Afterwords
About The Author