mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-26 10:29:34 -05:00
Some checks are pending
Build Desktop / Configure (push) Waiting to run
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, 11) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, 13) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Debian, DEB, skip, 12) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Fedora, RPM, 43) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Fedora, RPM, skip, 42) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Servatrice_Debian, DEB, yes, skip, 11) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Ubuntu, DEB, 22.04) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (Ubuntu, DEB, 24.04) (push) Blocked by required conditions
Build Desktop / ${{matrix.distro}} ${{matrix.version}} (yes, Arch, skip) (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (Ninja, macOS, clang_64, qtimageformats qtmultimedia qtwebsockets, 6.6.*, macos-15, Apple, 15, Debug, 1, 16.4) (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (Windows10-installer, Visual Studio 17 2022, x64, 1, Windows, -Win10, win64_msvc2019_64, qtimageformats qtmultimedia qtwebsoc… (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (Windows7-installer, Visual Studio 17 2022, x64, 1, Windows, -Win7, win64_msvc2019_64, 5.15.*, windows-2022, 7, Release) (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (macOS13_Intel-package, Ninja, 1, macOS, 13, -macOS13_Intel, clang_64, qtimageformats qtmultimedia qtwebsockets, 6.6.*, macos… (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (macOS14-package, Ninja, 1, macOS, -macOS14, clang_64, qtimageformats qtmultimedia qtwebsockets, 6.6.*, macos-14, Apple, 14, … (push) Blocked by required conditions
Build Desktop / ${{matrix.os}} ${{matrix.target}}${{ matrix.soc == 'Intel' && ' Intel' || '' }}${{ matrix.type == 'Debug' && ' Debug' || '' }} (macOS15-package, Ninja, 1, macOS, -macOS15, clang_64, qtimageformats qtmultimedia qtwebsockets, 6.6.*, macos-15, Apple, 15, … (push) Blocked by required conditions
Build Docker Image / amd64 & arm64 (push) Waiting to run
67 lines
2.1 KiB
C++
67 lines
2.1 KiB
C++
/**
|
|
* @file layouts_settings.h
|
|
* @ingroup CoreSettings
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef LAYOUTSSETTINGS_H
|
|
#define LAYOUTSSETTINGS_H
|
|
|
|
#include "settings_manager.h"
|
|
|
|
#include <QSize>
|
|
|
|
class LayoutsSettings : public SettingsManager
|
|
{
|
|
Q_OBJECT
|
|
friend class SettingsCache;
|
|
|
|
public:
|
|
void setMainWindowGeometry(const QByteArray &value);
|
|
|
|
void setDeckEditorLayoutState(const QByteArray &value);
|
|
void setDeckEditorGeometry(const QByteArray &value);
|
|
void setDeckEditorWidgetSize(const QString &widgetName, const QSize &value);
|
|
|
|
void setDeckEditorDbHeaderState(const QByteArray &value);
|
|
void setSetsDialogHeaderState(const QByteArray &value);
|
|
void setSetsDialogGeometry(const QByteArray &value);
|
|
void setTokenDialogGeometry(const QByteArray &value);
|
|
|
|
void setGamePlayAreaGeometry(const QByteArray &value);
|
|
void setGamePlayAreaState(const QByteArray &value);
|
|
void setGamePlayAreaWidgetSize(const QString &widgetName, const QSize &value);
|
|
|
|
void setReplayPlayAreaGeometry(const QByteArray &value);
|
|
void setReplayPlayAreaState(const QByteArray &value);
|
|
void setReplayPlayAreaWidgetSize(const QString &widgetName, const QSize &value);
|
|
|
|
QByteArray getMainWindowGeometry();
|
|
|
|
QByteArray getDeckEditorLayoutState();
|
|
QByteArray getDeckEditorGeometry();
|
|
QSize getDeckEditorWidgetSize(const QString &widgetName, const QSize &defaultValue = {});
|
|
|
|
QByteArray getDeckEditorDbHeaderState();
|
|
QByteArray getSetsDialogHeaderState();
|
|
QByteArray getSetsDialogGeometry();
|
|
QByteArray getTokenDialogGeometry();
|
|
|
|
QByteArray getGamePlayAreaLayoutState();
|
|
QByteArray getGamePlayAreaGeometry();
|
|
QSize getGamePlayAreaWidgetSize(const QString &widgetName, const QSize &defaultValue = {});
|
|
|
|
QByteArray getReplayPlayAreaLayoutState();
|
|
QByteArray getReplayPlayAreaGeometry();
|
|
QSize getReplayPlayAreaWidgetSize(const QString &widgetName, const QSize &defaultValue = {});
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
private:
|
|
explicit LayoutsSettings(const QString &settingPath, QObject *parent = nullptr);
|
|
LayoutsSettings(const LayoutsSettings & /*other*/);
|
|
};
|
|
|
|
#endif // LAYOUTSSETTINGS_H
|