]> sigrok.org Git - sigrok-qt.git/blob - mainwindow.ui
Add "Copyright and license" section.
[sigrok-qt.git] / mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>862</width>
10     <height>818</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>sigrok-qt</string>
15   </property>
16   <property name="windowIcon">
17    <iconset resource="sigrok-qt.qrc">
18     <normaloff>:/icons/sigrok-logo-notext.png</normaloff>:/icons/sigrok-logo-notext.png</iconset>
19   </property>
20   <widget class="QWidget" name="centralWidget">
21    <layout class="QVBoxLayout" name="verticalLayout">
22     <item>
23      <widget class="QWidget" name="mainWidget" native="true">
24       <layout class="QVBoxLayout" name="verticalLayout_2">
25        <property name="margin">
26         <number>0</number>
27        </property>
28        <item>
29         <widget class="QTabWidget" name="tabWidget">
30          <property name="currentIndex">
31           <number>1</number>
32          </property>
33          <widget class="QWidget" name="tabLA">
34           <attribute name="title">
35            <string>Logic analyzer</string>
36           </attribute>
37           <widget class="QWidget" name="layoutWidget">
38            <property name="geometry">
39             <rect>
40              <x>6</x>
41              <y>10</y>
42              <width>821</width>
43              <height>61</height>
44             </rect>
45            </property>
46            <layout class="QGridLayout" name="gridLayout">
47             <property name="leftMargin">
48              <number>2</number>
49             </property>
50             <property name="topMargin">
51              <number>1</number>
52             </property>
53             <property name="rightMargin">
54              <number>1</number>
55             </property>
56             <property name="bottomMargin">
57              <number>1</number>
58             </property>
59             <item row="0" column="0">
60              <widget class="QComboBox" name="comboBoxLA">
61               <item>
62                <property name="text">
63                 <string>No LA detected</string>
64                </property>
65               </item>
66              </widget>
67             </item>
68             <item row="4" column="0">
69              <widget class="QLabel" name="labelSampleStart">
70               <property name="enabled">
71                <bool>false</bool>
72               </property>
73               <property name="text">
74                <string>Start sample:</string>
75               </property>
76              </widget>
77             </item>
78             <item row="0" column="1">
79              <widget class="QLabel" name="labelChannels">
80               <property name="enabled">
81                <bool>false</bool>
82               </property>
83               <property name="text">
84                <string>Channels:</string>
85               </property>
86              </widget>
87             </item>
88             <item row="0" column="2">
89              <widget class="QComboBox" name="comboBoxSampleRate">
90               <property name="enabled">
91                <bool>false</bool>
92               </property>
93              </widget>
94             </item>
95             <item row="0" column="3">
96              <widget class="QComboBox" name="comboBoxNumSamples">
97               <property name="enabled">
98                <bool>false</bool>
99               </property>
100              </widget>
101             </item>
102             <item row="4" column="1">
103              <widget class="QLabel" name="labelSampleEnd">
104               <property name="enabled">
105                <bool>false</bool>
106               </property>
107               <property name="text">
108                <string>End sample:</string>
109               </property>
110              </widget>
111             </item>
112             <item row="4" column="2">
113              <widget class="QLabel" name="labelScaleFactor">
114               <property name="enabled">
115                <bool>false</bool>
116               </property>
117               <property name="text">
118                <string>Scale factor:</string>
119               </property>
120              </widget>
121             </item>
122            </layout>
123           </widget>
124          </widget>
125          <widget class="QWidget" name="tabLog">
126           <attribute name="title">
127            <string>Log</string>
128           </attribute>
129           <widget class="QPlainTextEdit" name="plainTextEdit">
130            <property name="geometry">
131             <rect>
132              <x>10</x>
133              <y>10</y>
134              <width>821</width>
135              <height>631</height>
136             </rect>
137            </property>
138           </widget>
139          </widget>
140         </widget>
141        </item>
142       </layout>
143      </widget>
144     </item>
145    </layout>
146   </widget>
147   <widget class="QMenuBar" name="menuBar">
148    <property name="geometry">
149     <rect>
150      <x>0</x>
151      <y>0</y>
152      <width>862</width>
153      <height>20</height>
154     </rect>
155    </property>
156    <widget class="QMenu" name="menuFile">
157     <property name="title">
158      <string>&amp;File</string>
159     </property>
160     <addaction name="action_New"/>
161     <addaction name="action_Open"/>
162     <addaction name="action_Save_as"/>
163     <addaction name="actionQuit"/>
164    </widget>
165    <widget class="QMenu" name="menuHelp">
166     <property name="title">
167      <string>&amp;Help</string>
168     </property>
169     <addaction name="actionAbout_Qt"/>
170     <addaction name="actionAbout"/>
171    </widget>
172    <widget class="QMenu" name="menuHardware">
173     <property name="title">
174      <string>Device</string>
175     </property>
176     <addaction name="actionScan"/>
177     <addaction name="action_Get_samples"/>
178    </widget>
179    <widget class="QMenu" name="menuEdit">
180     <property name="title">
181      <string>&amp;Edit</string>
182     </property>
183     <addaction name="actionPreferences"/>
184    </widget>
185    <widget class="QMenu" name="menuDecoders">
186     <property name="title">
187      <string>Decoders</string>
188     </property>
189     <addaction name="actionProtocol_decoder_stacks"/>
190     <addaction name="actionConfigure"/>
191     <addaction name="actionQUICK_HACK_PD_TEST"/>
192    </widget>
193    <addaction name="menuFile"/>
194    <addaction name="menuHardware"/>
195    <addaction name="menuEdit"/>
196    <addaction name="menuDecoders"/>
197    <addaction name="menuHelp"/>
198   </widget>
199   <widget class="QToolBar" name="mainToolBar">
200    <attribute name="toolBarArea">
201     <enum>TopToolBarArea</enum>
202    </attribute>
203    <attribute name="toolBarBreak">
204     <bool>false</bool>
205    </attribute>
206    <addaction name="action_New"/>
207    <addaction name="action_Open"/>
208    <addaction name="action_Save_as"/>
209    <addaction name="actionPreferences"/>
210    <addaction name="separator"/>
211    <addaction name="actionScan"/>
212    <addaction name="action_Get_samples"/>
213    <addaction name="separator"/>
214    <addaction name="actionQuit"/>
215   </widget>
216   <widget class="QStatusBar" name="statusBar"/>
217   <action name="actionQuit">
218    <property name="icon">
219     <iconset resource="sigrok-qt.qrc">
220      <normaloff>:/icons/system-log-out.png</normaloff>:/icons/system-log-out.png</iconset>
221    </property>
222    <property name="text">
223     <string>E&amp;xit</string>
224    </property>
225    <property name="shortcut">
226     <string>Ctrl+Q</string>
227    </property>
228   </action>
229   <action name="actionAbout">
230    <property name="text">
231     <string>&amp;About...</string>
232    </property>
233    <property name="shortcut">
234     <string>Ctrl+A</string>
235    </property>
236   </action>
237   <action name="actionAbout_Qt">
238    <property name="text">
239     <string>About &amp;Qt...</string>
240    </property>
241   </action>
242   <action name="actionPreferences">
243    <property name="icon">
244     <iconset resource="sigrok-qt.qrc">
245      <normaloff>:/icons/preferences-system.png</normaloff>:/icons/preferences-system.png</iconset>
246    </property>
247    <property name="text">
248     <string>&amp;Preferences</string>
249    </property>
250   </action>
251   <action name="actionScan">
252    <property name="icon">
253     <iconset resource="sigrok-qt.qrc">
254      <normaloff>:/icons/view-refresh.png</normaloff>:/icons/view-refresh.png</iconset>
255    </property>
256    <property name="text">
257     <string>&amp;Scan</string>
258    </property>
259    <property name="toolTip">
260     <string>Scan for supported logic analyzers</string>
261    </property>
262   </action>
263   <action name="action_Open">
264    <property name="icon">
265     <iconset resource="sigrok-qt.qrc">
266      <normaloff>:/icons/document-open.png</normaloff>:/icons/document-open.png</iconset>
267    </property>
268    <property name="text">
269     <string>&amp;Open...</string>
270    </property>
271   </action>
272   <action name="action_New">
273    <property name="icon">
274     <iconset resource="sigrok-qt.qrc">
275      <normaloff>:/icons/document-new.png</normaloff>:/icons/document-new.png</iconset>
276    </property>
277    <property name="text">
278     <string>&amp;New...</string>
279    </property>
280   </action>
281   <action name="action_Save_as">
282    <property name="enabled">
283     <bool>false</bool>
284    </property>
285    <property name="icon">
286     <iconset resource="sigrok-qt.qrc">
287      <normaloff>:/icons/document-save-as.png</normaloff>:/icons/document-save-as.png</iconset>
288    </property>
289    <property name="text">
290     <string>&amp;Save as...</string>
291    </property>
292   </action>
293   <action name="action_Get_samples">
294    <property name="enabled">
295     <bool>false</bool>
296    </property>
297    <property name="icon">
298     <iconset resource="sigrok-qt.qrc">
299      <normaloff>:/icons/media-record.png</normaloff>:/icons/media-record.png</iconset>
300    </property>
301    <property name="text">
302     <string>&amp;Get samples...</string>
303    </property>
304   </action>
305   <action name="actionConfigure">
306    <property name="text">
307     <string>&amp;Configure</string>
308    </property>
309    <property name="toolTip">
310     <string>Configure</string>
311    </property>
312   </action>
313   <action name="actionProtocol_decoder_stacks">
314    <property name="text">
315     <string>Protocol decoder stacks</string>
316    </property>
317   </action>
318   <action name="actionQUICK_HACK_PD_TEST">
319    <property name="text">
320     <string>QUICK HACK PD TEST</string>
321    </property>
322   </action>
323  </widget>
324  <layoutdefault spacing="6" margin="11"/>
325  <resources>
326   <include location="sigrok-qt.qrc"/>
327  </resources>
328  <connections>
329   <connection>
330    <sender>actionQuit</sender>
331    <signal>triggered()</signal>
332    <receiver>MainWindow</receiver>
333    <slot>close()</slot>
334    <hints>
335     <hint type="sourcelabel">
336      <x>-1</x>
337      <y>-1</y>
338     </hint>
339     <hint type="destinationlabel">
340      <x>299</x>
341      <y>199</y>
342     </hint>
343    </hints>
344   </connection>
345  </connections>
346 </ui>