1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
Files
vcmi/mapeditor/PlayerSettingsDialog.h

41 lines
736 B
C++
Raw Normal View History

2022-10-13 01:51:55 +04:00
/*
* playersettings.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
*
*/
2022-09-25 00:55:05 +04:00
#pragma once
2022-09-18 03:23:17 +04:00
#include <QDialog>
#include "playerparams.h"
namespace Ui {
2025-06-03 12:02:22 +02:00
class PlayerSettingsDialog;
2022-09-18 03:23:17 +04:00
}
2025-06-03 12:02:22 +02:00
class PlayerSettingsDialog : public QDialog
2022-09-18 03:23:17 +04:00
{
Q_OBJECT
public:
2025-06-03 12:02:22 +02:00
explicit PlayerSettingsDialog(MapController & controller, QWidget *parent = nullptr);
~PlayerSettingsDialog();
2022-09-18 03:23:17 +04:00
private slots:
void on_playersCount_currentIndexChanged(int index);
void on_pushButton_clicked();
private:
2025-06-03 12:02:22 +02:00
Ui::PlayerSettingsDialog *ui;
2022-09-18 03:23:17 +04:00
std::vector<PlayerParams*> paramWidgets;
MapController & controller;
};