Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
dlg_settings.cpp File Reference

Implementation of the main settings dialog. More...

#include "dlg_settings.h"
#include "../../../client/settings/cache_settings.h"
#include "../main.h"
#include "../settings_page/appearance_settings_page.h"
#include "../settings_page/deck_editor_settings_page.h"
#include "../settings_page/general_settings_page.h"
#include "../settings_page/messages_settings_page.h"
#include "../settings_page/settings_search_delegate.h"
#include "../settings_page/settings_search_model.h"
#include "../settings_page/shortcut_settings_page.h"
#include "../settings_page/sound_settings_page.h"
#include "../settings_page/storage_settings_page.h"
#include "../settings_page/user_interface_settings_page.h"
#include "libcockatrice/card/database/card_database_loader.h"
#include "libcockatrice/card/database/card_database_manager.h"
#include <QAbstractItemView>
#include <QCloseEvent>
#include <QDir>
#include <QFrame>
#include <QGraphicsOpacityEffect>
#include <QGuiApplication>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QLineEdit>
#include <QListView>
#include <QMessageBox>
#include <QPropertyAnimation>
#include <QPushButton>
#include <QScreen>
#include <QScrollArea>
#include <QScrollBar>
#include <QSequentialAnimationGroup>
#include <QShortcut>
#include <QStackedLayout>
#include <QStackedWidget>
#include <QToolButton>
#include <QVBoxLayout>
#include <libcockatrice/settings/paths_settings.h>
#include <libcockatrice/settings/personal_settings.h>
Include dependency graph for dlg_settings.cpp:

Functions

static QScrollArea * makeScrollable (QWidget *widget)
 Wraps a widget in a scroll area for long settings pages.
static QStringList pageIconResources ()
 Returns the theme icon resources for each settings page, indexed by SettingsPage order.

Detailed Description

Implementation of the main settings dialog.

Function Documentation

◆ makeScrollable()

QScrollArea * makeScrollable ( QWidget * widget)
static

Wraps a widget in a scroll area for long settings pages.

Parameters
widgetThe widget to wrap
Returns
The scroll area containing the widget
Here is the caller graph for this function:

◆ pageIconResources()

QStringList pageIconResources ( )
static

Returns the theme icon resources for each settings page, indexed by SettingsPage order.

Here is the caller graph for this function: