Closed prjemian closed 1 year ago
Nothing fancy, just a window with maybe a couple widgets.
I have a very simple one:
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Form</class>
<widget class="QWidget" name="Form">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>347</width>
<height>233</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>motor #1 position</string>
</property>
</widget>
</item>
<item>
<widget class="PyDMLabel" name="PyDMLabel">
<property name="toolTip">
<string/>
</property>
<property name="precision" stdset="0">
<number>5</number>
</property>
<property name="showUnits" stdset="0">
<bool>true</bool>
</property>
<property name="precisionFromPV" stdset="0">
<bool>false</bool>
</property>
<property name="channel" stdset="0">
<string>ca://fr:m1.RBV</string>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>PyDMLabel</class>
<extends>QLabel</extends>
<header>pydm.widgets.label</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
Create a Python Qt5 application as a starting point.