Added setting for hide control for item count on shop form.
This commit is contained in:
@@ -32,6 +32,8 @@ class ShopSettings : public QObject
|
||||
|
||||
Q_PROPERTY(Enums::VatType defaultVat READ defaultVat WRITE setDefaultVat)
|
||||
|
||||
Q_PROPERTY(bool showCount READ showCount WRITE setShowCount)
|
||||
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@@ -105,6 +107,9 @@ public:
|
||||
Enums::VatType defaultVat() const;
|
||||
void setDefaultVat(const Enums::VatType &defaultVat);
|
||||
|
||||
bool showCount() const;
|
||||
void setShowCount(bool showCount);
|
||||
|
||||
private:
|
||||
QString m_output;
|
||||
CODEPAGE m_codepage;
|
||||
@@ -132,6 +137,8 @@ private:
|
||||
QString m_roundingItem;
|
||||
|
||||
Enums::VatType m_defaultVat;
|
||||
|
||||
bool m_showCount;
|
||||
};
|
||||
|
||||
typedef QSharedPointer<ShopSettings> ShopSettingsPtr;
|
||||
|
||||
Reference in New Issue
Block a user