Sun, 13 Feb 2022 20:24:33 +0100
The Edit buttons include the record number in the database. Ready to build the modal supplier edit/insert/delete screen.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>InventorySuppliers</class> <widget class="QDialog" name="InventorySuppliers"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1280</width> <height>640</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <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 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="quitButton"> <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> </widget> </item> </layout> </widget> <resources> <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/> </resources> <connections/> </ui>