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
sound_settings_page.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_SOUND_SETTINGS_PAGE_H
2
#define COCKATRICE_SOUND_SETTINGS_PAGE_H
3
4
#include "
abstract_settings_page.h
"
5
6
#include <QCheckBox>
7
#include <QComboBox>
8
#include <QLabel>
9
#include <QPushButton>
10
#include <qtmetamacros.h>
11
12
class
QGroupBox;
13
class
QSlider;
14
class
QSpinBox;
15
16
class
SoundSettingsPage
:
public
AbstractSettingsPage
17
{
18
Q_OBJECT
19
public
:
20
SoundSettingsPage
();
21
void
retranslateUi
()
override
;
22
23
private
:
24
QLabel
themeLabel
;
25
QComboBox
themeBox
;
26
QGroupBox *
soundGroupBox
;
27
QPushButton
soundTestButton
;
28
QCheckBox
soundEnabledCheckBox
;
29
QLabel
masterVolumeLabel
;
30
QSlider *
masterVolumeSlider
;
31
QSpinBox *
masterVolumeSpinBox
;
32
33
private
slots:
34
void
masterVolumeChanged
(
int
value);
35
void
themeBoxChanged
(
int
index);
36
};
37
38
#endif
// COCKATRICE_SOUND_SETTINGS_PAGE_H
abstract_settings_page.h
AbstractSettingsPage
Definition
abstract_settings_page.h:25
SoundSettingsPage::masterVolumeSlider
QSlider * masterVolumeSlider
Definition
sound_settings_page.h:30
SoundSettingsPage::soundGroupBox
QGroupBox * soundGroupBox
Definition
sound_settings_page.h:26
SoundSettingsPage::soundEnabledCheckBox
QCheckBox soundEnabledCheckBox
Definition
sound_settings_page.h:28
SoundSettingsPage::SoundSettingsPage
SoundSettingsPage()
Definition
sound_settings_page.cpp:22
SoundSettingsPage::themeBoxChanged
void themeBoxChanged(int index)
Definition
sound_settings_page.cpp:82
SoundSettingsPage::retranslateUi
void retranslateUi() override
Definition
sound_settings_page.cpp:95
SoundSettingsPage::masterVolumeSpinBox
QSpinBox * masterVolumeSpinBox
Definition
sound_settings_page.h:31
SoundSettingsPage::themeLabel
QLabel themeLabel
Definition
sound_settings_page.h:24
SoundSettingsPage::themeBox
QComboBox themeBox
Definition
sound_settings_page.h:25
SoundSettingsPage::masterVolumeChanged
void masterVolumeChanged(int value)
Definition
sound_settings_page.cpp:90
SoundSettingsPage::masterVolumeLabel
QLabel masterVolumeLabel
Definition
sound_settings_page.h:29
SoundSettingsPage::soundTestButton
QPushButton soundTestButton
Definition
sound_settings_page.h:27
cockatrice
src
interface
widgets
settings_page
sound_settings_page.h
Generated by
1.18.0