Item is added to voucher if found and on enter key pressed in search edit (barcode reader optimization).

This commit is contained in:
2017-04-04 22:33:39 +02:00
parent 4b3a2e1dd7
commit 03fd0adf12
6 changed files with 27 additions and 7 deletions
+3
View File
@@ -47,11 +47,14 @@ private slots:
void on_lblEetState_linkActivated(const QString &link);
void on_commoditySearch_returnPressed();
private:
Ui::ShopForm *ui;
QSharedPointer<Voucher> m_voucher;
AutoTableModel<VoucherItem> *m_itemsModel;
AutoTableModel<ShopItem> *m_commodityModel;
bool m_itemFound;
void createVoucher();
void doTempSave(bool comboChanged);