1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-11 14:49:23 +02:00
vcmi/mapeditor/playersettings.h

35 lines
560 B
C
Raw Normal View History

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