Added favorite buttons to shop form.

closes #276
This commit is contained in:
2017-03-28 22:13:54 +02:00
parent 7aa00f1b1e
commit b0d67cf93a
19 changed files with 361 additions and 384 deletions
+34
View File
@@ -9,6 +9,10 @@ ShopSettings::ShopSettings(QObject *parent) : QObject(parent)
m_eetMode = 1;
m_eetTest = 0;
m_eetPlayground = 0;
m_favBtnCols = 0;
m_favBtnRows = 0;
m_favBtnSize = 0;
}
QString ShopSettings::output() const
@@ -130,3 +134,33 @@ void ShopSettings::setEetPlayground(bool eetPlayground)
{
m_eetPlayground = eetPlayground;
}
int ShopSettings::favBtnCols() const
{
return m_favBtnCols;
}
void ShopSettings::setFavBtnCols(int favBtnCols)
{
m_favBtnCols = favBtnCols;
}
int ShopSettings::favBtnRows() const
{
return m_favBtnRows;
}
void ShopSettings::setFavBtnRows(int favBtnRows)
{
m_favBtnRows = favBtnRows;
}
int ShopSettings::favBtnSize() const
{
return m_favBtnSize;
}
void ShopSettings::setFavBtnSize(int favBtnSize)
{
m_favBtnSize = favBtnSize;
}