...
Probably the best place to start. If you look at the production Dev Panel, you should see an "Example Dev Panel" on it. If you click it, you'll launch a really simple GUI whose entire function is to print what it's doing. If you look in the example subdirectory, you'll see example.ui
and example.py
, which together make up that simple GUI. I created example.ui
using designer in the exact same way we created our dev panels in the tutorial. The difference here is that the button on opsDevPanel.ui
is a shell script button instead of a related display button, and it runs the command "pydm related display button that leads to a python file instead of a ui file (example/example.py
" (–
you can open it up in designer to see). If you look at example.py, you'll see the format for a PyDM GUI:
...