1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-12 10:03:53 +02:00
vcmi/mapeditor/mapsettings/rumorsettings.h

41 lines
711 B
C
Raw Normal View History

2023-09-08 17:54:34 +02:00
/*
* rumorsettings.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-08 17:54:34 +02:00
#include "abstractsettings.h"
namespace Ui {
class RumorSettings;
}
class RumorSettings : public AbstractSettings
{
Q_OBJECT
public:
explicit RumorSettings(QWidget *parent = nullptr);
~RumorSettings();
void initialize(const CMap & map) override;
void update(CMap & map) override;
private slots:
void on_message_textChanged();
void on_add_clicked();
void on_remove_clicked();
void on_rumors_itemSelectionChanged();
private:
Ui::RumorSettings *ui;
};