swift
src
gui
components
settingsadvancedcomponent.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6
#ifndef SWIFT_GUI_COMPONENTS_SETTINGSGENERALCOMPONENT_H
7
#define SWIFT_GUI_COMPONENTS_SETTINGSGENERALCOMPONENT_H
8
9
#include <QFrame>
10
#include <QObject>
11
#include <QScopedPointer>
12
13
#include "
core/application/applicationsettings.h
"
14
#include "
gui/swiftguiexport.h
"
15
#include "
misc/settingscache.h
"
16
17
namespace
Ui
18
{
19
class
CSettingsAdvancedComponent;
20
}
21
namespace
swift::gui::components
22
{
24
class
SWIFT_GUI_EXPORT
CSettingsAdvancedComponent
:
public
QFrame
25
{
26
Q_OBJECT
27
28
public
:
30
CSettingsAdvancedComponent
(
QWidget
*parent =
nullptr
);
31
33
virtual
~
CSettingsAdvancedComponent
();
34
35
private
:
36
void
crashDumpUploadEnabledChanged(
Qt::CheckState
state);
37
38
QScopedPointer<Ui::CSettingsAdvancedComponent>
ui;
39
swift::misc::CSetting<swift::core::application::TCrashDumpUploadEnabled>
m_crashDumpUploadEnabled {
this
};
40
};
41
}
// namespace swift::gui::components
42
43
#endif
// SWIFT_GUI_COMPONENTS_SETTINGSGENERALCOMPONENT_H
applicationsettings.h
swift::gui::components::CSettingsAdvancedComponent
Configure general settings.
Definition:
settingsadvancedcomponent.h:25
swift::misc::CSetting< swift::core::application::TCrashDumpUploadEnabled >
swift::gui::components
High level reusable GUI components.
Definition:
aboutdialog.cpp:13
QFrame
QScopedPointer< Ui::CSettingsAdvancedComponent >
Qt::CheckState
CheckState
QWidget
settingscache.h
swiftguiexport.h
SWIFT_GUI_EXPORT
#define SWIFT_GUI_EXPORT
Export a class or function from the library.
Definition:
swiftguiexport.h:19
Generated on Wed Sep 3 2025 21:41:18 for swift by
1.9.1