Added setting for hide control for item count on shop form.
This commit is contained in:
+6
-3
@@ -5,6 +5,7 @@
|
||||
#include <QList>
|
||||
#include "data/shop-data.h"
|
||||
#include <autotablemodel.h>
|
||||
#include "settings/shopsettings.h"
|
||||
|
||||
class ShopItem;
|
||||
class IShopItem;
|
||||
@@ -20,10 +21,9 @@ class ShopForm : public QWidget
|
||||
public:
|
||||
explicit ShopForm(QWidget *parent = 0);
|
||||
~ShopForm();
|
||||
void loadLast();
|
||||
void loadButtons();
|
||||
void fillRaceiptCombo();
|
||||
|
||||
void setEetStatusText(const QString &statusText);
|
||||
void setupForm();
|
||||
|
||||
private slots:
|
||||
void on_directSale_clicked();
|
||||
@@ -57,6 +57,9 @@ private:
|
||||
AutoTableModel<ShopItem> *m_commodityModel;
|
||||
bool m_itemFound;
|
||||
|
||||
void loadLast();
|
||||
void loadButtons(const ShopSettingsPtr& settings);
|
||||
void fillRaceiptCombo();
|
||||
void createVoucher();
|
||||
void doTempSave(bool comboChanged);
|
||||
void changeReceipt();
|
||||
|
||||
Reference in New Issue
Block a user