qTox  Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
advancedform.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 class Core;
25 
26 namespace Ui {
27 class AdvancedSettings;
28 }
29 
30 class AdvancedForm : public GenericForm
31 {
32  Q_OBJECT
33 public:
34  AdvancedForm();
35  ~AdvancedForm();
36  QString getFormName() final
37  {
38  return tr("Advanced");
39  }
40 
41 private slots:
42  // Portable
45  // Debug
48  // Connection
53  void on_proxyPort_valueChanged(int port);
54  void on_proxyType_currentIndexChanged(int index);
55 
56 private:
57  void retranslateUi();
58 
59 private:
60  Ui::AdvancedSettings* bodyUI;
61 };
AdvancedForm::on_proxyPort_valueChanged
void on_proxyPort_valueChanged(int port)
Definition: advancedform.cpp:194
AdvancedForm::on_cbEnableIPv6_stateChanged
void on_cbEnableIPv6_stateChanged()
Definition: advancedform.cpp:170
AdvancedForm::on_proxyType_currentIndexChanged
void on_proxyType_currentIndexChanged(int index)
Definition: advancedform.cpp:203
AdvancedForm::on_cbMakeToxPortable_stateChanged
void on_cbMakeToxPortable_stateChanged()
Definition: advancedform.cpp:96
AdvancedForm::~AdvancedForm
~AdvancedForm()
Definition: advancedform.cpp:90
AdvancedForm::on_cbEnableLanDiscovery_stateChanged
void on_cbEnableLanDiscovery_stateChanged()
Definition: advancedform.cpp:184
AdvancedForm::on_cbEnableUDP_stateChanged
void on_cbEnableUDP_stateChanged()
Definition: advancedform.cpp:175
AdvancedForm::bodyUI
Ui::AdvancedSettings * bodyUI
Definition: advancedform.h:60
AdvancedForm::retranslateUi
void retranslateUi()
Retranslate all elements in the form.
Definition: advancedform.cpp:220
genericsettings.h
Ui
Definition: filetransferwidget.h:30
AdvancedForm::on_btnExportLog_clicked
void on_btnExportLog_clicked()
Definition: advancedform.cpp:100
AdvancedForm::getFormName
QString getFormName() final
Definition: advancedform.h:36
AdvancedForm::on_resetButton_clicked
void on_resetButton_clicked()
Definition: advancedform.cpp:157
AdvancedForm::on_proxyAddr_editingFinished
void on_proxyAddr_editingFinished()
Definition: advancedform.cpp:189
AdvancedForm::AdvancedForm
AdvancedForm()
Definition: advancedform.cpp:44
AdvancedForm::on_btnCopyDebug_clicked
void on_btnCopyDebug_clicked()
Definition: advancedform.cpp:127
GenericForm
Definition: genericsettings.h:24
Core
Definition: core.h:59
AdvancedForm
Definition: advancedform.h:30