mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
Add option to hide status bar (#5983)
* reorganize actions * add setting to settingsCache * use setting * add shortcut * fix typo
This commit is contained in:
parent
f059643187
commit
da2488f7d8
7 changed files with 44 additions and 3 deletions
|
|
@ -55,6 +55,7 @@ signals:
|
|||
void cardDatabasePathChanged();
|
||||
void themeChanged();
|
||||
void picDownloadChanged();
|
||||
void showStatusBarChanged(bool state);
|
||||
void displayCardNamesChanged();
|
||||
void overrideAllCardArtWithPersonalPreferenceChanged(bool _overrideAllCardArtWithPersonalPreference);
|
||||
void bumpSetsWithCardsInDeckToTopChanged();
|
||||
|
|
@ -222,6 +223,7 @@ private:
|
|||
QList<ReleaseChannel *> releaseChannels;
|
||||
bool isPortableBuild;
|
||||
bool roundCardCorners;
|
||||
bool showStatusBar;
|
||||
|
||||
public:
|
||||
SettingsCache();
|
||||
|
|
@ -333,6 +335,10 @@ public:
|
|||
{
|
||||
return picDownload;
|
||||
}
|
||||
bool getShowStatusBar() const
|
||||
{
|
||||
return showStatusBar;
|
||||
}
|
||||
bool getNotificationsEnabled() const
|
||||
{
|
||||
return notificationsEnabled;
|
||||
|
|
@ -828,6 +834,7 @@ public slots:
|
|||
void setChatMentionColor(const QString &_chatMentionColor);
|
||||
void setChatHighlightColor(const QString &_chatHighlightColor);
|
||||
void setPicDownload(QT_STATE_CHANGED_T _picDownload);
|
||||
void setShowStatusBar(bool value);
|
||||
void setNotificationsEnabled(QT_STATE_CHANGED_T _notificationsEnabled);
|
||||
void setSpectatorNotificationsEnabled(QT_STATE_CHANGED_T _spectatorNotificationsEnabled);
|
||||
void setBuddyConnectNotificationsEnabled(QT_STATE_CHANGED_T _buddyConnectNotificationsEnabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue