mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-24 23:53:54 -07:00
Token Dialog Revamp (#2639)
This commit is contained in:
parent
8ad448a23c
commit
ab94d2c91d
4 changed files with 43 additions and 12 deletions
|
|
@ -59,6 +59,7 @@ private:
|
|||
LayoutsSettings *layoutsSettings;
|
||||
|
||||
QByteArray mainWindowGeometry;
|
||||
QByteArray tokenDialogGeometry;
|
||||
QString lang;
|
||||
QString deckPath, replaysPath, picsPath, customPicsPath, cardDatabasePath, customCardDatabasePath, tokenDatabasePath, themeName;
|
||||
bool notifyAboutUpdates;
|
||||
|
|
@ -123,6 +124,7 @@ public:
|
|||
QString getDataPath();
|
||||
QString getSettingsPath();
|
||||
const QByteArray &getMainWindowGeometry() const { return mainWindowGeometry; }
|
||||
const QByteArray &getTokenDialogGeometry() const { return tokenDialogGeometry; }
|
||||
QString getLang() const { return lang; }
|
||||
QString getDeckPath() const { return deckPath; }
|
||||
QString getReplaysPath() const { return replaysPath; }
|
||||
|
|
@ -203,6 +205,7 @@ public:
|
|||
LayoutsSettings& layouts() const { return *layoutsSettings; }
|
||||
public slots:
|
||||
void setMainWindowGeometry(const QByteArray &_mainWindowGeometry);
|
||||
void setTokenDialogGeometry(const QByteArray &_tokenDialog);
|
||||
void setLang(const QString &_lang);
|
||||
void setDeckPath(const QString &_deckPath);
|
||||
void setReplaysPath(const QString &_replaysPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue