|
9 | 9 | <rect> |
10 | 10 | <x>0</x> |
11 | 11 | <y>0</y> |
12 | | - <width>420</width> |
| 12 | + <width>500</width> |
13 | 13 | <height>150</height> |
14 | 14 | </rect> |
15 | 15 | </property> |
|
21 | 21 | </property> |
22 | 22 | <property name="minimumSize"> |
23 | 23 | <size> |
24 | | - <width>420</width> |
| 24 | + <width>500</width> |
25 | 25 | <height>150</height> |
26 | 26 | </size> |
27 | 27 | </property> |
28 | 28 | <property name="maximumSize"> |
29 | 29 | <size> |
30 | | - <width>420</width> |
| 30 | + <width>500</width> |
31 | 31 | <height>150</height> |
32 | 32 | </size> |
33 | 33 | </property> |
34 | 34 | <property name="windowTitle"> |
35 | 35 | <string>Firmware update</string> |
36 | 36 | </property> |
37 | | - <widget class="QWidget" name=""> |
38 | | - <property name="geometry"> |
39 | | - <rect> |
40 | | - <x>10</x> |
41 | | - <y>20</y> |
42 | | - <width>392</width> |
43 | | - <height>109</height> |
44 | | - </rect> |
45 | | - </property> |
46 | | - <layout class="QVBoxLayout" name="verticalLayout_2"> |
47 | | - <item> |
48 | | - <layout class="QVBoxLayout" name="verticalLayout"> |
49 | | - <item> |
50 | | - <widget class="QLabel" name="pathLabel"> |
51 | | - <property name="text"> |
52 | | - <string>Path to firmware update file</string> |
53 | | - </property> |
54 | | - </widget> |
55 | | - </item> |
56 | | - <item> |
57 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
58 | | - <item> |
59 | | - <widget class="QLineEdit" name="filePathEdit"> |
60 | | - <property name="minimumSize"> |
61 | | - <size> |
62 | | - <width>300</width> |
63 | | - <height>0</height> |
64 | | - </size> |
65 | | - </property> |
66 | | - </widget> |
67 | | - </item> |
68 | | - <item> |
69 | | - <widget class="QPushButton" name="selectFileButton"> |
70 | | - <property name="text"> |
71 | | - <string>Select</string> |
72 | | - </property> |
73 | | - </widget> |
74 | | - </item> |
75 | | - </layout> |
76 | | - </item> |
77 | | - </layout> |
78 | | - </item> |
79 | | - <item> |
80 | | - <spacer name="verticalSpacer"> |
81 | | - <property name="orientation"> |
82 | | - <enum>Qt::Vertical</enum> |
83 | | - </property> |
84 | | - <property name="sizeType"> |
85 | | - <enum>QSizePolicy::Fixed</enum> |
86 | | - </property> |
87 | | - <property name="sizeHint" stdset="0"> |
88 | | - <size> |
89 | | - <width>20</width> |
90 | | - <height>20</height> |
91 | | - </size> |
92 | | - </property> |
93 | | - </spacer> |
94 | | - </item> |
95 | | - <item> |
96 | | - <widget class="QDialogButtonBox" name="buttonBox"> |
97 | | - <property name="orientation"> |
98 | | - <enum>Qt::Horizontal</enum> |
99 | | - </property> |
100 | | - <property name="standardButtons"> |
101 | | - <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel</set> |
102 | | - </property> |
103 | | - </widget> |
104 | | - </item> |
105 | | - </layout> |
106 | | - </widget> |
| 37 | + <layout class="QVBoxLayout" name="verticalLayout_2"> |
| 38 | + <item> |
| 39 | + <layout class="QVBoxLayout" name="verticalLayout"> |
| 40 | + <property name="sizeConstraint"> |
| 41 | + <enum>QLayout::SetMaximumSize</enum> |
| 42 | + </property> |
| 43 | + <item> |
| 44 | + <widget class="QLabel" name="pathLabel"> |
| 45 | + <property name="sizePolicy"> |
| 46 | + <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 47 | + <horstretch>0</horstretch> |
| 48 | + <verstretch>0</verstretch> |
| 49 | + </sizepolicy> |
| 50 | + </property> |
| 51 | + <property name="text"> |
| 52 | + <string>Path to firmware update file</string> |
| 53 | + </property> |
| 54 | + </widget> |
| 55 | + </item> |
| 56 | + <item> |
| 57 | + <layout class="QHBoxLayout" name="horizontalLayout"> |
| 58 | + <property name="sizeConstraint"> |
| 59 | + <enum>QLayout::SetMinimumSize</enum> |
| 60 | + </property> |
| 61 | + <item> |
| 62 | + <widget class="QLineEdit" name="filePathEdit"> |
| 63 | + <property name="sizePolicy"> |
| 64 | + <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> |
| 65 | + <horstretch>0</horstretch> |
| 66 | + <verstretch>0</verstretch> |
| 67 | + </sizepolicy> |
| 68 | + </property> |
| 69 | + <property name="minimumSize"> |
| 70 | + <size> |
| 71 | + <width>200</width> |
| 72 | + <height>0</height> |
| 73 | + </size> |
| 74 | + </property> |
| 75 | + </widget> |
| 76 | + </item> |
| 77 | + <item> |
| 78 | + <widget class="QPushButton" name="selectFileButton"> |
| 79 | + <property name="text"> |
| 80 | + <string>Select</string> |
| 81 | + </property> |
| 82 | + </widget> |
| 83 | + </item> |
| 84 | + </layout> |
| 85 | + </item> |
| 86 | + </layout> |
| 87 | + </item> |
| 88 | + <item> |
| 89 | + <widget class="QDialogButtonBox" name="buttonBox"> |
| 90 | + <property name="sizePolicy"> |
| 91 | + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
| 92 | + <horstretch>0</horstretch> |
| 93 | + <verstretch>0</verstretch> |
| 94 | + </sizepolicy> |
| 95 | + </property> |
| 96 | + <property name="orientation"> |
| 97 | + <enum>Qt::Horizontal</enum> |
| 98 | + </property> |
| 99 | + <property name="standardButtons"> |
| 100 | + <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel</set> |
| 101 | + </property> |
| 102 | + </widget> |
| 103 | + </item> |
| 104 | + </layout> |
107 | 105 | </widget> |
108 | 106 | <resources/> |
109 | 107 | <connections> |
|
0 commit comments