Added sell commodity feature.
This commit is contained in:
+5
-1
@@ -7,6 +7,7 @@
|
||||
#include <autotablemodel.h>
|
||||
|
||||
class ShopItem;
|
||||
class IShopItem;
|
||||
|
||||
namespace Ui {
|
||||
class ShopForm;
|
||||
@@ -31,7 +32,7 @@ private slots:
|
||||
|
||||
void on_loadButton_clicked();
|
||||
|
||||
void onCountChanged();
|
||||
void onCountChanged(int oldCount);
|
||||
|
||||
void on_receiptCombo_currentIndexChanged(int index);
|
||||
|
||||
@@ -39,6 +40,8 @@ private slots:
|
||||
|
||||
void on_showPaiedButton_clicked();
|
||||
|
||||
void on_btnAddItem_clicked();
|
||||
|
||||
private:
|
||||
Ui::ShopForm *ui;
|
||||
QSharedPointer<Voucher> m_voucher;
|
||||
@@ -50,6 +53,7 @@ private:
|
||||
void changeReceipt();
|
||||
void connectItemSignals();
|
||||
void createEmptyVoucher();
|
||||
void addItem(QSharedPointer<IShopItem> item, int count);
|
||||
};
|
||||
|
||||
#endif // SHOPFORM_H
|
||||
|
||||
Reference in New Issue
Block a user