mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-01 17:30:52 +01:00
Diagram editor, add two news feature:
1- QET create a backup file, use to restor the project when a crash occur 2- User can enable and edit autosave. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5374 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
51
sources/ui/configpage/generalconfigurationpage.h
Normal file
51
sources/ui/configpage/generalconfigurationpage.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
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();
|
||||
void on_m_folio_list_pb_clicked();
|
||||
|
||||
private:
|
||||
void fillLang();
|
||||
|
||||
private:
|
||||
Ui::GeneralConfigurationPage *ui;
|
||||
};
|
||||
|
||||
#endif // GENERALCONFIGURATIONPAGE_H
|
||||
Reference in New Issue
Block a user