Table of Contents
PyQt5 App template made up of 4 example pages:
- Home - an (almost) empty homepage
- NewPageName - page containing two subpages inside which there are examples of various objects that can be used (eg. checkbox, text line, etc.)
- Napari - page useful for opening a napari window
- Segmentation - specific template for a possible automatic segmentation functionality
The use of Anaconda is supposed.
- Create a virtual environment for your code, in the terminal:
conda create --name name_of_venv
- Clone this git repository. Open the terminal where you want to put the App code (eg. Desktop):
git clone https://github.com/ariannaravera/pyqt5-app-template.git
Now you have the pyqt5-app-template folder into the chosen directory (eg. Desktop/pyqt5-app-template)
- Open the terminal within the pyqt5-app-template folder, activate your venv and install the libraries running:
conda activate name_of_venv
pip install -r requirements.txt
(If you have troubles with pyqt, try to install if in this way:
pip install pyqt5 --config-settings --confirm-license= --verbose
)
Now you have everything you need!
- To open the application, run:
python3 master.py
List of things you need to use the software and how to install them.
- PyQt5==5.15.9
- PyQt5_sip==12.12.1
- napari==0.4.17
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Arianna Ravera - ariannaravera22@gmail.com