This is a Python UI library that can run with a pyside6 or nionui-tool backend.
Install this library using pip or conda.
pip install nionui
Install using PySide6 or nionui-tool backend.
pip install nionui-tool
pip install pyside6
This UI library supports an application.
To run the example application, use the following command with the appropriate application identifier. It will launch using either the nionui-tool or pyside6 backend, depending on which is installed. If both are installed, it will use the nionui-tool.
python -m nionui <application_identifier>
To run the UI demo app, use the following command (application identifier is 'nionui_examples.ui_demo'):
python -m nionui nionui_examples.ui_demo
To run the Canvas demo app, use the following command (application identifier is 'nionui_examples.canvas_demo'):
python -m nionui nionui_examples.canvas_demo
To run Nion Swift, use the following command (application identifier is 'nionswift'):
python -m nionui nionswift