ui/InventorySuppliers.ui

Sat, 19 Mar 2022 19:22:58 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 19 Mar 2022 19:22:58 +0100
changeset 64
b0d30697af67
parent 61
3fea5dde2b99
permissions
-rw-r--r--

First step in loading the Inventory Suppliers database on the mainscreen. But, it is loaded at program start en not removed when done. Weird programming to get this working.

6
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 <ui version="4.0">
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 <class>InventorySuppliers</class>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4 <widget class="QDialog" name="InventorySuppliers">
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5 <property name="geometry">
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 <rect>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 <x>0</x>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8 <y>0</y>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 <width>1280</width>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 <height>640</height>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11 </rect>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12 </property>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 <property name="windowTitle">
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
14 <string>Dialog</string>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
15 </property>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
16 <layout class="QGridLayout" name="gridLayout">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
17 <item row="0" column="0">
7
51fbea52551e The suppliers table now shows on the right screen.
Michiel Broek <mbroek@mbse.eu>
parents: 6
diff changeset
18 <widget class="QTableWidget" name="tableSuppliers">
51fbea52551e The suppliers table now shows on the right screen.
Michiel Broek <mbroek@mbse.eu>
parents: 6
diff changeset
19 <property name="enabled">
51fbea52551e The suppliers table now shows on the right screen.
Michiel Broek <mbroek@mbse.eu>
parents: 6
diff changeset
20 <bool>true</bool>
51fbea52551e The suppliers table now shows on the right screen.
Michiel Broek <mbroek@mbse.eu>
parents: 6
diff changeset
21 </property>
61
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
22 <property name="sizePolicy">
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
23 <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
24 <horstretch>0</horstretch>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
25 <verstretch>0</verstretch>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
26 </sizepolicy>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
27 </property>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
28 <property name="minimumSize">
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
29 <size>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
30 <width>1054</width>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
31 <height>0</height>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
32 </size>
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
33 </property>
7
51fbea52551e The suppliers table now shows on the right screen.
Michiel Broek <mbroek@mbse.eu>
parents: 6
diff changeset
34 </widget>
6
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
35 </item>
14
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
36 <item row="1" column="0">
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
37 <widget class="QGroupBox" name="groupBox">
14
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
38 <property name="enabled">
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
39 <bool>true</bool>
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
40 </property>
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
41 <property name="flat">
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
42 <bool>false</bool>
8a304c898a75 Added QDarkStyle stylesheet and images. Updated About window. Some minor layout improvements.
Michiel Broek <mbroek@mbse.eu>
parents: 9
diff changeset
43 </property>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
44 <layout class="QHBoxLayout" name="horizontalLayout">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
45 <property name="spacing">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
46 <number>6</number>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
47 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
48 <property name="leftMargin">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
49 <number>0</number>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
50 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
51 <property name="topMargin">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
52 <number>0</number>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
53 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
54 <property name="rightMargin">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
55 <number>0</number>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
56 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
57 <property name="bottomMargin">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
58 <number>0</number>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
59 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
60 <item alignment="Qt::AlignLeft">
9
85656dc48131 The Edit buttons include the record number in the database. Ready to build the modal supplier edit/insert/delete screen.
Michiel Broek <mbroek@mbse.eu>
parents: 8
diff changeset
61 <widget class="QPushButton" name="quitButton">
19
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
62 <property name="minimumSize">
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
63 <size>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
64 <width>80</width>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
65 <height>24</height>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
66 </size>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
67 </property>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
68 <property name="text">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
69 <string>Quit</string>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
70 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
71 <property name="icon">
61
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
72 <iconset>
25
a9da2744609e Added inventory yeasts editor. Fixed resource icons location.
Michiel Broek <mbroek@mbse.eu>
parents: 19
diff changeset
73 <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
74 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
75 </widget>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
76 </item>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
77 <item alignment="Qt::AlignRight">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
78 <widget class="QPushButton" name="insertButton">
19
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
79 <property name="minimumSize">
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
80 <size>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
81 <width>80</width>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
82 <height>24</height>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
83 </size>
c94edc758a5b Added Inventory Fermentables table.
Michiel Broek <mbroek@mbse.eu>
parents: 14
diff changeset
84 </property>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
85 <property name="text">
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
86 <string>New</string>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
87 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
88 <property name="icon">
61
3fea5dde2b99 Changed the way the inventory is displayed. Suppliers only for testing.
Michiel Broek <mbroek@mbse.eu>
parents: 25
diff changeset
89 <iconset>
25
a9da2744609e Added inventory yeasts editor. Fixed resource icons location.
Michiel Broek <mbroek@mbse.eu>
parents: 19
diff changeset
90 <normaloff>:icons/silk/table_row_insert.png</normaloff>:icons/silk/table_row_insert.png</iconset>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
91 </property>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
92 </widget>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
93 </item>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
94 </layout>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
95 </widget>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
96 </item>
6
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
97 </layout>
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
98 </widget>
8
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
99 <resources>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
100 <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
101 </resources>
ac4e363c09a7 The table screen is more or less complete.
Michiel Broek <mbroek@mbse.eu>
parents: 7
diff changeset
102 <connections/>
6
f8474f2c5db9 We can fetch a list of suppliers and show it in the wrong window. Still a lot to learn about Qt5
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
103 </ui>

mercurial