1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/mapeditor/mapsettings/eventsettings.h
2023-09-09 11:03:19 +02:00

40 lines
717 B
C++

/*
* eventsettings.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
*
*/
#pragma once
#include "abstractsettings.h"
namespace Ui {
class EventSettings;
}
class EventSettings : public AbstractSettings
{
Q_OBJECT
public:
explicit EventSettings(QWidget *parent = nullptr);
~EventSettings();
void initialize(const CMap & map) override;
void update(CMap & map) override;
private slots:
void on_timedEventAdd_clicked();
void on_timedEventRemove_clicked();
void on_eventsList_itemActivated(QListWidgetItem *item);
private:
Ui::EventSettings *ui;
};