qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
src
widget
form
settings
generalform.h
Go to the documentation of this file.
1
/*
2
Copyright © 2014-2019 by The qTox Project Contributors
3
4
This file is part of qTox, a Qt-based graphical interface for Tox.
5
6
qTox is libre software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
qTox is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with qTox. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#pragma once
21
22
#include "
genericsettings.h
"
23
24
namespace
Ui
{
25
class
GeneralSettings;
26
}
27
28
class
SettingsWidget
;
29
30
class
GeneralForm
:
public
GenericForm
31
{
32
Q_OBJECT
33
public
:
34
explicit
GeneralForm
(
SettingsWidget
*
parent
);
35
~GeneralForm
();
36
QString
getFormName
() final
37
{
38
return
tr(
"General"
);
39
}
40
signals:
41
void
updateIcons
();
42
43
private
slots:
44
void
on_transComboBox_currentIndexChanged
(
int
index);
45
void
on_cbAutorun_stateChanged
();
46
void
on_cbSpellChecking_stateChanged
();
47
void
on_showSystemTray_stateChanged
();
48
void
on_startInTray_stateChanged
();
49
void
on_closeToTray_stateChanged
();
50
void
on_lightTrayIcon_stateChanged
();
51
void
on_autoAwaySpinBox_editingFinished
();
52
void
on_minimizeToTray_stateChanged
();
53
void
on_statusChanges_stateChanged
();
54
void
on_groupJoinLeaveMessages_stateChanged
();
55
void
on_autoacceptFiles_stateChanged
();
56
void
on_maxAutoAcceptSizeMB_editingFinished
();
57
void
on_autoSaveFilesDir_clicked
();
58
void
on_checkUpdates_stateChanged
();
59
60
private
:
61
void
retranslateUi
();
62
63
private
:
64
Ui::GeneralSettings*
bodyUI
;
65
SettingsWidget
*
parent
;
66
};
GeneralForm::parent
SettingsWidget * parent
Definition:
generalform.h:65
GeneralForm::on_autoAwaySpinBox_editingFinished
void on_autoAwaySpinBox_editingFinished()
Definition:
generalform.cpp:231
GeneralForm::on_groupJoinLeaveMessages_stateChanged
void on_groupJoinLeaveMessages_stateChanged()
Definition:
generalform.cpp:226
GeneralForm::retranslateUi
void retranslateUi()
Retranslate all elements in the form.
Definition:
generalform.cpp:272
GeneralForm::on_statusChanges_stateChanged
void on_statusChanges_stateChanged()
Definition:
generalform.cpp:221
GeneralForm::on_autoacceptFiles_stateChanged
void on_autoacceptFiles_stateChanged()
Definition:
generalform.cpp:237
GeneralForm::on_transComboBox_currentIndexChanged
void on_transComboBox_currentIndexChanged(int index)
Definition:
generalform.cpp:177
GeneralForm::on_cbSpellChecking_stateChanged
void on_cbSpellChecking_stateChanged()
Definition:
generalform.cpp:189
GeneralForm
Definition:
generalform.h:30
GeneralForm::on_checkUpdates_stateChanged
void on_checkUpdates_stateChanged()
Definition:
generalform.cpp:264
GeneralForm::on_minimizeToTray_stateChanged
void on_minimizeToTray_stateChanged()
Definition:
generalform.cpp:216
SettingsWidget
Definition:
settingswidget.h:42
GeneralForm::on_startInTray_stateChanged
void on_startInTray_stateChanged()
Definition:
generalform.cpp:200
GeneralForm::GeneralForm
GeneralForm(SettingsWidget *parent)
Definition:
generalform.cpp:97
genericsettings.h
Ui
Definition:
filetransferwidget.h:30
GeneralForm::bodyUI
Ui::GeneralSettings * bodyUI
Definition:
generalform.h:64
GeneralForm::on_lightTrayIcon_stateChanged
void on_lightTrayIcon_stateChanged()
Definition:
generalform.cpp:210
GeneralForm::on_maxAutoAcceptSizeMB_editingFinished
void on_maxAutoAcceptSizeMB_editingFinished()
Definition:
generalform.cpp:256
GeneralForm::getFormName
QString getFormName() final
Definition:
generalform.h:36
GeneralForm::~GeneralForm
~GeneralForm()
Definition:
generalform.cpp:171
GeneralForm::updateIcons
void updateIcons()
GeneralForm::on_cbAutorun_stateChanged
void on_cbAutorun_stateChanged()
Definition:
generalform.cpp:184
GeneralForm::on_showSystemTray_stateChanged
void on_showSystemTray_stateChanged()
Definition:
generalform.cpp:194
GeneralForm::on_autoSaveFilesDir_clicked
void on_autoSaveFilesDir_clicked()
Definition:
generalform.cpp:242
GeneralForm::on_closeToTray_stateChanged
void on_closeToTray_stateChanged()
Definition:
generalform.cpp:205
GenericForm
Definition:
genericsettings.h:24
Generated by
1.8.17