Implemented base functionality for commodity grid on shop form.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include "data/shop-data.h"
|
||||
#include <autotablemodel.h>
|
||||
|
||||
class ShopItem;
|
||||
|
||||
namespace Ui {
|
||||
class ShopForm;
|
||||
}
|
||||
@@ -41,6 +43,7 @@ private:
|
||||
Ui::ShopForm *ui;
|
||||
QSharedPointer<Voucher> m_voucher;
|
||||
AutoTableModel<VoucherItem> *m_itemsModel;
|
||||
AutoTableModel<ShopItem> *m_commodityModel;
|
||||
|
||||
void createVoucher();
|
||||
void doTempSave(bool comboChanged);
|
||||
|
||||
Reference in New Issue
Block a user