Skip to main content

The Alpha Qt version of PySimpleGUI, the GUI SDK Launched in 2018 Actively developed and supported. Super-simple to create custom GUI's. Now supports both tkinter an Qt

Project description

pysimplegui_logo

Downloads

Awesome Meter

Python Version

PySimpleGUIQt

The Alpha Release

Announcements of Latest Developments


Getting Started with PySimpleGUIQt

Welcome to the Alpha Release of PySimpleGUI for Qt!

You can use the exact same code that you are running on the older, tkinter, version of PySimpleGUI.

PySimpleGUIQt uses PySide2 for access to Qt.

Differences between PySimpleGUI and PySimpleGUIQt

Sizes

IMPORTANT NOTE if you are porting from tkinter to Qt - You will need to make one important change to your code.... You must change your size parameters to be in PIXELS instead of CHARACTERS.

Fonts

Fonts should be in the format (font family, size). The original PySimpleGUI also allowed a font string 'Family Size' but that option is not available (yet) in the Qt version. I'll add it though so the code ports straight over.

Installing PySimpleGUIQt for Python 3

pip install --upgrade PySimpleGUIQt

On some systems you need to run pip3.

pip3 install --upgrade PySimpleGUIQt     

Installing PySide2 for Python 3

pip install PySide2

Testing your installation

Once you have installed, or copied the .py file to your app folder, you can test the installation using python. At the command prompt start up Python.

python3      
>>> import PySimpleGUIQt    
>>> PySimpleGUIQt.main()      

You will see a sample window in the center of your screen. If it's not installed correctly you are likely to get an error message during one of those commands

Here is the window you should see:

sample window

Prerequisites

Python 3
PySide2

Using - Python 3

To use in your code, simply import....
import PySimpleGUIQt as sg

Then use the exact same code as any other PySimpleGUI program that runs on tkinter.

Status

FEATURE COMPLETE!

All of the major features are DONE. They may not have all of their options working, but they can be added to your windows. It's been an amazing week to get here.

I hope you enjoy this ALPHA release! Please post a screenshot on the GitHub site. There is an Issue where users have been posting their applications. It's a place for you to show-off and a place for others to learn from your designs. Your window does not have to be complex.... all GUIs, no matter how simple, are something we can learn from.

Functioning features

Features are being added daily to this Qt port of PySimpleGUI.
These Elements are "complete" (a relative term... more are more complete than others):

  • Text
  • Input single line
  • Input multiline
  • Output multiline (new)
  • Dial (new)
  • Output - reroute stdout
  • Spinner
  • Sliders
  • Buttons - RButtons, CButtons, Short-cut Buttons
  • Checkbox
  • Radio Buttons
  • Listbox
  • ComboBox
  • Labeled Frames
  • Columns - enables you to make pretty much any layout!
  • Alpha channel for windows
  • No Title Bar setting
  • Enter submits for multiline
  • Fonts
  • Colors for text and background
  • Timeouts for Read calls
  • Change Submits parametes for most Elements
  • Table
    • Basic display
    • Read selected rows
    • change_submits events
    • Updates
  • Image as a background (new feature)
  • Graph - Draw line, draw circle, draw text
  • Image Element
  • Tree Element
  • Tabs
  • Menus

Missing Features

Notable MISSING features at the moment include:

  • Graphs Element Methods - erasing, draw arc, etc
  • Change submits - for radio buttons

Design

Author

MikeTheWatchGuy

Demo Code Contributors

License

GNU Lesser General Public License (LGPL 3) +

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PySimpleGUIQt-0.10.0.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

PySimpleGUIQt-0.10.0-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file PySimpleGUIQt-0.10.0.tar.gz.

File metadata

  • Download URL: PySimpleGUIQt-0.10.0.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.2 CPython/3.6.2

File hashes

Hashes for PySimpleGUIQt-0.10.0.tar.gz
Algorithm Hash digest
SHA256 a1a0557318987eaba8fe1e957db0d87c3f82dc049f0828f63d07df5d22522222
MD5 34df27cd13e121a402965df1e2b1616b
BLAKE2b-256 2e778c1d8e13a1cb0ca32a1d41dd12d732c665b2723e0690776481472b91fab2

See more details on using hashes here.

File details

Details for the file PySimpleGUIQt-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: PySimpleGUIQt-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.19.2 CPython/3.6.2

File hashes

Hashes for PySimpleGUIQt-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 30cffee208063228a69bb5ca224916193450913500f6c3dffee3c0b149487880
MD5 8243e8e0a9ccb75bd6a0053512f629c8
BLAKE2b-256 208571d1ead2a434a6b700adf476a6c4a0a72fbaf6527046c09c4cd11cb4c047

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page