Change the Close button to the standard Close button.

HEAD
Simon Quigley 6 years ago
parent 2601b50a74
commit 78b4780b31

@ -324,7 +324,7 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="11" column="0" colspan="4"> <item row="10" column="0" colspan="4">
<layout class="QHBoxLayout" name="buttonslayout"> <layout class="QHBoxLayout" name="buttonslayout">
<item> <item>
<widget class="QPushButton" name="translation"> <widget class="QPushButton" name="translation">
@ -378,27 +378,15 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QPushButton" name="close"> <widget class="QDialogButtonBox" name="close">
<property name="minimumSize"> <property name="standardButtons">
<size> <set>QDialogButtonBox::Close</set>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>100</width>
<height>30</height>
</size>
</property>
<property name="text">
<string>Close</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="9" column="0"> <item row="8" column="0">
<spacer name="verticalSpacer1"> <spacer name="verticalSpacer1">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
@ -411,7 +399,7 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="10" column="0"> <item row="9" column="0">
<widget class="Line" name="line"> <widget class="Line" name="line">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
@ -433,13 +421,13 @@
<connections> <connections>
<connection> <connection>
<sender>close</sender> <sender>close</sender>
<signal>clicked()</signal> <signal>clicked(QAbstractButton*)</signal>
<receiver>MainWindow</receiver> <receiver>MainWindow</receiver>
<slot>close()</slot> <slot>close()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>539</x> <x>500</x>
<y>374</y> <y>376</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>299</x> <x>299</x>

Loading…
Cancel
Save