1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/mapeditor/mapsettings/modsettings.h

42 lines
790 B
C++
Raw Normal View History

2023-09-08 01:43:01 +02:00
/*
* modsettings.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
*
*/
2023-09-09 11:03:19 +02:00
#pragma once
2023-09-05 01:26:38 +02:00
#include "abstractsettings.h"
namespace Ui {
class ModSettings;
}
class ModSettings : public AbstractSettings
{
Q_OBJECT
public:
explicit ModSettings(QWidget *parent = nullptr);
~ModSettings();
void initialize(MapController & map) override;
void update() override;
2023-09-05 01:26:38 +02:00
private slots:
void on_modResolution_map_clicked();
void on_modResolution_full_clicked();
void on_treeMods_itemChanged(QTreeWidgetItem *item, int column);
private:
void updateModWidgetBasedOnMods(const ModCompatibilityInfo & mods);
private:
Ui::ModSettings *ui;
};