Skip to main content

Pythonic layer on top of PyQt5 / PySide2

Project description

prettyqt: Pythonic layer on top of PyQt5 / PySide2

PyPI Latest Release Package Status License Travis Build Status CodeCov Code style: black PyUp

What is it?

PrettyQt is a Python package that provides a pythonic layer on top of the GUI frameworks PyQt5 / PySide2.

Main Features

Here are just a few of the things that PrettyQt does well:

  • Large parts of the Qt API are available in a PEP-8-compliant way.
  • Several predefined widgets, validators, models, syntax highlighters are included.
  • A regex module based on QRegularExpression with the same API as Pythons core re module.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/phil65/PrettyQt

The latest released version are available at the Python package index.

# or PyPI
pip install prettyqt

Dependencies

Installation from sources

In the prettyqt directory (same one where you found this file after cloning the git repo), execute:

python setup.py install

or for installing in development mode:

python -m pip install -e .

License

MIT

Documentation

The official documentation is hosted on Github Pages: https://phil65.github.io/PrettyQt/

Contributing to pandas Open Source Helpers

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

Or maybe through using PrettyQt you have an idea of your own or are looking for something in the documentation and thinking ‘this can be improved’...you can do something about it!

v0.84.0 (2020-07-10)

Feat

  • sidebarwidget: allow setting tab by object id
  • Object: name kwarg for Object.find_children, add Object.find_child

v0.83.1 (2020-07-09)

Refactor

  • move set_icon from window classes to widget class

v0.83.0 (2020-07-09)

Feat

  • add Label.set_point_size
  • add self for label methods to allow chaining
  • Font.current_font context manager

v0.82.0 (2020-07-09)

Feat

  • add Label.set_bold / set_italic / set_weight
  • added Font.set_weight

v0.81.0 (2020-07-08)

Feat

  • allow setting window icon color
  • os dark mode detection

v0.80.1 (2020-07-08)

Fix

  • Settings.value() returned wrong type

v0.80.0 (2020-07-08)

Feat

  • add Widget.set_attribute
  • add margin keyword argument to Widget.set_layout

v0.79.1 (2020-07-08)

Fix

  • remove Qt logger on Application exit

v0.79.0 (2020-07-08)

Feat

  • add widgets.Application.get_widget

v0.78.0 (2020-07-08)

Feat

  • allow to save/load window state recursively. Saving needs to be done explicitely now.

Fix

  • some fixes for core.Settings dict interface
  • properly preserve types in core.Settings

v0.77.1 (2020-07-07)

Refactor

  • also allow qt flag for Splitter ctor

Fix

  • return correct types for re.groupdict / re.groups
  • Fixed an issue which prevented saving an image from chartview

0.77.0 (2020-07-06)

Feat

  • allow custom icons for Messagebox
  • add Icon.get_pixmap
  • add Object.set_unique_id / Object.get_id
  • allow None for set_max_height/width widget setters
  • add checkboxdelegate
  • add regexinput
  • add pre-commit-hook for commit messages

Fix

  • fix Messagebox.message call

Refactor

  • dont use property setter widget.id
  • dont use property setter widget.title
  • add child classes in re module
  • radiodelegate stuff
  • no props for abstractscrollarea scrollbars

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

prettyqt-0.84.0.tar.gz (129.1 kB view hashes)

Uploaded Source

Built Distributions

prettyqt-0.84.0-py3.7.egg (517.5 kB view hashes)

Uploaded Source

prettyqt-0.84.0-py2.py3-none-any.whl (202.3 kB view hashes)

Uploaded Python 2 Python 3

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