QElectroTech  0.8-dev
generalconfigurationpage.h
Go to the documentation of this file.
1 /*
2  Copyright 2006-2020 The QElectroTech Team
3  This file is part of QElectroTech.
4 
5  QElectroTech is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 2 of the License, or
8  (at your option) any later version.
9 
10  QElectroTech is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
17 */
18 #ifndef GENERALCONFIGURATIONPAGE_H
19 #define GENERALCONFIGURATIONPAGE_H
20 
21 #include <QWidget>
22 #include "configpage.h"
23 
24 namespace Ui {
26 }
27 
29 {
30  Q_OBJECT
31 
32  public:
33  explicit GeneralConfigurationPage(QWidget *parent = nullptr);
34  ~GeneralConfigurationPage() override;
35 
36  virtual void applyConf() override;
37  virtual QString title() const override;
38  virtual QIcon icon() const override;
39 
40  private slots:
41  void on_m_font_pb_clicked();
47 
48  private:
49  void fillLang();
50 
51  private:
52  Ui::GeneralConfigurationPage *ui;
53 };
54 
55 #endif // GENERALCONFIGURATIONPAGE_H
QET::Icons::jp
QIcon jp
Definition: qeticons.cpp:197
GeneralConfigurationPage::on_m_common_elmt_path_cb_currentIndexChanged
void on_m_common_elmt_path_cb_currentIndexChanged(int index)
Definition: generalconfigurationpage.cpp:341
QET::Icons::en
QIcon en
Definition: qeticons.cpp:191
QET::Icons::pt
QIcon pt
Definition: qeticons.cpp:199
GeneralConfigurationPage::ui
Ui::GeneralConfigurationPage * ui
Definition: generalconfigurationpage.h:52
GeneralConfigurationPage::icon
virtual QIcon icon() const override
GeneralConfigurationPage::icon.
Definition: generalconfigurationpage.cpp:245
QET::Icons::nl
QIcon nl
Definition: qeticons.cpp:203
GeneralConfigurationPage::on_m_font_pb_clicked
void on_m_font_pb_clicked()
GeneralConfigurationPage::on_m_font_pb_clicked Apply font to config.
Definition: generalconfigurationpage.cpp:301
QET::Icons::gr
QIcon gr
Definition: qeticons.cpp:190
GeneralConfigurationPage::fillLang
void fillLang()
GeneralConfigurationPage::fillLang fill all available lang.
Definition: generalconfigurationpage.cpp:253
GeneralConfigurationPage::on_m_dyn_text_font_pb_clicked
void on_m_dyn_text_font_pb_clicked()
GeneralConfigurationPage::m_dyn_text_font_pb_clicked Apply font to config.
Definition: generalconfigurationpage.cpp:323
GeneralConfigurationPage::on_m_indi_text_font_pb_clicked
void on_m_indi_text_font_pb_clicked()
Definition: generalconfigurationpage.cpp:384
QET::Icons::pl
QIcon pl
Definition: qeticons.cpp:198
QETApp::resetUserElementsDir
static void resetUserElementsDir()
QETApp::resetUserElementsDir Reset the path of the user common and custom elements dir....
Definition: qetapp.cpp:717
QET::Icons::da
QIcon da
Definition: qeticons.cpp:189
GeneralConfigurationPage::on_m_custom_tbt_path_cb_currentIndexChanged
void on_m_custom_tbt_path_cb_currentIndexChanged(int index)
Definition: generalconfigurationpage.cpp:369
qetapp.h
QET::Icons::hr
QIcon hr
Definition: qeticons.cpp:194
QET::Icons::ar
QIcon ar
Definition: qeticons.cpp:184
QET::Icons::cs
QIcon cs
Definition: qeticons.cpp:187
QET::Icons::ru
QIcon ru
Definition: qeticons.cpp:201
generalconfigurationpage.h
configpage.h
QET::Icons::hu
QIcon hu
Definition: qeticons.cpp:195
qeticons.h
GeneralConfigurationPage::on_m_custom_elmt_path_cb_currentIndexChanged
void on_m_custom_elmt_path_cb_currentIndexChanged(int index)
Definition: generalconfigurationpage.cpp:355
GeneralConfigurationPage::applyConf
virtual void applyConf() override
GeneralConfigurationPage::applyConf Write all configuration in settings file.
Definition: generalconfigurationpage.cpp:137
GeneralConfigurationPage::GeneralConfigurationPage
GeneralConfigurationPage(QWidget *parent=nullptr)
GeneralConfigurationPage::GeneralConfigurationPage.
Definition: generalconfigurationpage.cpp:31
QET::Icons::de
QIcon de
Definition: qeticons.cpp:188
ConfigPage
Definition: configpage.h:27
QET::Icons::translation
QIcon translation
Definition: qeticons.cpp:207
GeneralConfigurationPage::~GeneralConfigurationPage
~GeneralConfigurationPage() override
Definition: generalconfigurationpage.cpp:128
QET::Icons::es
QIcon es
Definition: qeticons.cpp:192
QET::Icons::fr
QIcon fr
Definition: qeticons.cpp:193
QET::Icons::it
QIcon it
Definition: qeticons.cpp:196
QETApp::instance
static QETApp * instance()
QETApp::instance.
Definition: qetapp.cpp:153
Ui
Definition: autonumberingdockwidget.h:25
QET::Icons::ro
QIcon ro
Definition: qeticons.cpp:200
QET::Icons::sl
QIcon sl
Definition: qeticons.cpp:202
QET::Icons::Settings
QIcon Settings
Definition: qeticons.cpp:159
GeneralConfigurationPage
Definition: generalconfigurationpage.h:29
QET::Icons::be
QIcon be
Definition: qeticons.cpp:205
QET::Icons::no
QIcon no
Definition: qeticons.cpp:204
QETApp::useSystemPalette
void useSystemPalette(bool)
QETApp::useSystemPalette Change the application palette.
Definition: qetapp.cpp:1451
GeneralConfigurationPage::title
virtual QString title() const override
GeneralConfigurationPage::title.
Definition: generalconfigurationpage.cpp:237
QET::Icons::br
QIcon br
Definition: qeticons.cpp:185
QET::Icons::tr
QIcon tr
Definition: qeticons.cpp:206
QET::Icons::catalonia
QIcon catalonia
Definition: qeticons.cpp:186