1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/mapeditor/mapsettings/generalsettings.h
2023-09-07 20:19:31 +02:00

38 lines
717 B
C++

/*
* generalsettings.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#ifndef GENERALSETTINGS_H
#define GENERALSETTINGS_H
#include "abstractsettings.h"
namespace Ui {
class GeneralSettings;
}
class GeneralSettings : public AbstractSettings
{
Q_OBJECT
public:
explicit GeneralSettings(QWidget *parent = nullptr);
~GeneralSettings();
void initialize(const CMap & map) override;
void update(CMap & map) override;
private slots:
void on_heroLevelLimitCheck_toggled(bool checked);
private:
Ui::GeneralSettings *ui;
};
#endif // GENERALSETTINGS_H