You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
### About
|
|
This is a frontend for the collection of tools used by the zebra.
|
|
|
|
<br>
|
|
|
|
### Contents
|
|
| File | Description |
|
|
|---|---|
|
|
| `oneDimView.py` | Widget containing the 1D Mode.|
|
|
| `plot_canvas.py` | Example of a plot. Used by `window.py`. To reuse.|
|
|
| `prepareView.py` | Widget containing the Prepare Mode.|
|
|
| `tab.py` | Example of a tab. Standalone.|
|
|
| `test_a_widget.py` | Window wrapper for easy testing of Widgets.|
|
|
| `tools.py` | Tools used by Widgets.|
|
|
| `twoDimView.py` | Widget containing the 2D Mode.|
|
|
| `welcomeView.py` | Widget containing the Welcome Screen.|
|
|
| `window.py` | Example of a button based interface. Standalone. Legacy. |
|
|
| `zebra.py` | Main Window of the application. Run from here.
|
|
|
|
<br>
|
|
|
|
### How To
|
|
|
|
##### Installation:
|
|
```
|
|
pip3 install pyqt5
|
|
pip3 install matplotlib
|
|
python3 ./zebra.py
|
|
```
|
|
|
|
##### About PyQt
|
|
Every UI element (e.g. *Button*) is a *Widget*.
|
|
A *Widget* can also have a *Layout* (e.g. *Grid*)
|
|
and contain other *Widgets*.
|
|
|
|
For example:
|
|
A *Tab* widget may contain an empty container widget.
|
|
The empty container widget may have the grid layout,
|
|
and contain a button on position (0,0) of said grid.
|
|
|