porymap/include/ui/newmapconnectiondialog.h

33 lines
617 B
C
Raw Normal View History

2024-08-09 02:24:15 +01:00
#ifndef NEWMAPCONNECTIONDIALOG_H
#define NEWMAPCONNECTIONDIALOG_H
#include <QDialog>
#include "map.h"
#include "mapconnection.h"
namespace Ui {
class NewMapConnectionDialog;
}
class NewMapConnectionDialog : public QDialog
{
Q_OBJECT
public:
explicit NewMapConnectionDialog(QWidget *parent, Map* map, const QStringList &mapNames);
~NewMapConnectionDialog();
virtual void accept() override;
2024-08-15 03:22:54 +01:00
signals:
void accepted(MapConnection *result);
2024-08-09 02:24:15 +01:00
private:
Ui::NewMapConnectionDialog *ui;
2024-08-19 23:49:57 +01:00
bool mapNameIsValid();
void setWarningVisible(bool visible);
2024-08-09 02:24:15 +01:00
};
#endif // NEWMAPCONNECTIONDIALOG_H