Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Probably the best place to start. If you look at opsDevPanel.ui (run "pydm opsDevPanel.ui"), you should see an "Example Dev Panel" button 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 related display button that leads to a python file instead of a ui file (example/example.py – you – you can open it up in designer to see). If you look at example.py, you'll see the format for a PyDM GUI:

...