Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
preferences_setup_page.h
Go to the documentation of this file.
1
#ifndef PREFERENCES_SETUP_PAGE_H
2
#define PREFERENCES_SETUP_PAGE_H
3
4
#include "
../first_run_wizard_page.h
"
5
6
#include <qtmetamacros.h>
7
8
class
QCheckBox;
9
class
QComboBox;
10
class
QGroupBox;
11
class
QLabel;
12
class
QWidget;
13
16
class
PreferencesSetupPage
:
public
FirstRunWizardPage
17
{
18
Q_OBJECT
19
20
public
:
21
explicit
PreferencesSetupPage
(QWidget *parent =
nullptr
);
22
23
void
initializePage
()
override
;
24
bool
isSkippable
()
const override
;
25
QString
stepTitle
()
const override
;
26
QString
stepSubtitle
()
const override
;
27
void
retranslateUi
()
override
;
28
29
private
:
30
QGroupBox *
gameplayGroup
;
31
QCheckBox *
doubleClickToPlayCheckBox
;
32
QCheckBox *
horizontalHandCheckBox
;
33
QCheckBox *
playToStackCheckBox
;
34
35
QGroupBox *
notificationsGroup
;
36
QCheckBox *
notificationsEnabledCheckBox
;
37
QCheckBox *
soundEnabledCheckBox
;
38
39
QGroupBox *
startupGroup
;
40
QLabel *
startupTabLabel
;
41
QComboBox *
startupTabSelector
;
42
};
43
44
#endif
// PREFERENCES_SETUP_PAGE_H
FirstRunWizardPage::FirstRunWizardPage
FirstRunWizardPage(QWidget *parent=nullptr)
Definition
first_run_wizard_page.h:20
PreferencesSetupPage::PreferencesSetupPage
PreferencesSetupPage(QWidget *parent=nullptr)
Definition
preferences_setup_page.cpp:35
PreferencesSetupPage::retranslateUi
void retranslateUi() override
Definition
preferences_setup_page.cpp:131
PreferencesSetupPage::startupGroup
QGroupBox * startupGroup
Definition
preferences_setup_page.h:39
PreferencesSetupPage::soundEnabledCheckBox
QCheckBox * soundEnabledCheckBox
Definition
preferences_setup_page.h:37
PreferencesSetupPage::horizontalHandCheckBox
QCheckBox * horizontalHandCheckBox
Definition
preferences_setup_page.h:32
PreferencesSetupPage::playToStackCheckBox
QCheckBox * playToStackCheckBox
Definition
preferences_setup_page.h:33
PreferencesSetupPage::stepSubtitle
QString stepSubtitle() const override
Definition
preferences_setup_page.cpp:126
PreferencesSetupPage::stepTitle
QString stepTitle() const override
Definition
preferences_setup_page.cpp:121
PreferencesSetupPage::startupTabLabel
QLabel * startupTabLabel
Definition
preferences_setup_page.h:40
PreferencesSetupPage::notificationsEnabledCheckBox
QCheckBox * notificationsEnabledCheckBox
Definition
preferences_setup_page.h:36
PreferencesSetupPage::gameplayGroup
QGroupBox * gameplayGroup
Definition
preferences_setup_page.h:30
PreferencesSetupPage::isSkippable
bool isSkippable() const override
Whether the wizard's "Skip" button should be offered on this page.
Definition
preferences_setup_page.cpp:116
PreferencesSetupPage::startupTabSelector
QComboBox * startupTabSelector
Definition
preferences_setup_page.h:41
PreferencesSetupPage::initializePage
void initializePage() override
Called every time the page becomes visible, including navigating back to it.
Definition
preferences_setup_page.cpp:102
PreferencesSetupPage::doubleClickToPlayCheckBox
QCheckBox * doubleClickToPlayCheckBox
Definition
preferences_setup_page.h:31
PreferencesSetupPage::notificationsGroup
QGroupBox * notificationsGroup
Definition
preferences_setup_page.h:35
first_run_wizard_page.h
cockatrice
src
interface
widgets
onboarding
pages
preferences_setup_page.h
Generated by
1.18.0