• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022 Unionman Technology Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16<?xml version="1.0" encoding="UTF-8"?>
17<ui version="4.0">
18 <class>MainWindow</class>
19 <widget class="QMainWindow" name="MainWindow">
20  <property name="enabled">
21   <bool>true</bool>
22  </property>
23  <property name="geometry">
24   <rect>
25    <x>0</x>
26    <y>0</y>
27    <width>1262</width>
28    <height>610</height>
29   </rect>
30  </property>
31  <property name="styleSheet">
32   <string notr="true"/>
33  </property>
34  <widget class="QWidget" name="centralWidget">
35   <layout class="QGridLayout" name="gridLayout">
36    <item row="5" column="0">
37     <layout class="QVBoxLayout" name="verticalLayout">
38      <property name="spacing">
39       <number>0</number>
40      </property>
41      <item>
42       <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="10,30,40,30,25,17,18,20,21">
43        <property name="spacing">
44         <number>0</number>
45        </property>
46        <item>
47         <widget class="QLabel" name="indexLabel">
48          <property name="minimumSize">
49           <size>
50            <width>0</width>
51            <height>29</height>
52           </size>
53          </property>
54          <property name="maximumSize">
55           <size>
56            <width>16777215</width>
57            <height>29</height>
58           </size>
59          </property>
60          <property name="styleSheet">
61           <string notr="true">border: 1px solid rgb(130, 135, 144);
62border-top-left-radius: 7px;background-color:
63</string>
64          </property>
65          <property name="text">
66           <string>NO.</string>
67          </property>
68          <property name="alignment">
69           <set>Qt::AlignCenter</set>
70          </property>
71         </widget>
72        </item>
73        <item>
74         <widget class="QLabel" name="macLabel">
75          <property name="minimumSize">
76           <size>
77            <width>0</width>
78            <height>29</height>
79           </size>
80          </property>
81          <property name="maximumSize">
82           <size>
83            <width>16777215</width>
84            <height>29</height>
85           </size>
86          </property>
87          <property name="styleSheet">
88           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
89          </property>
90          <property name="text">
91           <string>MAC</string>
92          </property>
93          <property name="alignment">
94           <set>Qt::AlignCenter</set>
95          </property>
96         </widget>
97        </item>
98        <item>
99         <widget class="QLabel" name="ipLabel">
100          <property name="minimumSize">
101           <size>
102            <width>0</width>
103            <height>29</height>
104           </size>
105          </property>
106          <property name="maximumSize">
107           <size>
108            <width>16777215</width>
109            <height>29</height>
110           </size>
111          </property>
112          <property name="styleSheet">
113           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
114          </property>
115          <property name="text">
116           <string>IP</string>
117          </property>
118          <property name="alignment">
119           <set>Qt::AlignCenter</set>
120          </property>
121         </widget>
122        </item>
123        <item>
124         <widget class="QLabel" name="label_9">
125          <property name="minimumSize">
126           <size>
127            <width>0</width>
128            <height>29</height>
129           </size>
130          </property>
131          <property name="maximumSize">
132           <size>
133            <width>16777215</width>
134            <height>29</height>
135           </size>
136          </property>
137          <property name="styleSheet">
138           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
139          </property>
140          <property name="text">
141           <string>SN</string>
142          </property>
143          <property name="alignment">
144           <set>Qt::AlignCenter</set>
145          </property>
146         </widget>
147        </item>
148        <item>
149         <widget class="QLabel" name="label_11">
150          <property name="minimumSize">
151           <size>
152            <width>0</width>
153            <height>29</height>
154           </size>
155          </property>
156          <property name="maximumSize">
157           <size>
158            <width>16777215</width>
159            <height>29</height>
160           </size>
161          </property>
162          <property name="styleSheet">
163           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
164          </property>
165          <property name="text">
166           <string>Device Model</string>
167          </property>
168          <property name="alignment">
169           <set>Qt::AlignCenter</set>
170          </property>
171         </widget>
172        </item>
173        <item>
174         <widget class="QLabel" name="label_7">
175          <property name="minimumSize">
176           <size>
177            <width>0</width>
178            <height>29</height>
179           </size>
180          </property>
181          <property name="maximumSize">
182           <size>
183            <width>16777215</width>
184            <height>29</height>
185           </size>
186          </property>
187          <property name="styleSheet">
188           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
189          </property>
190          <property name="text">
191           <string>HW Version</string>
192          </property>
193          <property name="alignment">
194           <set>Qt::AlignCenter</set>
195          </property>
196         </widget>
197        </item>
198        <item>
199         <widget class="QLabel" name="label_8">
200          <property name="minimumSize">
201           <size>
202            <width>0</width>
203            <height>29</height>
204           </size>
205          </property>
206          <property name="maximumSize">
207           <size>
208            <width>16777215</width>
209            <height>29</height>
210           </size>
211          </property>
212          <property name="styleSheet">
213           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
214          </property>
215          <property name="text">
216           <string>SW Version</string>
217          </property>
218          <property name="alignment">
219           <set>Qt::AlignCenter</set>
220          </property>
221          <property name="indent">
222           <number>-1</number>
223          </property>
224         </widget>
225        </item>
226        <item>
227         <widget class="QLabel" name="label_4">
228          <property name="minimumSize">
229           <size>
230            <width>0</width>
231            <height>29</height>
232           </size>
233          </property>
234          <property name="maximumSize">
235           <size>
236            <width>16777215</width>
237            <height>29</height>
238           </size>
239          </property>
240          <property name="styleSheet">
241           <string notr="true">border: 1px solid rgb(130, 135, 144);</string>
242          </property>
243          <property name="text">
244           <string>Status</string>
245          </property>
246          <property name="alignment">
247           <set>Qt::AlignCenter</set>
248          </property>
249         </widget>
250        </item>
251        <item>
252         <widget class="QLabel" name="label_5">
253          <property name="minimumSize">
254           <size>
255            <width>0</width>
256            <height>29</height>
257           </size>
258          </property>
259          <property name="maximumSize">
260           <size>
261            <width>16777215</width>
262            <height>29</height>
263           </size>
264          </property>
265          <property name="styleSheet">
266           <string notr="true">border: 1px solid rgb(130, 135, 144);
267border-top-right-radius: 7px;
268</string>
269          </property>
270          <property name="text">
271           <string>Up Time</string>
272          </property>
273          <property name="alignment">
274           <set>Qt::AlignCenter</set>
275          </property>
276         </widget>
277        </item>
278       </layout>
279      </item>
280      <item>
281       <widget class="QListWidget" name="listWidget">
282        <property name="sizeAdjustPolicy">
283         <enum>QAbstractScrollArea::AdjustIgnored</enum>
284        </property>
285        <property name="resizeMode">
286         <enum>QListView::Adjust</enum>
287        </property>
288       </widget>
289      </item>
290     </layout>
291    </item>
292    <item row="2" column="0">
293     <layout class="QHBoxLayout" name="horizontalLayout_2">
294      <property name="spacing">
295       <number>10</number>
296      </property>
297      <property name="leftMargin">
298       <number>15</number>
299      </property>
300      <property name="rightMargin">
301       <number>10</number>
302      </property>
303      <property name="bottomMargin">
304       <number>20</number>
305      </property>
306      <item>
307       <widget class="QLabel" name="label_2">
308        <property name="minimumSize">
309         <size>
310          <width>80</width>
311          <height>23</height>
312         </size>
313        </property>
314        <property name="maximumSize">
315         <size>
316          <width>80</width>
317          <height>23</height>
318         </size>
319        </property>
320        <property name="layoutDirection">
321         <enum>Qt::LeftToRight</enum>
322        </property>
323        <property name="text">
324         <string>软件版本</string>
325        </property>
326        <property name="alignment">
327         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
328        </property>
329       </widget>
330      </item>
331      <item>
332       <widget class="QLineEdit" name="swVersionEdit">
333        <property name="enabled">
334         <bool>true</bool>
335        </property>
336        <property name="minimumSize">
337         <size>
338          <width>160</width>
339          <height>20</height>
340         </size>
341        </property>
342        <property name="maximumSize">
343         <size>
344          <width>160</width>
345          <height>20</height>
346         </size>
347        </property>
348        <property name="styleSheet">
349         <string notr="true"/>
350        </property>
351        <property name="text">
352         <string/>
353        </property>
354       </widget>
355      </item>
356      <item>
357       <widget class="QLabel" name="label_3">
358        <property name="minimumSize">
359         <size>
360          <width>85</width>
361          <height>23</height>
362         </size>
363        </property>
364        <property name="maximumSize">
365         <size>
366          <width>85</width>
367          <height>23</height>
368         </size>
369        </property>
370        <property name="text">
371         <string>硬件版本</string>
372        </property>
373        <property name="alignment">
374         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
375        </property>
376       </widget>
377      </item>
378      <item>
379       <widget class="QLineEdit" name="hwVersionEdit">
380        <property name="enabled">
381         <bool>true</bool>
382        </property>
383        <property name="minimumSize">
384         <size>
385          <width>160</width>
386          <height>20</height>
387         </size>
388        </property>
389        <property name="maximumSize">
390         <size>
391          <width>160</width>
392          <height>20</height>
393         </size>
394        </property>
395        <property name="styleSheet">
396         <string notr="true"/>
397        </property>
398        <property name="text">
399         <string/>
400        </property>
401        <property name="alignment">
402         <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
403        </property>
404       </widget>
405      </item>
406      <item>
407       <widget class="QLabel" name="label_10">
408        <property name="minimumSize">
409         <size>
410          <width>60</width>
411          <height>23</height>
412         </size>
413        </property>
414        <property name="maximumSize">
415         <size>
416          <width>48</width>
417          <height>23</height>
418         </size>
419        </property>
420        <property name="acceptDrops">
421         <bool>false</bool>
422        </property>
423        <property name="text">
424         <string>设备型号</string>
425        </property>
426        <property name="alignment">
427         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
428        </property>
429       </widget>
430      </item>
431      <item>
432       <widget class="QLineEdit" name="deviceModelEdit">
433        <property name="minimumSize">
434         <size>
435          <width>160</width>
436          <height>20</height>
437         </size>
438        </property>
439        <property name="maximumSize">
440         <size>
441          <width>200</width>
442          <height>20</height>
443         </size>
444        </property>
445        <property name="styleSheet">
446         <string notr="true"/>
447        </property>
448       </widget>
449      </item>
450      <item>
451       <widget class="QLabel" name="gap_2">
452        <property name="minimumSize">
453         <size>
454          <width>250</width>
455          <height>23</height>
456         </size>
457        </property>
458        <property name="layoutDirection">
459         <enum>Qt::LeftToRight</enum>
460        </property>
461        <property name="text">
462         <string/>
463        </property>
464        <property name="alignment">
465         <set>Qt::AlignCenter</set>
466        </property>
467       </widget>
468      </item>
469      <item>
470       <widget class="QPushButton" name="startButton">
471        <property name="minimumSize">
472         <size>
473          <width>75</width>
474          <height>26</height>
475         </size>
476        </property>
477        <property name="maximumSize">
478         <size>
479          <width>75</width>
480          <height>26</height>
481         </size>
482        </property>
483        <property name="layoutDirection">
484         <enum>Qt::LeftToRight</enum>
485        </property>
486        <property name="text">
487         <string>启动</string>
488        </property>
489       </widget>
490      </item>
491      <item>
492       <widget class="QPushButton" name="stopButton">
493        <property name="minimumSize">
494         <size>
495          <width>75</width>
496          <height>23</height>
497         </size>
498        </property>
499        <property name="maximumSize">
500         <size>
501          <width>75</width>
502          <height>23</height>
503         </size>
504        </property>
505        <property name="layoutDirection">
506         <enum>Qt::LeftToRight</enum>
507        </property>
508        <property name="text">
509         <string>停止</string>
510        </property>
511       </widget>
512      </item>
513     </layout>
514    </item>
515    <item row="0" column="0">
516     <layout class="QHBoxLayout" name="horizontalLayout">
517      <property name="leftMargin">
518       <number>10</number>
519      </property>
520      <property name="topMargin">
521       <number>10</number>
522      </property>
523      <property name="rightMargin">
524       <number>10</number>
525      </property>
526      <property name="bottomMargin">
527       <number>10</number>
528      </property>
529      <item>
530       <widget class="QPushButton" name="selPackageButton">
531        <property name="minimumSize">
532         <size>
533          <width>121</width>
534          <height>26</height>
535         </size>
536        </property>
537        <property name="maximumSize">
538         <size>
539          <width>121</width>
540          <height>26</height>
541         </size>
542        </property>
543        <property name="text">
544         <string>选择升级包</string>
545        </property>
546       </widget>
547      </item>
548      <item>
549       <widget class="QLineEdit" name="packagePathEdit">
550        <property name="enabled">
551         <bool>true</bool>
552        </property>
553        <property name="minimumSize">
554         <size>
555          <width>387</width>
556          <height>21</height>
557         </size>
558        </property>
559        <property name="maximumSize">
560         <size>
561          <width>387</width>
562          <height>21</height>
563         </size>
564        </property>
565        <property name="focusPolicy">
566         <enum>Qt::NoFocus</enum>
567        </property>
568        <property name="styleSheet">
569         <string notr="true">background-color: rgb(248, 248, 248);
570border: 1px solid #ccc;
571border-width:1px;</string>
572        </property>
573        <property name="text">
574         <string/>
575        </property>
576        <property name="frame">
577         <bool>true</bool>
578        </property>
579       </widget>
580      </item>
581      <item alignment="Qt::AlignLeft">
582       <widget class="QLabel" name="zipSizeLabel">
583        <property name="enabled">
584         <bool>true</bool>
585        </property>
586        <property name="minimumSize">
587         <size>
588          <width>151</width>
589          <height>21</height>
590         </size>
591        </property>
592        <property name="text">
593         <string/>
594        </property>
595        <property name="textInteractionFlags">
596         <set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
597        </property>
598       </widget>
599      </item>
600      <item>
601       <widget class="QLabel" name="gap">
602        <property name="minimumSize">
603         <size>
604          <width>60</width>
605          <height>20</height>
606         </size>
607        </property>
608        <property name="layoutDirection">
609         <enum>Qt::LeftToRight</enum>
610        </property>
611        <property name="text">
612         <string/>
613        </property>
614        <property name="alignment">
615         <set>Qt::AlignCenter</set>
616        </property>
617       </widget>
618      </item>
619      <item>
620       <widget class="QLabel" name="label_1">
621        <property name="minimumSize">
622         <size>
623          <width>61</width>
624          <height>23</height>
625         </size>
626        </property>
627        <property name="maximumSize">
628         <size>
629          <width>61</width>
630          <height>23</height>
631         </size>
632        </property>
633        <property name="layoutDirection">
634         <enum>Qt::LeftToRight</enum>
635        </property>
636        <property name="text">
637         <string>本机IP</string>
638        </property>
639        <property name="alignment">
640         <set>Qt::AlignCenter</set>
641        </property>
642       </widget>
643      </item>
644      <item>
645       <widget class="QComboBox" name="localIpComboBox">
646        <property name="minimumSize">
647         <size>
648          <width>300</width>
649          <height>22</height>
650         </size>
651        </property>
652        <property name="maximumSize">
653         <size>
654          <width>300</width>
655          <height>22</height>
656         </size>
657        </property>
658        <property name="layoutDirection">
659         <enum>Qt::LeftToRight</enum>
660        </property>
661       </widget>
662      </item>
663      <item>
664       <widget class="QPushButton" name="refrehIpButton">
665        <property name="minimumSize">
666         <size>
667          <width>75</width>
668          <height>26</height>
669         </size>
670        </property>
671        <property name="maximumSize">
672         <size>
673          <width>75</width>
674          <height>26</height>
675         </size>
676        </property>
677        <property name="layoutDirection">
678         <enum>Qt::LeftToRight</enum>
679        </property>
680        <property name="text">
681         <string>刷新</string>
682        </property>
683       </widget>
684      </item>
685      <item>
686       <widget class="QToolButton" name="toolMenuButton">
687        <property name="contextMenuPolicy">
688         <enum>Qt::CustomContextMenu</enum>
689        </property>
690        <property name="text">
691         <string>...</string>
692        </property>
693        <property name="popupMode">
694         <enum>QToolButton::InstantPopup</enum>
695        </property>
696       </widget>
697      </item>
698     </layout>
699    </item>
700    <item row="1" column="0">
701     <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,0,0,0,0,0">
702      <property name="spacing">
703       <number>10</number>
704      </property>
705      <property name="leftMargin">
706       <number>15</number>
707      </property>
708      <property name="topMargin">
709       <number>0</number>
710      </property>
711      <property name="rightMargin">
712       <number>10</number>
713      </property>
714      <property name="bottomMargin">
715       <number>10</number>
716      </property>
717      <item>
718       <widget class="QLabel" name="label_upgradefileSize">
719        <property name="minimumSize">
720         <size>
721          <width>80</width>
722          <height>23</height>
723         </size>
724        </property>
725        <property name="maximumSize">
726         <size>
727          <width>80</width>
728          <height>23</height>
729         </size>
730        </property>
731        <property name="text">
732         <string>文件大小</string>
733        </property>
734        <property name="alignment">
735         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
736        </property>
737       </widget>
738      </item>
739      <item>
740       <widget class="QLineEdit" name="lineEdit_upgradefileSize">
741        <property name="minimumSize">
742         <size>
743          <width>160</width>
744          <height>20</height>
745         </size>
746        </property>
747        <property name="maximumSize">
748         <size>
749          <width>160</width>
750          <height>20</height>
751         </size>
752        </property>
753        <property name="styleSheet">
754         <string notr="true">background-color: rgb(248, 248, 248);
755border: 1px solid #ccc;
756border-width:1px;</string>
757        </property>
758        <property name="frame">
759         <bool>true</bool>
760        </property>
761        <property name="readOnly">
762         <bool>true</bool>
763        </property>
764       </widget>
765      </item>
766      <item>
767       <widget class="QLabel" name="label_upgradefileMD5">
768        <property name="minimumSize">
769         <size>
770          <width>85</width>
771          <height>23</height>
772         </size>
773        </property>
774        <property name="maximumSize">
775         <size>
776          <width>85</width>
777          <height>23</height>
778         </size>
779        </property>
780        <property name="text">
781         <string>MD5值</string>
782        </property>
783        <property name="alignment">
784         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
785        </property>
786       </widget>
787      </item>
788      <item>
789       <widget class="QLineEdit" name="lineEdit_upgradefileMD5">
790        <property name="minimumSize">
791         <size>
792          <width>300</width>
793          <height>20</height>
794         </size>
795        </property>
796        <property name="maximumSize">
797         <size>
798          <width>300</width>
799          <height>20</height>
800         </size>
801        </property>
802        <property name="styleSheet">
803         <string notr="true">background-color: rgb(248, 248, 248);
804border: 1px solid #ccc;
805border-width:1px;</string>
806        </property>
807        <property name="frame">
808         <bool>true</bool>
809        </property>
810        <property name="readOnly">
811         <bool>true</bool>
812        </property>
813       </widget>
814      </item>
815      <item>
816       <spacer name="horizontalSpacer_2">
817        <property name="orientation">
818         <enum>Qt::Horizontal</enum>
819        </property>
820        <property name="sizeHint" stdset="0">
821         <size>
822          <width>40</width>
823          <height>20</height>
824         </size>
825        </property>
826       </spacer>
827      </item>
828      <item>
829       <widget class="QCheckBox" name="md5Enable">
830        <property name="enabled">
831         <bool>true</bool>
832        </property>
833        <property name="minimumSize">
834         <size>
835          <width>110</width>
836          <height>23</height>
837         </size>
838        </property>
839        <property name="maximumSize">
840         <size>
841          <width>110</width>
842          <height>23</height>
843         </size>
844        </property>
845        <property name="layoutDirection">
846         <enum>Qt::RightToLeft</enum>
847        </property>
848        <property name="text">
849         <string>启用MD5校验</string>
850        </property>
851        <property name="checkable">
852         <bool>true</bool>
853        </property>
854        <property name="checked">
855         <bool>true</bool>
856        </property>
857       </widget>
858      </item>
859     </layout>
860    </item>
861   </layout>
862  </widget>
863 </widget>
864 <layoutdefault spacing="6" margin="11"/>
865 <resources/>
866 <connections/>
867</ui>
868