Skip to main content

Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide)

Project description

pyqode.qt

Provides an abstraction layer on top of the various Qt bindings (PyQt5, PyQt4 and PySide).

This package has been extracted from pyqode.core 2.0.

Basically, it lets you write frameworks or applications that can run on various different Qt backends.

The default layout is the PyQt5 layout (QtGui and QtWidgets have been split into two different modules). This means that you write your application as if it was a PyQt5 application, pyqode.qt will then do the matching automatically if another API is used at runtime.

If you have multiple bindings installed on your system, PyQt5 (or PyQt4) will be used as the default unless told not to do so. You can tell pyqode.qt about your preferred bindings by setting up the QT_API environment variable. E.g, if you have PyQt5 and PyQt4 installed on your system and want to use PyQt4, just set QT_API to pyqt4.

Keep in mind that only the modules/classes needed for pyqode has beeen wrapped. You mind find that a specific module or class is missing. In this case, just open an issue or better, submit a pull request.

License

This project is licensed under the MIT license.

Requirements

You need PyQt5 or PyQt4 or PySide installed on your system to make use of pyqode.qt, obviously.

Installation

pip install pyqode.qt

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

pyqode.qt-1.0.0.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file pyqode.qt-1.0.0.tar.gz.

File metadata

  • Download URL: pyqode.qt-1.0.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyqode.qt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a144ad19aee4984b090364c97e05e10b8b4f215e7017ec0157be156044e2a5e9
MD5 b14c4b87ec3c484659b250df0d289f81
BLAKE2b-256 e1a212741717e1b478f2ac285c849a564d756a00cc97432fc616f95668b45dea

See more details on using hashes here.

Supported by

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