|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>MicroPythonWidget</class> |
|
4 <widget class="QWidget" name="MicroPythonWidget"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>456</width> |
|
10 <height>548</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout"> |
|
14 <item> |
|
15 <layout class="QHBoxLayout" name="horizontalLayout"> |
|
16 <item> |
|
17 <widget class="QLabel" name="deviceIconLabel"> |
|
18 <property name="sizePolicy"> |
|
19 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
20 <horstretch>0</horstretch> |
|
21 <verstretch>0</verstretch> |
|
22 </sizepolicy> |
|
23 </property> |
|
24 <property name="minimumSize"> |
|
25 <size> |
|
26 <width>48</width> |
|
27 <height>48</height> |
|
28 </size> |
|
29 </property> |
|
30 <property name="alignment"> |
|
31 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> |
|
32 </property> |
|
33 </widget> |
|
34 </item> |
|
35 <item> |
|
36 <layout class="QGridLayout" name="gridLayout"> |
|
37 <item row="1" column="0" colspan="4"> |
|
38 <widget class="QLabel" name="deviceInfoLabel"> |
|
39 <property name="sizePolicy"> |
|
40 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
|
41 <horstretch>0</horstretch> |
|
42 <verstretch>0</verstretch> |
|
43 </sizepolicy> |
|
44 </property> |
|
45 <property name="wordWrap"> |
|
46 <bool>true</bool> |
|
47 </property> |
|
48 </widget> |
|
49 </item> |
|
50 <item row="0" column="3"> |
|
51 <widget class="E5Led" name="deviceConnectedLed" native="true"/> |
|
52 </item> |
|
53 <item row="0" column="0"> |
|
54 <widget class="QComboBox" name="deviceTypeComboBox"> |
|
55 <property name="sizePolicy"> |
|
56 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
57 <horstretch>0</horstretch> |
|
58 <verstretch>0</verstretch> |
|
59 </sizepolicy> |
|
60 </property> |
|
61 </widget> |
|
62 </item> |
|
63 <item row="0" column="1"> |
|
64 <widget class="QToolButton" name="checkButton"> |
|
65 <property name="toolTip"> |
|
66 <string>Press to check for connected devices</string> |
|
67 </property> |
|
68 </widget> |
|
69 </item> |
|
70 <item row="0" column="2"> |
|
71 <widget class="E5ToolButton" name="menuButton"/> |
|
72 </item> |
|
73 </layout> |
|
74 </item> |
|
75 </layout> |
|
76 </item> |
|
77 <item> |
|
78 <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
79 <item> |
|
80 <widget class="QToolButton" name="openButton"> |
|
81 <property name="toolTip"> |
|
82 <string>Press to open a file of the connected device</string> |
|
83 </property> |
|
84 </widget> |
|
85 </item> |
|
86 <item> |
|
87 <widget class="QToolButton" name="saveButton"> |
|
88 <property name="toolTip"> |
|
89 <string>Press to save the current editor to the connected device</string> |
|
90 </property> |
|
91 </widget> |
|
92 </item> |
|
93 <item> |
|
94 <widget class="Line" name="line"> |
|
95 <property name="lineWidth"> |
|
96 <number>2</number> |
|
97 </property> |
|
98 <property name="orientation"> |
|
99 <enum>Qt::Vertical</enum> |
|
100 </property> |
|
101 </widget> |
|
102 </item> |
|
103 <item> |
|
104 <widget class="QToolButton" name="runButton"> |
|
105 <property name="toolTip"> |
|
106 <string>Press to run the current script on the selected device</string> |
|
107 </property> |
|
108 </widget> |
|
109 </item> |
|
110 <item> |
|
111 <widget class="QToolButton" name="replButton"> |
|
112 <property name="toolTip"> |
|
113 <string>Press to open a terminal (REPL) on the selected device</string> |
|
114 </property> |
|
115 <property name="checkable"> |
|
116 <bool>true</bool> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item> |
|
121 <widget class="QToolButton" name="filesButton"> |
|
122 <property name="toolTip"> |
|
123 <string>Press to open a file manager on the selected device</string> |
|
124 </property> |
|
125 <property name="checkable"> |
|
126 <bool>true</bool> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 <item> |
|
131 <widget class="QToolButton" name="chartButton"> |
|
132 <property name="toolTip"> |
|
133 <string>Press to open a chart window to display data receive from the selected device</string> |
|
134 </property> |
|
135 <property name="checkable"> |
|
136 <bool>true</bool> |
|
137 </property> |
|
138 </widget> |
|
139 </item> |
|
140 <item> |
|
141 <spacer name="horizontalSpacer"> |
|
142 <property name="orientation"> |
|
143 <enum>Qt::Horizontal</enum> |
|
144 </property> |
|
145 <property name="sizeHint" stdset="0"> |
|
146 <size> |
|
147 <width>40</width> |
|
148 <height>20</height> |
|
149 </size> |
|
150 </property> |
|
151 </spacer> |
|
152 </item> |
|
153 <item> |
|
154 <widget class="QToolButton" name="connectButton"> |
|
155 <property name="toolTip"> |
|
156 <string>Press to connect the selected device</string> |
|
157 </property> |
|
158 </widget> |
|
159 </item> |
|
160 </layout> |
|
161 </item> |
|
162 <item> |
|
163 <widget class="QTextEdit" name="replEdit"> |
|
164 <property name="contextMenuPolicy"> |
|
165 <enum>Qt::CustomContextMenu</enum> |
|
166 </property> |
|
167 <property name="undoRedoEnabled"> |
|
168 <bool>false</bool> |
|
169 </property> |
|
170 <property name="lineWrapMode"> |
|
171 <enum>QTextEdit::NoWrap</enum> |
|
172 </property> |
|
173 <property name="acceptRichText"> |
|
174 <bool>false</bool> |
|
175 </property> |
|
176 </widget> |
|
177 </item> |
|
178 </layout> |
|
179 </widget> |
|
180 <customwidgets> |
|
181 <customwidget> |
|
182 <class>E5ToolButton</class> |
|
183 <extends>QToolButton</extends> |
|
184 <header>E5Gui/E5ToolButton.h</header> |
|
185 </customwidget> |
|
186 <customwidget> |
|
187 <class>E5Led</class> |
|
188 <extends>QWidget</extends> |
|
189 <header>E5Gui/E5Led.h</header> |
|
190 <container>1</container> |
|
191 </customwidget> |
|
192 </customwidgets> |
|
193 <tabstops> |
|
194 <tabstop>deviceTypeComboBox</tabstop> |
|
195 <tabstop>checkButton</tabstop> |
|
196 <tabstop>menuButton</tabstop> |
|
197 <tabstop>openButton</tabstop> |
|
198 <tabstop>saveButton</tabstop> |
|
199 <tabstop>runButton</tabstop> |
|
200 <tabstop>replButton</tabstop> |
|
201 <tabstop>filesButton</tabstop> |
|
202 <tabstop>chartButton</tabstop> |
|
203 <tabstop>connectButton</tabstop> |
|
204 <tabstop>replEdit</tabstop> |
|
205 </tabstops> |
|
206 <resources/> |
|
207 <connections/> |
|
208 </ui> |