Added setting for hide control for item count on shop form.

This commit is contained in:
2021-01-29 22:09:34 +01:00
parent ad9a66ab32
commit ab20fe9b34
8 changed files with 52 additions and 12 deletions
+7
View File
@@ -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;