eric6/MicroPython/AddEditDevicesDialog.ui

changeset 8080
218ca8019eb8
equal deleted inserted replaced
8079:331e717c458e 8080:218ca8019eb8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>AddEditDevicesDialog</class>
4 <widget class="QDialog" name="AddEditDevicesDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>500</width>
10 <height>270</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Add Unknown Device</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout">
20 <item row="0" column="0">
21 <widget class="QLabel" name="label">
22 <property name="text">
23 <string>Vendor ID:</string>
24 </property>
25 </widget>
26 </item>
27 <item row="0" column="1">
28 <widget class="QLineEdit" name="vidEdit">
29 <property name="readOnly">
30 <bool>true</bool>
31 </property>
32 </widget>
33 </item>
34 <item row="1" column="0">
35 <widget class="QLabel" name="label_2">
36 <property name="text">
37 <string>Product ID:</string>
38 </property>
39 </widget>
40 </item>
41 <item row="1" column="1">
42 <widget class="QLineEdit" name="pidEdit">
43 <property name="readOnly">
44 <bool>true</bool>
45 </property>
46 </widget>
47 </item>
48 <item row="2" column="0">
49 <widget class="QLabel" name="label_3">
50 <property name="text">
51 <string>Description:</string>
52 </property>
53 </widget>
54 </item>
55 <item row="2" column="1">
56 <widget class="QLineEdit" name="descriptionEdit">
57 <property name="readOnly">
58 <bool>true</bool>
59 </property>
60 </widget>
61 </item>
62 <item row="3" column="0">
63 <widget class="QLabel" name="label_4">
64 <property name="text">
65 <string>Device Type:</string>
66 </property>
67 </widget>
68 </item>
69 <item row="3" column="1">
70 <widget class="QComboBox" name="deviceTypeComboBox">
71 <property name="sizePolicy">
72 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
73 <horstretch>0</horstretch>
74 <verstretch>0</verstretch>
75 </sizepolicy>
76 </property>
77 <property name="toolTip">
78 <string>Select the device type</string>
79 </property>
80 </widget>
81 </item>
82 <item row="4" column="0">
83 <widget class="QLabel" name="label_5">
84 <property name="text">
85 <string>Data Volume:</string>
86 </property>
87 </widget>
88 </item>
89 <item row="4" column="1">
90 <widget class="QLineEdit" name="dataVolumeEdit">
91 <property name="toolTip">
92 <string>Enter the volume name used for direct acces to the device</string>
93 </property>
94 <property name="clearButtonEnabled">
95 <bool>true</bool>
96 </property>
97 </widget>
98 </item>
99 <item row="5" column="0">
100 <widget class="QLabel" name="label_6">
101 <property name="text">
102 <string>Flash Volume:</string>
103 </property>
104 </widget>
105 </item>
106 <item row="5" column="1">
107 <widget class="QLineEdit" name="flashVolumeEdit">
108 <property name="toolTip">
109 <string>Enter the volume name used for flashing if this device supports UF2</string>
110 </property>
111 <property name="clearButtonEnabled">
112 <bool>true</bool>
113 </property>
114 </widget>
115 </item>
116 <item row="6" column="0" colspan="2">
117 <widget class="QPushButton" name="reportButton">
118 <property name="toolTip">
119 <string>Press to report the entered data via email</string>
120 </property>
121 <property name="text">
122 <string>Report Data</string>
123 </property>
124 </widget>
125 </item>
126 <item row="7" column="0" colspan="2">
127 <widget class="QDialogButtonBox" name="buttonBox">
128 <property name="orientation">
129 <enum>Qt::Horizontal</enum>
130 </property>
131 <property name="standardButtons">
132 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
133 </property>
134 </widget>
135 </item>
136 </layout>
137 </widget>
138 <tabstops>
139 <tabstop>vidEdit</tabstop>
140 <tabstop>pidEdit</tabstop>
141 <tabstop>descriptionEdit</tabstop>
142 <tabstop>deviceTypeComboBox</tabstop>
143 <tabstop>dataVolumeEdit</tabstop>
144 <tabstop>flashVolumeEdit</tabstop>
145 <tabstop>reportButton</tabstop>
146 </tabstops>
147 <resources/>
148 <connections>
149 <connection>
150 <sender>buttonBox</sender>
151 <signal>accepted()</signal>
152 <receiver>AddEditDevicesDialog</receiver>
153 <slot>accept()</slot>
154 <hints>
155 <hint type="sourcelabel">
156 <x>248</x>
157 <y>254</y>
158 </hint>
159 <hint type="destinationlabel">
160 <x>157</x>
161 <y>274</y>
162 </hint>
163 </hints>
164 </connection>
165 <connection>
166 <sender>buttonBox</sender>
167 <signal>rejected()</signal>
168 <receiver>AddEditDevicesDialog</receiver>
169 <slot>reject()</slot>
170 <hints>
171 <hint type="sourcelabel">
172 <x>316</x>
173 <y>260</y>
174 </hint>
175 <hint type="destinationlabel">
176 <x>286</x>
177 <y>274</y>
178 </hint>
179 </hints>
180 </connection>
181 </connections>
182 </ui>

eric ide

mercurial