aggiunto QToolButton tbBrowseFile connesso allo slot loadHex()
[avrdudequi:avrdudequi.git] / avrdudequi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>AvrDudeQui</class>
4  <widget class="QMainWindow" name="AvrDudeQui">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>255</width>
10     <height>553</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string>AvrDudeQui</string>
21   </property>
22   <widget class="QWidget" name="centralWidget">
23    <layout class="QVBoxLayout" name="verticalLayout">
24     <item>
25      <widget class="QSplitter" name="splitter">
26       <property name="sizePolicy">
27        <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
28         <horstretch>0</horstretch>
29         <verstretch>0</verstretch>
30        </sizepolicy>
31       </property>
32       <property name="orientation">
33        <enum>Qt::Horizontal</enum>
34       </property>
35       <property name="opaqueResize">
36        <bool>true</bool>
37       </property>
38       <widget class="QToolBox" name="toolBox">
39        <property name="sizePolicy">
40         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
41          <horstretch>0</horstretch>
42          <verstretch>0</verstretch>
43         </sizepolicy>
44        </property>
45        <property name="minimumSize">
46         <size>
47          <width>0</width>
48          <height>0</height>
49         </size>
50        </property>
51        <property name="maximumSize">
52         <size>
53          <width>16777215</width>
54          <height>16777215</height>
55         </size>
56        </property>
57        <property name="frameShape">
58         <enum>QFrame::StyledPanel</enum>
59        </property>
60        <property name="frameShadow">
61         <enum>QFrame::Sunken</enum>
62        </property>
63        <property name="lineWidth">
64         <number>1</number>
65        </property>
66        <property name="currentIndex">
67         <number>1</number>
68        </property>
69        <property name="tabSpacing">
70         <number>0</number>
71        </property>
72        <widget class="QWidget" name="deviceSetting">
73         <property name="geometry">
74          <rect>
75           <x>0</x>
76           <y>0</y>
77           <width>233</width>
78           <height>383</height>
79          </rect>
80         </property>
81         <property name="sizePolicy">
82          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
83           <horstretch>0</horstretch>
84           <verstretch>0</verstretch>
85          </sizepolicy>
86         </property>
87         <property name="minimumSize">
88          <size>
89           <width>0</width>
90           <height>0</height>
91          </size>
92         </property>
93         <property name="maximumSize">
94          <size>
95           <width>400</width>
96           <height>16777215</height>
97          </size>
98         </property>
99         <attribute name="label">
100          <string>Avrdude device setting</string>
101         </attribute>
102         <layout class="QVBoxLayout" name="verticalLayout_4">
103          <item>
104           <widget class="QGroupBox" name="groupBox">
105            <property name="sizePolicy">
106             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
107              <horstretch>0</horstretch>
108              <verstretch>0</verstretch>
109             </sizepolicy>
110            </property>
111            <property name="title">
112             <string>Programmer</string>
113            </property>
114            <layout class="QVBoxLayout" name="verticalLayout_2">
115             <item>
116              <widget class="QComboBox" name="cBoxProgrammer">
117               <property name="sizePolicy">
118                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
119                 <horstretch>0</horstretch>
120                 <verstretch>0</verstretch>
121                </sizepolicy>
122               </property>
123               <property name="minimumSize">
124                <size>
125                 <width>0</width>
126                 <height>0</height>
127                </size>
128               </property>
129               <property name="maximumSize">
130                <size>
131                 <width>16777215</width>
132                 <height>16777215</height>
133                </size>
134               </property>
135               <property name="toolTip">
136                <string/>
137               </property>
138               <property name="statusTip">
139                <string/>
140               </property>
141               <property name="accessibleDescription">
142                <string notr="true"/>
143               </property>
144               <property name="sizeAdjustPolicy">
145                <enum>QComboBox::AdjustToMinimumContentsLength</enum>
146               </property>
147               <property name="minimumContentsLength">
148                <number>10</number>
149               </property>
150               <item>
151                <property name="text">
152                 <string>No programmer</string>
153                </property>
154               </item>
155              </widget>
156             </item>
157             <item>
158              <widget class="QPushButton" name="programmerButton">
159               <property name="sizePolicy">
160                <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
161                 <horstretch>0</horstretch>
162                 <verstretch>0</verstretch>
163                </sizepolicy>
164               </property>
165               <property name="text">
166                <string>Programmer settings</string>
167               </property>
168               <property name="checkable">
169                <bool>false</bool>
170               </property>
171               <property name="autoDefault">
172                <bool>false</bool>
173               </property>
174               <property name="default">
175                <bool>false</bool>
176               </property>
177               <property name="flat">
178                <bool>false</bool>
179               </property>
180              </widget>
181             </item>
182             <item>
183              <widget class="QLabel" name="info_prg0">
184               <property name="sizePolicy">
185                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
186                 <horstretch>0</horstretch>
187                 <verstretch>0</verstretch>
188                </sizepolicy>
189               </property>
190               <property name="minimumSize">
191                <size>
192                 <width>0</width>
193                 <height>0</height>
194                </size>
195               </property>
196               <property name="text">
197                <string/>
198               </property>
199               <property name="scaledContents">
200                <bool>true</bool>
201               </property>
202              </widget>
203             </item>
204             <item>
205              <widget class="QLabel" name="info_prg1">
206               <property name="sizePolicy">
207                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
208                 <horstretch>0</horstretch>
209                 <verstretch>0</verstretch>
210                </sizepolicy>
211               </property>
212               <property name="text">
213                <string/>
214               </property>
215               <property name="scaledContents">
216                <bool>true</bool>
217               </property>
218              </widget>
219             </item>
220             <item>
221              <widget class="QLabel" name="info_prg2">
222               <property name="sizePolicy">
223                <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
224                 <horstretch>0</horstretch>
225                 <verstretch>0</verstretch>
226                </sizepolicy>
227               </property>
228               <property name="text">
229                <string/>
230               </property>
231               <property name="scaledContents">
232                <bool>true</bool>
233               </property>
234              </widget>
235             </item>
236            </layout>
237           </widget>
238          </item>
239          <item>
240           <widget class="QGroupBox" name="groupBox_2">
241            <property name="sizePolicy">
242             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
243              <horstretch>0</horstretch>
244              <verstretch>0</verstretch>
245             </sizepolicy>
246            </property>
247            <property name="title">
248             <string>Mcu</string>
249            </property>
250            <layout class="QVBoxLayout" name="verticalLayout_3">
251             <item>
252              <widget class="QComboBox" name="cBoxMcu">
253               <property name="sizePolicy">
254                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
255                 <horstretch>0</horstretch>
256                 <verstretch>0</verstretch>
257                </sizepolicy>
258               </property>
259               <property name="minimumSize">
260                <size>
261                 <width>0</width>
262                 <height>0</height>
263                </size>
264               </property>
265               <property name="maximumSize">
266                <size>
267                 <width>16777215</width>
268                 <height>16777215</height>
269                </size>
270               </property>
271               <property name="editable">
272                <bool>false</bool>
273               </property>
274               <property name="sizeAdjustPolicy">
275                <enum>QComboBox::AdjustToMinimumContentsLength</enum>
276               </property>
277               <property name="minimumContentsLength">
278                <number>10</number>
279               </property>
280               <item>
281                <property name="text">
282                 <string>No MCU</string>
283                </property>
284               </item>
285              </widget>
286             </item>
287            </layout>
288           </widget>
289          </item>
290          <item>
291           <spacer name="verticalSpacer">
292            <property name="orientation">
293             <enum>Qt::Vertical</enum>
294            </property>
295            <property name="sizeType">
296             <enum>QSizePolicy::Expanding</enum>
297            </property>
298            <property name="sizeHint" stdset="0">
299             <size>
300              <width>20</width>
301              <height>40</height>
302             </size>
303            </property>
304           </spacer>
305          </item>
306         </layout>
307        </widget>
308        <widget class="QWidget" name="page_2">
309         <property name="geometry">
310          <rect>
311           <x>0</x>
312           <y>0</y>
313           <width>235</width>
314           <height>367</height>
315          </rect>
316         </property>
317         <attribute name="label">
318          <string>Operative Mode</string>
319         </attribute>
320         <layout class="QVBoxLayout" name="verticalLayout_6">
321          <item>
322           <widget class="QGroupBox" name="groupBox_3">
323            <property name="title">
324             <string>GroupBox</string>
325            </property>
326            <layout class="QVBoxLayout" name="verticalLayout_5">
327             <item>
328              <widget class="QCheckBox" name="ckBoxOnFlash">
329               <property name="text">
330                <string>Operates on the flash</string>
331               </property>
332              </widget>
333             </item>
334             <item>
335              <widget class="QCheckBox" name="ckBoxOnFuse">
336               <property name="text">
337                <string>Operates on the fuse</string>
338               </property>
339              </widget>
340             </item>
341             <item>
342              <widget class="QCheckBox" name="ckBoxOnLockBit">
343               <property name="text">
344                <string>Operates on the lock bit</string>
345               </property>
346              </widget>
347             </item>
348            </layout>
349           </widget>
350          </item>
351          <item>
352           <widget class="QLabel" name="label">
353            <property name="text">
354             <string>Write file</string>
355            </property>
356            <property name="alignment">
357             <set>Qt::AlignCenter</set>
358            </property>
359           </widget>
360          </item>
361          <item>
362           <layout class="QHBoxLayout" name="horizontalLayout_2">
363            <item>
364             <widget class="QToolButton" name="tbClearLE">
365              <property name="sizePolicy">
366               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
367                <horstretch>0</horstretch>
368                <verstretch>0</verstretch>
369               </sizepolicy>
370              </property>
371              <property name="text">
372               <string>...</string>
373              </property>
374              <property name="icon">
375               <iconset resource="resources/icons.qrc">
376                <normaloff>:/clear.png</normaloff>:/clear.png</iconset>
377              </property>
378             </widget>
379            </item>
380            <item>
381             <widget class="QLineEdit" name="flashFile">
382              <property name="sizePolicy">
383               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
384                <horstretch>0</horstretch>
385                <verstretch>0</verstretch>
386               </sizepolicy>
387              </property>
388              <property name="font">
389               <font>
390                <strikeout>false</strikeout>
391               </font>
392              </property>
393              <property name="focusPolicy">
394               <enum>Qt::ClickFocus</enum>
395              </property>
396              <property name="toolTip">
397               <string/>
398              </property>
399              <property name="autoFillBackground">
400               <bool>true</bool>
401              </property>
402              <property name="inputMask">
403               <string/>
404              </property>
405              <property name="readOnly">
406               <bool>false</bool>
407              </property>
408              <property name="placeholderText">
409               <string/>
410              </property>
411             </widget>
412            </item>
413            <item>
414             <widget class="QToolButton" name="tbBrowseFile">
415              <property name="text">
416               <string>...</string>
417              </property>
418             </widget>
419            </item>
420           </layout>
421          </item>
422          <item>
423           <spacer name="verticalSpacer_2">
424            <property name="orientation">
425             <enum>Qt::Vertical</enum>
426            </property>
427            <property name="sizeHint" stdset="0">
428             <size>
429              <width>20</width>
430              <height>236</height>
431             </size>
432            </property>
433           </spacer>
434          </item>
435          <item>
436           <layout class="QHBoxLayout" name="horizontalLayout">
437            <item>
438             <widget class="QPushButton" name="writeButton">
439              <property name="text">
440               <string>Write</string>
441              </property>
442              <property name="autoExclusive">
443               <bool>false</bool>
444              </property>
445              <property name="autoDefault">
446               <bool>false</bool>
447              </property>
448              <property name="flat">
449               <bool>false</bool>
450              </property>
451             </widget>
452            </item>
453            <item>
454             <widget class="QPushButton" name="readButton">
455              <property name="text">
456               <string>Read</string>
457              </property>
458             </widget>
459            </item>
460           </layout>
461          </item>
462         </layout>
463        </widget>
464       </widget>
465      </widget>
466     </item>
467     <item>
468      <layout class="QGridLayout" name="gridLayout_2">
469       <property name="sizeConstraint">
470        <enum>QLayout::SetDefaultConstraint</enum>
471       </property>
472       <property name="horizontalSpacing">
473        <number>10</number>
474       </property>
475       <property name="verticalSpacing">
476        <number>8</number>
477       </property>
478       <item row="0" column="0">
479        <widget class="QLabel" name="prog_info">
480         <property name="sizePolicy">
481          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
482           <horstretch>0</horstretch>
483           <verstretch>0</verstretch>
484          </sizepolicy>
485         </property>
486         <property name="frameShape">
487          <enum>QFrame::StyledPanel</enum>
488         </property>
489         <property name="frameShadow">
490          <enum>QFrame::Sunken</enum>
491         </property>
492         <property name="midLineWidth">
493          <number>0</number>
494         </property>
495         <property name="text">
496          <string/>
497         </property>
498         <property name="scaledContents">
499          <bool>true</bool>
500         </property>
501        </widget>
502       </item>
503       <item row="0" column="1">
504        <widget class="QLabel" name="info_port">
505         <property name="sizePolicy">
506          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
507           <horstretch>0</horstretch>
508           <verstretch>0</verstretch>
509          </sizepolicy>
510         </property>
511         <property name="text">
512          <string/>
513         </property>
514         <property name="scaledContents">
515          <bool>true</bool>
516         </property>
517        </widget>
518       </item>
519       <item row="0" column="2">
520        <widget class="QLabel" name="info_baudrate">
521         <property name="sizePolicy">
522          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
523           <horstretch>0</horstretch>
524           <verstretch>0</verstretch>
525          </sizepolicy>
526         </property>
527         <property name="minimumSize">
528          <size>
529           <width>7</width>
530           <height>0</height>
531          </size>
532         </property>
533         <property name="text">
534          <string/>
535         </property>
536         <property name="scaledContents">
537          <bool>true</bool>
538         </property>
539        </widget>
540       </item>
541       <item row="1" column="0">
542        <widget class="QLabel" name="mcu_info">
543         <property name="sizePolicy">
544          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
545           <horstretch>0</horstretch>
546           <verstretch>0</verstretch>
547          </sizepolicy>
548         </property>
549         <property name="frameShape">
550          <enum>QFrame::StyledPanel</enum>
551         </property>
552         <property name="frameShadow">
553          <enum>QFrame::Sunken</enum>
554         </property>
555         <property name="lineWidth">
556          <number>1</number>
557         </property>
558         <property name="text">
559          <string/>
560         </property>
561         <property name="scaledContents">
562          <bool>true</bool>
563         </property>
564        </widget>
565       </item>
566       <item row="1" column="1">
567        <widget class="QLabel" name="info_label1">
568         <property name="sizePolicy">
569          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
570           <horstretch>0</horstretch>
571           <verstretch>0</verstretch>
572          </sizepolicy>
573         </property>
574         <property name="text">
575          <string/>
576         </property>
577         <property name="scaledContents">
578          <bool>true</bool>
579         </property>
580        </widget>
581       </item>
582       <item row="0" column="3">
583        <spacer name="horizontalSpacer">
584         <property name="orientation">
585          <enum>Qt::Horizontal</enum>
586         </property>
587         <property name="sizeHint" stdset="0">
588          <size>
589           <width>40</width>
590           <height>20</height>
591          </size>
592         </property>
593        </spacer>
594       </item>
595      </layout>
596     </item>
597    </layout>
598   </widget>
599   <widget class="QMenuBar" name="menuBar">
600    <property name="geometry">
601     <rect>
602      <x>0</x>
603      <y>0</y>
604      <width>255</width>
605      <height>27</height>
606     </rect>
607    </property>
608    <widget class="QMenu" name="menuFile">
609     <property name="title">
610      <string>File</string>
611     </property>
612     <addaction name="actionOpenHexProgram"/>
613     <addaction name="actionSave_As"/>
614     <addaction name="actionExit"/>
615     <addaction name="separator"/>
616    </widget>
617    <addaction name="menuFile"/>
618   </widget>
619   <widget class="QToolBar" name="mainToolBar">
620    <attribute name="toolBarArea">
621     <enum>TopToolBarArea</enum>
622    </attribute>
623    <attribute name="toolBarBreak">
624     <bool>false</bool>
625    </attribute>
626   </widget>
627   <action name="actionSave_As">
628    <property name="text">
629     <string>Save As</string>
630    </property>
631   </action>
632   <action name="actionExit">
633    <property name="text">
634     <string>Exit</string>
635    </property>
636   </action>
637   <action name="actionXmlparser">
638    <property name="text">
639     <string>xmlparser</string>
640    </property>
641   </action>
642   <action name="actionOpenHexProgram">
643    <property name="text">
644     <string>Open ihex program</string>
645    </property>
646   </action>
647  </widget>
648  <layoutdefault spacing="6" margin="11"/>
649  <resources>
650   <include location="resources/icons.qrc"/>
651  </resources>
652  <connections>
653   <connection>
654    <sender>actionExit</sender>
655    <signal>triggered()</signal>
656    <receiver>AvrDudeQui</receiver>
657    <slot>close()</slot>
658    <hints>
659     <hint type="sourcelabel">
660      <x>-1</x>
661      <y>-1</y>
662     </hint>
663     <hint type="destinationlabel">
664      <x>389</x>
665      <y>278</y>
666     </hint>
667    </hints>
668   </connection>
669  </connections>
670 </ui>