2018-05-24 18:08:06 +00:00
|
|
|
/*
|
|
|
|
Copyright 2006-2018 The QElectroTech Team
|
|
|
|
This file is part of QElectroTech.
|
|
|
|
|
|
|
|
QElectroTech is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 2 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
QElectroTech is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
#ifndef GENERALCONFIGURATIONPAGE_H
|
|
|
|
#define GENERALCONFIGURATIONPAGE_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "configpage.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class GeneralConfigurationPage;
|
|
|
|
}
|
|
|
|
|
|
|
|
class GeneralConfigurationPage : public ConfigPage
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit GeneralConfigurationPage(QWidget *parent = 0);
|
|
|
|
~GeneralConfigurationPage();
|
|
|
|
|
|
|
|
virtual void applyConf() override;
|
|
|
|
virtual QString title() const override;
|
|
|
|
virtual QIcon icon() const override;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_m_font_pb_clicked();
|
2018-10-26 23:42:49 +00:00
|
|
|
void on_m_dynamic_font_pb_clicked();
|
2018-05-24 18:08:06 +00:00
|
|
|
void on_m_folio_list_pb_clicked();
|
2018-07-25 17:34:50 +00:00
|
|
|
void on_m_common_elmt_path_cb_currentIndexChanged(int index);
|
|
|
|
void on_m_custom_elmt_path_cb_currentIndexChanged(int index);
|
2018-11-25 09:55:11 +00:00
|
|
|
void on_m_custom_tbt_path_cb_currentIndexChanged(int index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-24 18:08:06 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void fillLang();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::GeneralConfigurationPage *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // GENERALCONFIGURATIONPAGE_H
|