1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
vcmi/mapeditor/playersettings.h

35 lines
560 B
C
Raw Normal View History

2022-09-04 18:16:36 +02:00
#ifndef PLAYERSETTINGS_H
#define PLAYERSETTINGS_H
2022-09-04 20:01:49 +02:00
#include "StdInc.h"
2022-09-04 18:16:36 +02:00
#include <QDialog>
2022-09-04 20:01:49 +02:00
#include "playerparams.h"
2022-09-04 18:16:36 +02:00
namespace Ui {
class PlayerSettings;
}
class PlayerSettings : public QDialog
{
Q_OBJECT
public:
explicit PlayerSettings(MapController & controller, QWidget *parent = nullptr);
2022-09-04 18:16:36 +02:00
~PlayerSettings();
2022-09-04 20:01:49 +02:00
private slots:
void on_playersCount_currentIndexChanged(int index);
2022-09-04 20:29:56 +02:00
void on_pushButton_clicked();
2022-09-04 18:16:36 +02:00
private:
Ui::PlayerSettings *ui;
2022-09-04 20:01:49 +02:00
std::vector<PlayerParams*> paramWidgets;
MapController & controller;
2022-09-04 18:16:36 +02:00
};
#endif // PLAYERSETTINGS_H