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
+17
View File
@@ -18,6 +18,10 @@ class ShopSettings : public QObject
Q_PROPERTY(bool eetTest READ eetTest WRITE setEetTest)
Q_PROPERTY(bool eetPlayground READ eetPlayground WRITE setEetPlayground)
Q_PROPERTY(int favBtnCols READ favBtnCols WRITE setFavBtnCols)
Q_PROPERTY(int favBtnRows READ favBtnRows WRITE setFavBtnRows)
Q_PROPERTY(int favBtnSize READ favBtnSize WRITE setFavBtnSize)
Q_OBJECT
public:
@@ -64,6 +68,15 @@ public:
bool eetPlayground() const;
void setEetPlayground(bool eetPlayground);
int favBtnCols() const;
void setFavBtnCols(int favBtnCols);
int favBtnRows() const;
void setFavBtnRows(int favBtnRows);
int favBtnSize() const;
void setFavBtnSize(int favBtnSize);
private:
QString m_output;
CODEPAGE m_codepage;
@@ -78,6 +91,10 @@ private:
QString m_eetKeyPassword;
bool m_eetTest;
bool m_eetPlayground;
int m_favBtnCols;
int m_favBtnRows;
int m_favBtnSize;
};
typedef QSharedPointer<ShopSettings> ShopSettingsPtr;