Skip to content

Commit accfd17

Browse files
committed
Fixed firwmare update dialog
1 parent d5a04ee commit accfd17

File tree

1 file changed

+71
-73
lines changed

1 file changed

+71
-73
lines changed

qt/firmware_update_dialog.ui

Lines changed: 71 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<rect>
1010
<x>0</x>
1111
<y>0</y>
12-
<width>420</width>
12+
<width>500</width>
1313
<height>150</height>
1414
</rect>
1515
</property>
@@ -21,89 +21,87 @@
2121
</property>
2222
<property name="minimumSize">
2323
<size>
24-
<width>420</width>
24+
<width>500</width>
2525
<height>150</height>
2626
</size>
2727
</property>
2828
<property name="maximumSize">
2929
<size>
30-
<width>420</width>
30+
<width>500</width>
3131
<height>150</height>
3232
</size>
3333
</property>
3434
<property name="windowTitle">
3535
<string>Firmware update</string>
3636
</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>
107105
</widget>
108106
<resources/>
109107
<connections>

0 commit comments

Comments
 (0)