|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MicroPythonWebreplUrlAddEditDialog</class> |
|
4 <widget class="QDialog" name="MicroPythonWebreplUrlAddEditDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>400</width> |
|
10 <height>236</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>WebREPL URL</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>Name:</string> |
|
24 </property> |
|
25 </widget> |
|
26 </item> |
|
27 <item row="0" column="1"> |
|
28 <widget class="QLineEdit" name="nameEdit"> |
|
29 <property name="toolTip"> |
|
30 <string>Enter a unique name for the WebREPL connection.</string> |
|
31 </property> |
|
32 <property name="clearButtonEnabled"> |
|
33 <bool>true</bool> |
|
34 </property> |
|
35 </widget> |
|
36 </item> |
|
37 <item row="1" column="0"> |
|
38 <widget class="QLabel" name="label_2"> |
|
39 <property name="text"> |
|
40 <string>Description:</string> |
|
41 </property> |
|
42 </widget> |
|
43 </item> |
|
44 <item row="1" column="1"> |
|
45 <widget class="QLineEdit" name="descriptionEdit"> |
|
46 <property name="toolTip"> |
|
47 <string>Enter a short description to be shown in the selector.</string> |
|
48 </property> |
|
49 <property name="clearButtonEnabled"> |
|
50 <bool>true</bool> |
|
51 </property> |
|
52 </widget> |
|
53 </item> |
|
54 <item row="2" column="0"> |
|
55 <widget class="QLabel" name="label_3"> |
|
56 <property name="text"> |
|
57 <string>Host:</string> |
|
58 </property> |
|
59 </widget> |
|
60 </item> |
|
61 <item row="2" column="1"> |
|
62 <widget class="QLineEdit" name="hostEdit"> |
|
63 <property name="toolTip"> |
|
64 <string>Enter the host name or IPv4 address of the device.</string> |
|
65 </property> |
|
66 <property name="clearButtonEnabled"> |
|
67 <bool>true</bool> |
|
68 </property> |
|
69 </widget> |
|
70 </item> |
|
71 <item row="3" column="0"> |
|
72 <widget class="QLabel" name="label_4"> |
|
73 <property name="text"> |
|
74 <string>Port:</string> |
|
75 </property> |
|
76 </widget> |
|
77 </item> |
|
78 <item row="3" column="1"> |
|
79 <widget class="QLineEdit" name="portEdit"> |
|
80 <property name="toolTip"> |
|
81 <string>Enter the port of the WebREPL (empty for default port 8266).</string> |
|
82 </property> |
|
83 <property name="clearButtonEnabled"> |
|
84 <bool>true</bool> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 <item row="4" column="0"> |
|
89 <widget class="QLabel" name="label_5"> |
|
90 <property name="text"> |
|
91 <string>Password:</string> |
|
92 </property> |
|
93 </widget> |
|
94 </item> |
|
95 <item row="4" column="1"> |
|
96 <widget class="QLineEdit" name="passwordEdit"> |
|
97 <property name="toolTip"> |
|
98 <string>Enter the password for this device connection.</string> |
|
99 </property> |
|
100 <property name="clearButtonEnabled"> |
|
101 <bool>true</bool> |
|
102 </property> |
|
103 </widget> |
|
104 </item> |
|
105 <item row="5" column="0"> |
|
106 <widget class="QLabel" name="label_6"> |
|
107 <property name="text"> |
|
108 <string>Device Type:</string> |
|
109 </property> |
|
110 </widget> |
|
111 </item> |
|
112 <item row="5" column="1"> |
|
113 <widget class="QComboBox" name="deviceTypeComboBox"> |
|
114 <property name="sizePolicy"> |
|
115 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
116 <horstretch>0</horstretch> |
|
117 <verstretch>0</verstretch> |
|
118 </sizepolicy> |
|
119 </property> |
|
120 <property name="toolTip"> |
|
121 <string>Select the device type</string> |
|
122 </property> |
|
123 </widget> |
|
124 </item> |
|
125 <item row="6" column="0" colspan="2"> |
|
126 <widget class="QDialogButtonBox" name="buttonBox"> |
|
127 <property name="orientation"> |
|
128 <enum>Qt::Horizontal</enum> |
|
129 </property> |
|
130 <property name="standardButtons"> |
|
131 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
132 </property> |
|
133 </widget> |
|
134 </item> |
|
135 </layout> |
|
136 </widget> |
|
137 <resources/> |
|
138 <connections> |
|
139 <connection> |
|
140 <sender>buttonBox</sender> |
|
141 <signal>accepted()</signal> |
|
142 <receiver>MicroPythonWebreplUrlAddEditDialog</receiver> |
|
143 <slot>accept()</slot> |
|
144 <hints> |
|
145 <hint type="sourcelabel"> |
|
146 <x>248</x> |
|
147 <y>254</y> |
|
148 </hint> |
|
149 <hint type="destinationlabel"> |
|
150 <x>157</x> |
|
151 <y>274</y> |
|
152 </hint> |
|
153 </hints> |
|
154 </connection> |
|
155 <connection> |
|
156 <sender>buttonBox</sender> |
|
157 <signal>rejected()</signal> |
|
158 <receiver>MicroPythonWebreplUrlAddEditDialog</receiver> |
|
159 <slot>reject()</slot> |
|
160 <hints> |
|
161 <hint type="sourcelabel"> |
|
162 <x>316</x> |
|
163 <y>260</y> |
|
164 </hint> |
|
165 <hint type="destinationlabel"> |
|
166 <x>286</x> |
|
167 <y>274</y> |
|
168 </hint> |
|
169 </hints> |
|
170 </connection> |
|
171 </connections> |
|
172 </ui> |