Skip to content

A number of templates and tools to develop Qt GUI's with Python effectively.

License

Notifications You must be signed in to change notification settings

TomographicImaging/eqt

Repository files navigation

eqt: Qt Elements

Tests PyPI Conda

Templates & tools to develop Qt GUIs in Python.

Some example classes are

  1. UIFormWidget: a class to help creating Qt forms programmatically, useable in QDockWidgets and QWidget
  2. FormDialog: a QDialog with a form inside with OK and Cancel buttons
  3. Worker: a class that defines a QRunnable to handle worker thread setup, signals and wrap up

One use case is accepting a user input while running another task asynchronously (so that the UI is still responsive).

Installation

Via pip/conda/mamba, i.e. any of the following:

  • python -m pip install eqt
  • conda install -c conda-forge eqt
  • mamba install -c conda-forge eqt

Note:

eqt uses the qtpy abstraction layer for Qt bindings, meaning that it works with either PySide or PyQt bindings. Thus, the package does not depend on either. If the environment does not already have a Qt binding then the user must install either pyside2 or pyqt5.

Examples

See the examples directory, e.g. how to launch a QDialog with a form inside using eqt's QWidget or FormDialog.

Documentation

See Documentation.md.

Developer Contribution Guide

See CONTRIBUTING.md.

About

A number of templates and tools to develop Qt GUI's with Python effectively.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages