ErrorDialog: Give name to layouts

This commit is contained in:
Jonas Kvinge 2023-08-07 19:36:20 +02:00
parent e56e58b634
commit d1b4736ef9
1 changed files with 16 additions and 16 deletions

View File

@ -14,14 +14,14 @@
<string>Strawberry Error</string> <string>Strawberry Error</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset> <iconset resource="../../data/icons.qrc">
<normaloff>:/icons/64x64/strawberry.png</normaloff>:/icons/64x64/strawberry.png</iconset> <normaloff>:/icons/64x64/strawberry.png</normaloff>:/icons/64x64/strawberry.png</iconset>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="layout_errordialog">
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="container">
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="layout_left">
<item> <item>
<widget class="QLabel" name="icon"/> <widget class="QLabel" name="icon"/>
</item> </item>
@ -56,7 +56,7 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonbox">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
@ -68,38 +68,38 @@
</layout> </layout>
</widget> </widget>
<resources> <resources>
<include location="../../data/data.qrc"/> <include location="../../data/icons.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonbox</sender>
<signal>accepted()</signal> <signal>accepted()</signal>
<receiver>ErrorDialog</receiver> <receiver>ErrorDialog</receiver>
<slot>accept()</slot> <slot>accept()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>248</x> <x>299</x>
<y>254</y> <y>237</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>157</x> <x>299</x>
<y>274</y> <y>129</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>
<connection> <connection>
<sender>buttonBox</sender> <sender>buttonbox</sender>
<signal>rejected()</signal> <signal>rejected()</signal>
<receiver>ErrorDialog</receiver> <receiver>ErrorDialog</receiver>
<slot>reject()</slot> <slot>reject()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>316</x> <x>299</x>
<y>260</y> <y>237</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>286</x> <x>299</x>
<y>274</y> <y>129</y>
</hint> </hint>
</hints> </hints>
</connection> </connection>