--- a/ui/InventorySuppliers.ui Sun Feb 13 15:15:03 2022 +0100 +++ b/ui/InventorySuppliers.ui Sun Feb 13 17:24:55 2022 +0100 @@ -13,59 +13,68 @@ <property name="windowTitle"> <string>Dialog</string> </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <item> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> <widget class="QTableWidget" name="tableSuppliers"> <property name="enabled"> <bool>true</bool> </property> </widget> </item> - <item> - <widget class="QDialogButtonBox" name="changeButton"> + <item row="2" column="0"> + <widget class="QGroupBox" name="groupBox"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="spacing"> + <number>6</number> + </property> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item alignment="Qt::AlignLeft"> + <widget class="QPushButton" name="changeButton"> + <property name="text"> + <string>Quit</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/icons/silk/door_out.png</normaloff>:/icons/silk/icons/silk/door_out.png</iconset> + </property> + </widget> + </item> + <item alignment="Qt::AlignRight"> + <widget class="QPushButton" name="insertButton"> + <property name="text"> + <string>New</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/icons/silk/table_row_insert.png</normaloff>:/icons/silk/icons/silk/table_row_insert.png</iconset> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="Line" name="line"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Ok</set> - </property> </widget> </item> </layout> </widget> - <resources/> - <connections> - <connection> - <sender>changeButton</sender> - <signal>accepted()</signal> - <receiver>InventorySuppliers</receiver> - <slot>accept()</slot> - <hints> - <hint type="sourcelabel"> - <x>248</x> - <y>254</y> - </hint> - <hint type="destinationlabel"> - <x>157</x> - <y>274</y> - </hint> - </hints> - </connection> - <connection> - <sender>changeButton</sender> - <signal>rejected()</signal> - <receiver>InventorySuppliers</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel"> - <x>316</x> - <y>260</y> - </hint> - <hint type="destinationlabel"> - <x>286</x> - <y>274</y> - </hint> - </hints> - </connection> - </connections> + <resources> + <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/> + </resources> + <connections/> </ui>