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
+12
View File
@@ -20,6 +20,8 @@ ShopSettings::ShopSettings(QObject *parent) : QObject(parent)
m_defaultVat = Enums::NONE;
m_doublePrint = false;
m_showCount = true;
}
QString ShopSettings::output() const
@@ -231,3 +233,13 @@ void ShopSettings::setDefaultVat(const Enums::VatType &defaultVat)
{
m_defaultVat = defaultVat;
}
bool ShopSettings::showCount() const
{
return m_showCount;
}
void ShopSettings::setShowCount(bool showCount)
{
m_showCount = showCount;
}