almost ready to merge into master
[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>428</width>
10     <height>381</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>0</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>AvrDudeQui</string>
27   </property>
28   <widget class="QWidget" name="centralWidget">
29    <layout class="QVBoxLayout" name="verticalLayout">
30     <item>
31      <widget class="QSplitter" name="splitter">
32       <property name="sizePolicy">
33        <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
34         <horstretch>0</horstretch>
35         <verstretch>0</verstretch>
36        </sizepolicy>
37       </property>
38       <property name="midLineWidth">
39        <number>4</number>
40       </property>
41       <property name="orientation">
42        <enum>Qt::Horizontal</enum>
43       </property>
44       <property name="opaqueResize">
45        <bool>true</bool>
46       </property>
47       <widget class="QToolBox" name="toolBox">
48        <property name="sizePolicy">
49         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
50          <horstretch>0</horstretch>
51          <verstretch>0</verstretch>
52         </sizepolicy>
53        </property>
54        <property name="minimumSize">
55         <size>
56          <width>0</width>
57          <height>0</height>
58         </size>
59        </property>
60        <property name="maximumSize">
61         <size>
62          <width>16777215</width>
63          <height>16777215</height>
64         </size>
65        </property>
66        <property name="whatsThis">
67         <string/>
68        </property>
69        <property name="frameShape">
70         <enum>QFrame::StyledPanel</enum>
71        </property>
72        <property name="frameShadow">
73         <enum>QFrame::Sunken</enum>
74        </property>
75        <property name="lineWidth">
76         <number>1</number>
77        </property>
78        <property name="currentIndex">
79         <number>0</number>
80        </property>
81        <property name="tabSpacing">
82         <number>0</number>
83        </property>
84        <widget class="QWidget" name="deviceSetting">
85         <property name="geometry">
86          <rect>
87           <x>0</x>
88           <y>0</y>
89           <width>406</width>
90           <height>206</height>
91          </rect>
92         </property>
93         <property name="sizePolicy">
94          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
95           <horstretch>0</horstretch>
96           <verstretch>0</verstretch>
97          </sizepolicy>
98         </property>
99         <property name="minimumSize">
100          <size>
101           <width>0</width>
102           <height>0</height>
103          </size>
104         </property>
105         <property name="maximumSize">
106          <size>
107           <width>16777215</width>
108           <height>16777215</height>
109          </size>
110         </property>
111         <attribute name="label">
112          <string>Avrdude device setting</string>
113         </attribute>
114         <layout class="QVBoxLayout" name="verticalLayout_4">
115          <item>
116           <widget class="QGroupBox" name="gBoxProgrammer">
117            <property name="sizePolicy">
118             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
119              <horstretch>0</horstretch>
120              <verstretch>0</verstretch>
121             </sizepolicy>
122            </property>
123            <property name="font">
124             <font>
125              <kerning>true</kerning>
126             </font>
127            </property>
128            <property name="toolTip">
129             <string>Chose the programmer type</string>
130            </property>
131            <property name="whatsThis">
132             <string>Connect your programmer to PC, select programmer model and set parameter as usb port, tty device, speed ecc.</string>
133            </property>
134            <property name="title">
135             <string>Programmer</string>
136            </property>
137            <layout class="QVBoxLayout" name="verticalLayout_2">
138             <property name="sizeConstraint">
139              <enum>QLayout::SetMinAndMaxSize</enum>
140             </property>
141             <item>
142              <widget class="QComboBox" name="cBoxProgrammer">
143               <property name="sizePolicy">
144                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
145                 <horstretch>0</horstretch>
146                 <verstretch>0</verstretch>
147                </sizepolicy>
148               </property>
149               <property name="minimumSize">
150                <size>
151                 <width>0</width>
152                 <height>0</height>
153                </size>
154               </property>
155               <property name="maximumSize">
156                <size>
157                 <width>16777215</width>
158                 <height>16777215</height>
159                </size>
160               </property>
161               <property name="toolTip">
162                <string/>
163               </property>
164               <property name="statusTip">
165                <string/>
166               </property>
167               <property name="whatsThis">
168                <string>Chose programmer model</string>
169               </property>
170               <property name="accessibleDescription">
171                <string notr="true"/>
172               </property>
173               <property name="sizeAdjustPolicy">
174                <enum>QComboBox::AdjustToMinimumContentsLength</enum>
175               </property>
176               <property name="minimumContentsLength">
177                <number>10</number>
178               </property>
179               <item>
180                <property name="text">
181                 <string>No programmer</string>
182                </property>
183               </item>
184              </widget>
185             </item>
186            </layout>
187           </widget>
188          </item>
189          <item>
190           <widget class="QGroupBox" name="gBoxMcu">
191            <property name="sizePolicy">
192             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
193              <horstretch>0</horstretch>
194              <verstretch>0</verstretch>
195             </sizepolicy>
196            </property>
197            <property name="toolTip">
198             <string>Chose Mcu type</string>
199            </property>
200            <property name="whatsThis">
201             <string>Select mcu type/sign to load mcu specific gui</string>
202            </property>
203            <property name="title">
204             <string>Mcu</string>
205            </property>
206            <layout class="QVBoxLayout" name="verticalLayout_3">
207             <item>
208              <widget class="QComboBox" name="cBoxMcu">
209               <property name="sizePolicy">
210                <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
211                 <horstretch>0</horstretch>
212                 <verstretch>0</verstretch>
213                </sizepolicy>
214               </property>
215               <property name="minimumSize">
216                <size>
217                 <width>0</width>
218                 <height>0</height>
219                </size>
220               </property>
221               <property name="maximumSize">
222                <size>
223                 <width>16777215</width>
224                 <height>16777215</height>
225                </size>
226               </property>
227               <property name="whatsThis">
228                <string>Chose mcu</string>
229               </property>
230               <property name="editable">
231                <bool>false</bool>
232               </property>
233               <property name="sizeAdjustPolicy">
234                <enum>QComboBox::AdjustToMinimumContentsLength</enum>
235               </property>
236               <property name="minimumContentsLength">
237                <number>10</number>
238               </property>
239               <item>
240                <property name="text">
241                 <string>No MCU</string>
242                </property>
243               </item>
244              </widget>
245             </item>
246            </layout>
247           </widget>
248          </item>
249          <item>
250           <spacer name="verticalSpacer">
251            <property name="orientation">
252             <enum>Qt::Vertical</enum>
253            </property>
254            <property name="sizeType">
255             <enum>QSizePolicy::Expanding</enum>
256            </property>
257            <property name="sizeHint" stdset="0">
258             <size>
259              <width>20</width>
260              <height>40</height>
261             </size>
262            </property>
263           </spacer>
264          </item>
265         </layout>
266        </widget>
267        <widget class="QWidget" name="page_2">
268         <property name="geometry">
269          <rect>
270           <x>0</x>
271           <y>0</y>
272           <width>390</width>
273           <height>335</height>
274          </rect>
275         </property>
276         <attribute name="label">
277          <string>Operative Mode</string>
278         </attribute>
279         <layout class="QVBoxLayout" name="verticalLayout_6">
280          <item>
281           <widget class="QGroupBox" name="groupBox_3">
282            <property name="whatsThis">
283             <string>choose the area of ​​memory to operate</string>
284            </property>
285            <property name="title">
286             <string>Select memory area</string>
287            </property>
288            <layout class="QVBoxLayout" name="verticalLayout_5">
289             <item>
290              <widget class="QCheckBox" name="ckBoxOnFlash">
291               <property name="whatsThis">
292                <string>If checked read o write operation verrano execute on flash memory area.</string>
293               </property>
294               <property name="text">
295                <string>Operates on the Flash</string>
296               </property>
297              </widget>
298             </item>
299             <item>
300              <widget class="QCheckBox" name="ckBoxOnEEprom">
301               <property name="text">
302                <string>Operate on the EEprom</string>
303               </property>
304              </widget>
305             </item>
306             <item>
307              <widget class="QCheckBox" name="ckBoxOnFuse">
308               <property name="whatsThis">
309                <string>if cheched write and read operation verrano eseguite in fuse memory area.</string>
310               </property>
311               <property name="text">
312                <string>Operates on the fuse</string>
313               </property>
314              </widget>
315             </item>
316             <item>
317              <widget class="QCheckBox" name="ckBoxOnLockBit">
318               <property name="whatsThis">
319                <string>if cheched, write and read operation verranno eseguite on lockbit memory area.</string>
320               </property>
321               <property name="text">
322                <string>Operates on the lock bit</string>
323               </property>
324              </widget>
325             </item>
326            </layout>
327           </widget>
328          </item>
329          <item>
330           <widget class="QGroupBox" name="gBoxBackendFlags">
331            <property name="whatsThis">
332             <string>If you're not an expert, do not touch these options</string>
333            </property>
334            <property name="title">
335             <string>Avrdue flags</string>
336            </property>
337            <layout class="QVBoxLayout" name="verticalLayout_7">
338             <item>
339              <widget class="QCheckBox" name="ckBoxEnWFCounter">
340               <property name="whatsThis">
341                <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
342 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
343 p, li { white-space: pre-wrap; }
344 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
345 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Use the last 4 bytes of EEPROM, as a counter to the life of the flash.&lt;/p&gt;
346 &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a name=&quot;result_box&quot;&gt;&lt;/a&gt;If your application uses these 4 bytes uncheck this option.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
347               </property>
348               <property name="text">
349                <string>Enable write flash counter</string>
350               </property>
351              </widget>
352             </item>
353            </layout>
354           </widget>
355          </item>
356          <item>
357           <widget class="QLabel" name="label">
358            <property name="text">
359             <string>Write file</string>
360            </property>
361            <property name="alignment">
362             <set>Qt::AlignCenter</set>
363            </property>
364           </widget>
365          </item>
366          <item>
367           <layout class="QHBoxLayout" name="horizontalLayout_2">
368            <item>
369             <widget class="QToolButton" name="tbClearLE">
370              <property name="sizePolicy">
371               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
372                <horstretch>0</horstretch>
373                <verstretch>0</verstretch>
374               </sizepolicy>
375              </property>
376              <property name="whatsThis">
377               <string>Clear write file field.</string>
378              </property>
379              <property name="text">
380               <string>...</string>
381              </property>
382              <property name="icon">
383               <iconset resource="resources/icons.qrc">
384                <normaloff>:/clear.png</normaloff>:/clear.png</iconset>
385              </property>
386             </widget>
387            </item>
388            <item>
389             <widget class="QLineEdit" name="flashFile">
390              <property name="sizePolicy">
391               <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
392                <horstretch>0</horstretch>
393                <verstretch>0</verstretch>
394               </sizepolicy>
395              </property>
396              <property name="font">
397               <font>
398                <strikeout>false</strikeout>
399               </font>
400              </property>
401              <property name="focusPolicy">
402               <enum>Qt::ClickFocus</enum>
403              </property>
404              <property name="toolTip">
405               <string/>
406              </property>
407              <property name="whatsThis">
408               <string>Insert file name in ihex format file to write in flash memory area</string>
409              </property>
410              <property name="autoFillBackground">
411               <bool>true</bool>
412              </property>
413              <property name="inputMask">
414               <string/>
415              </property>
416              <property name="readOnly">
417               <bool>false</bool>
418              </property>
419              <property name="placeholderText">
420               <string/>
421              </property>
422             </widget>
423            </item>
424            <item>
425             <widget class="QToolButton" name="tbBrowseFile">
426              <property name="whatsThis">
427               <string>Open file dialog to chose ihex file name.</string>
428              </property>
429              <property name="text">
430               <string>...</string>
431              </property>
432             </widget>
433            </item>
434           </layout>
435          </item>
436          <item>
437           <spacer name="verticalSpacer_2">
438            <property name="orientation">
439             <enum>Qt::Vertical</enum>
440            </property>
441            <property name="sizeHint" stdset="0">
442             <size>
443              <width>20</width>
444              <height>236</height>
445             </size>
446            </property>
447           </spacer>
448          </item>
449          <item>
450           <layout class="QHBoxLayout" name="horizontalLayout">
451            <item>
452             <widget class="QPushButton" name="writeButton">
453              <property name="sizePolicy">
454               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
455                <horstretch>0</horstretch>
456                <verstretch>0</verstretch>
457               </sizepolicy>
458              </property>
459              <property name="maximumSize">
460               <size>
461                <width>200</width>
462                <height>16777215</height>
463               </size>
464              </property>
465              <property name="whatsThis">
466               <string>Write changed in memory area selected</string>
467              </property>
468              <property name="text">
469               <string>Write</string>
470              </property>
471              <property name="autoExclusive">
472               <bool>false</bool>
473              </property>
474              <property name="autoDefault">
475               <bool>false</bool>
476              </property>
477              <property name="flat">
478               <bool>false</bool>
479              </property>
480             </widget>
481            </item>
482            <item>
483             <widget class="QPushButton" name="readButton">
484              <property name="sizePolicy">
485               <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
486                <horstretch>0</horstretch>
487                <verstretch>0</verstretch>
488               </sizepolicy>
489              </property>
490              <property name="maximumSize">
491               <size>
492                <width>200</width>
493                <height>16777215</height>
494               </size>
495              </property>
496              <property name="whatsThis">
497               <string>Read from memory area selected</string>
498              </property>
499              <property name="text">
500               <string>Read</string>
501              </property>
502             </widget>
503            </item>
504            <item>
505             <spacer name="horizontalSpacer_2">
506              <property name="orientation">
507               <enum>Qt::Horizontal</enum>
508              </property>
509              <property name="sizeType">
510               <enum>QSizePolicy::MinimumExpanding</enum>
511              </property>
512              <property name="sizeHint" stdset="0">
513               <size>
514                <width>40</width>
515                <height>20</height>
516               </size>
517              </property>
518             </spacer>
519            </item>
520           </layout>
521          </item>
522         </layout>
523        </widget>
524       </widget>
525      </widget>
526     </item>
527     <item>
528      <layout class="QGridLayout" name="gridLayout_2">
529       <property name="sizeConstraint">
530        <enum>QLayout::SetDefaultConstraint</enum>
531       </property>
532       <property name="horizontalSpacing">
533        <number>10</number>
534       </property>
535       <property name="verticalSpacing">
536        <number>8</number>
537       </property>
538       <item row="0" column="0">
539        <widget class="QLabel" name="prog_info">
540         <property name="sizePolicy">
541          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
542           <horstretch>0</horstretch>
543           <verstretch>0</verstretch>
544          </sizepolicy>
545         </property>
546         <property name="frameShape">
547          <enum>QFrame::StyledPanel</enum>
548         </property>
549         <property name="frameShadow">
550          <enum>QFrame::Sunken</enum>
551         </property>
552         <property name="midLineWidth">
553          <number>0</number>
554         </property>
555         <property name="text">
556          <string/>
557         </property>
558         <property name="scaledContents">
559          <bool>true</bool>
560         </property>
561        </widget>
562       </item>
563       <item row="0" column="1">
564        <widget class="QLabel" name="info_port">
565         <property name="sizePolicy">
566          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
567           <horstretch>0</horstretch>
568           <verstretch>0</verstretch>
569          </sizepolicy>
570         </property>
571         <property name="text">
572          <string/>
573         </property>
574         <property name="scaledContents">
575          <bool>true</bool>
576         </property>
577        </widget>
578       </item>
579       <item row="0" column="2">
580        <widget class="QLabel" name="info_baudrate">
581         <property name="sizePolicy">
582          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
583           <horstretch>0</horstretch>
584           <verstretch>0</verstretch>
585          </sizepolicy>
586         </property>
587         <property name="minimumSize">
588          <size>
589           <width>7</width>
590           <height>0</height>
591          </size>
592         </property>
593         <property name="text">
594          <string/>
595         </property>
596         <property name="scaledContents">
597          <bool>true</bool>
598         </property>
599        </widget>
600       </item>
601       <item row="1" column="0">
602        <widget class="QLabel" name="mcu_info">
603         <property name="sizePolicy">
604          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
605           <horstretch>0</horstretch>
606           <verstretch>0</verstretch>
607          </sizepolicy>
608         </property>
609         <property name="frameShape">
610          <enum>QFrame::StyledPanel</enum>
611         </property>
612         <property name="frameShadow">
613          <enum>QFrame::Sunken</enum>
614         </property>
615         <property name="lineWidth">
616          <number>1</number>
617         </property>
618         <property name="text">
619          <string/>
620         </property>
621         <property name="scaledContents">
622          <bool>true</bool>
623         </property>
624        </widget>
625       </item>
626       <item row="1" column="1">
627        <widget class="QLabel" name="info_label1">
628         <property name="sizePolicy">
629          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
630           <horstretch>0</horstretch>
631           <verstretch>0</verstretch>
632          </sizepolicy>
633         </property>
634         <property name="text">
635          <string/>
636         </property>
637         <property name="scaledContents">
638          <bool>true</bool>
639         </property>
640        </widget>
641       </item>
642       <item row="0" column="3">
643        <spacer name="horizontalSpacer">
644         <property name="orientation">
645          <enum>Qt::Horizontal</enum>
646         </property>
647         <property name="sizeHint" stdset="0">
648          <size>
649           <width>40</width>
650           <height>20</height>
651          </size>
652         </property>
653        </spacer>
654       </item>
655      </layout>
656     </item>
657    </layout>
658   </widget>
659   <widget class="QMenuBar" name="menuBar">
660    <property name="geometry">
661     <rect>
662      <x>0</x>
663      <y>0</y>
664      <width>428</width>
665      <height>28</height>
666     </rect>
667    </property>
668    <widget class="QMenu" name="menuFile">
669     <property name="title">
670      <string>File</string>
671     </property>
672     <addaction name="actionRead_EEprom_memory"/>
673     <addaction name="actionSave_EEprom_memory"/>
674     <addaction name="actionOpenHexProgram"/>
675     <addaction name="actionSave_As"/>
676     <addaction name="actionExit"/>
677     <addaction name="separator"/>
678    </widget>
679    <widget class="QMenu" name="menuHelp">
680     <property name="title">
681      <string>help</string>
682     </property>
683     <addaction name="actionWhat_s_This"/>
684    </widget>
685    <addaction name="menuFile"/>
686    <addaction name="menuHelp"/>
687   </widget>
688   <widget class="QToolBar" name="mainToolBar">
689    <attribute name="toolBarArea">
690     <enum>TopToolBarArea</enum>
691    </attribute>
692    <attribute name="toolBarBreak">
693     <bool>false</bool>
694    </attribute>
695   </widget>
696   <action name="actionSave_As">
697    <property name="text">
698     <string>Save As</string>
699    </property>
700   </action>
701   <action name="actionExit">
702    <property name="text">
703     <string>Exit</string>
704    </property>
705   </action>
706   <action name="actionXmlparser">
707    <property name="text">
708     <string>xmlparser</string>
709    </property>
710   </action>
711   <action name="actionOpenHexProgram">
712    <property name="text">
713     <string>Open ihex program</string>
714    </property>
715   </action>
716   <action name="actionRead_EEprom_memory">
717    <property name="text">
718     <string>Read EEprom from MCU</string>
719    </property>
720   </action>
721   <action name="actionSave_EEprom_memory">
722    <property name="text">
723     <string>Save EEprom memory to file</string>
724    </property>
725   </action>
726   <action name="actionWhat_s_This">
727    <property name="icon">
728     <iconset>
729      <normaloff>:/contexthelp.png</normaloff>:/contexthelp.png</iconset>
730    </property>
731    <property name="text">
732     <string>What's This?</string>
733    </property>
734   </action>
735  </widget>
736  <layoutdefault spacing="6" margin="11"/>
737  <resources>
738   <include location="resources/icons.qrc"/>
739  </resources>
740  <connections>
741   <connection>
742    <sender>actionExit</sender>
743    <signal>triggered()</signal>
744    <receiver>AvrDudeQui</receiver>
745    <slot>close()</slot>
746    <hints>
747     <hint type="sourcelabel">
748      <x>-1</x>
749      <y>-1</y>
750     </hint>
751     <hint type="destinationlabel">
752      <x>389</x>
753      <y>278</y>
754     </hint>
755    </hints>
756   </connection>
757  </connections>
758 </ui>