Skip to content

Commit

Permalink
Document qtpy in README
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc committed Apr 24, 2024
1 parent 2eb6bc1 commit b72d2a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Via `pip`/`conda`/`mamba`, i.e. any of the following:
- `conda install -c conda-forge eqt`
- `mamba install -c conda-forge eqt`

Note that `eqt` use the [`qtpy`](https://github.com/spyder-ide/qtpy) abstraction layer for Qt bindings, so can work with either PySide or PyQt bindings. Therefore 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`](examples) directory, e.g. how to launch a `QDialog` with a form inside using `eqt`'s [`QWidget`](examples/dialog_example.py) or [`FormDialog`](examples/dialog_example_2.py).
Expand Down

0 comments on commit b72d2a2

Please sign in to comment.