Added setting for hide control for item count on shop form.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user