eric6/MicroPython/MicroPythonWidget.ui

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

eric ide

mercurial