14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 */ |
16 */ |
17 #include "InventorySuppliers.h" |
17 #include "InventorySuppliers.h" |
18 #include "EditSupplier.h" |
18 #include "EditSupplier.h" |
|
19 #include "MainWindow.h" |
19 #include "../ui/ui_InventorySuppliers.h" |
20 #include "../ui/ui_InventorySuppliers.h" |
20 #include "config.h" |
21 #include "config.h" |
21 #include "bmsapp.h" |
22 #include "bmsapp.h" |
22 |
23 |
23 |
24 |
71 pLayout->setContentsMargins(5, 0, 5, 0); |
70 pLayout->setContentsMargins(5, 0, 5, 0); |
72 pWidget->setLayout(pLayout); |
71 pWidget->setLayout(pLayout); |
73 ui->tableSuppliers->setCellWidget(ridx, 5, pWidget); |
72 ui->tableSuppliers->setCellWidget(ridx, 5, pWidget); |
74 query.next(); |
73 query.next(); |
75 } |
74 } |
76 |
|
77 setWindowTitle( QString("BMSapp - %1 - Inventory Suppliers").arg(VERSIONSTRING) ); |
|
78 } |
75 } |
79 |
76 |
80 |
77 |
81 InventorySuppliers::~InventorySuppliers() |
78 InventorySuppliers::~InventorySuppliers() |
82 { |
79 { |
83 qDebug() << "InventorySuppliers done"; |
80 qDebug() << "InventorySuppliers done"; |
84 delete ui; |
81 // delete ui; |
85 } |
82 } |
86 |
83 |
87 |
84 |
88 void InventorySuppliers::edit(int recno) |
85 void InventorySuppliers::edit(int recno) |
89 { |
86 { |