|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MicroPythonWebreplConnectionDialog</class> |
|
4 <widget class="QDialog" name="MicroPythonWebreplConnectionDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>400</width> |
|
10 <height>172</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>WebREPL Connection</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_3"> |
|
22 <property name="text"> |
|
23 <string>Host:</string> |
|
24 </property> |
|
25 </widget> |
|
26 </item> |
|
27 <item row="0" column="1" colspan="2"> |
|
28 <widget class="QLineEdit" name="hostEdit"> |
|
29 <property name="toolTip"> |
|
30 <string>Enter the host name or IPv4 address of the device.</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_4"> |
|
39 <property name="text"> |
|
40 <string>Port:</string> |
|
41 </property> |
|
42 </widget> |
|
43 </item> |
|
44 <item row="1" column="1" colspan="2"> |
|
45 <widget class="QLineEdit" name="portEdit"> |
|
46 <property name="toolTip"> |
|
47 <string>Enter the port of the WebREPL (empty for default port 8266).</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_5"> |
|
56 <property name="text"> |
|
57 <string>Password:</string> |
|
58 </property> |
|
59 </widget> |
|
60 </item> |
|
61 <item row="2" column="1"> |
|
62 <widget class="QLineEdit" name="passwordEdit"> |
|
63 <property name="toolTip"> |
|
64 <string>Enter the password for this device connection.</string> |
|
65 </property> |
|
66 <property name="echoMode"> |
|
67 <enum>QLineEdit::Password</enum> |
|
68 </property> |
|
69 <property name="clearButtonEnabled"> |
|
70 <bool>true</bool> |
|
71 </property> |
|
72 </widget> |
|
73 </item> |
|
74 <item row="2" column="2"> |
|
75 <widget class="QToolButton" name="showPasswordButton"> |
|
76 <property name="toolTip"> |
|
77 <string>Press to show the password.</string> |
|
78 </property> |
|
79 <property name="checkable"> |
|
80 <bool>true</bool> |
|
81 </property> |
|
82 </widget> |
|
83 </item> |
|
84 <item row="3" column="0"> |
|
85 <widget class="QLabel" name="label_6"> |
|
86 <property name="text"> |
|
87 <string>Device Type:</string> |
|
88 </property> |
|
89 </widget> |
|
90 </item> |
|
91 <item row="3" column="1" colspan="2"> |
|
92 <widget class="QComboBox" name="deviceTypeComboBox"> |
|
93 <property name="sizePolicy"> |
|
94 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
95 <horstretch>0</horstretch> |
|
96 <verstretch>0</verstretch> |
|
97 </sizepolicy> |
|
98 </property> |
|
99 <property name="toolTip"> |
|
100 <string>Select the device type</string> |
|
101 </property> |
|
102 </widget> |
|
103 </item> |
|
104 <item row="4" column="0" colspan="3"> |
|
105 <widget class="QDialogButtonBox" name="buttonBox"> |
|
106 <property name="orientation"> |
|
107 <enum>Qt::Horizontal</enum> |
|
108 </property> |
|
109 <property name="standardButtons"> |
|
110 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
111 </property> |
|
112 </widget> |
|
113 </item> |
|
114 </layout> |
|
115 </widget> |
|
116 <tabstops> |
|
117 <tabstop>hostEdit</tabstop> |
|
118 <tabstop>portEdit</tabstop> |
|
119 <tabstop>passwordEdit</tabstop> |
|
120 <tabstop>deviceTypeComboBox</tabstop> |
|
121 </tabstops> |
|
122 <resources/> |
|
123 <connections> |
|
124 <connection> |
|
125 <sender>buttonBox</sender> |
|
126 <signal>accepted()</signal> |
|
127 <receiver>MicroPythonWebreplConnectionDialog</receiver> |
|
128 <slot>accept()</slot> |
|
129 <hints> |
|
130 <hint type="sourcelabel"> |
|
131 <x>248</x> |
|
132 <y>254</y> |
|
133 </hint> |
|
134 <hint type="destinationlabel"> |
|
135 <x>157</x> |
|
136 <y>274</y> |
|
137 </hint> |
|
138 </hints> |
|
139 </connection> |
|
140 <connection> |
|
141 <sender>buttonBox</sender> |
|
142 <signal>rejected()</signal> |
|
143 <receiver>MicroPythonWebreplConnectionDialog</receiver> |
|
144 <slot>reject()</slot> |
|
145 <hints> |
|
146 <hint type="sourcelabel"> |
|
147 <x>316</x> |
|
148 <y>260</y> |
|
149 </hint> |
|
150 <hint type="destinationlabel"> |
|
151 <x>286</x> |
|
152 <y>274</y> |
|
153 </hint> |
|
154 </hints> |
|
155 </connection> |
|
156 </connections> |
|
157 </ui> |