1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
Getting Started
===============
Requirements
------------
* Python 3.6+
* qtpy
* PyQt5 / PySide
Installation
------------
We recommend using conda to install qtpynodeeditor.
::
$ conda create -n my_new_environment -c conda-forge python=3.7 qtpynodeeditor
$ conda activate my_new_environment
qtpynodeeditor may also be installed using pip from PyPI.
::
$ python -m pip install qtpynodeeditor pyqt5
Examples
--------
1. `Connection colors <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/connection_colors.py>`_
::
$ python -m qtpynodeeditor.examples.connection_colors
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/connection_colors.png
2. `Image <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/image.py>`_
::
$ python -m qtpynodeeditor.examples.image
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/image.png
3. `Style <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/style.py>`_
::
$ python -m qtpynodeeditor.examples.style
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/style.png
4. `Calculator <https://github.com/klauer/qtpynodeeditor/blob/master/qtpynodeeditor/examples/calculator.py>`_
::
$ python -m qtpynodeeditor.examples.calculator
.. image:: https://raw.githubusercontent.com/klauer/qtpynodeeditor/assets/screenshots/calculator.png
|