Files
porymap/include/ui/prefabcreationdialog.h
GriffinR 80b35d6ade
Some checks failed
Build Porymap / build-linux (, 5.14.2) (push) Has been cancelled
Build Porymap / build-linux (, 6.8.*) (push) Has been cancelled
Build Porymap / build-linux (minimal, 5.14.2) (push) Has been cancelled
Build Porymap / build-macos (macos-15-intel) (push) Has been cancelled
Build Porymap / build-macos (macos-latest) (push) Has been cancelled
Build Porymap / build-static-windows (push) Has been cancelled
Disallow empty prefabs
2026-05-15 22:24:59 -04:00

32 lines
565 B
C++

#ifndef PREFABCREATIONDIALOG_H
#define PREFABCREATIONDIALOG_H
#include "metatileselector.h"
#include <QDialog>
class Layout;
namespace Ui {
class PrefabCreationDialog;
}
class PrefabCreationDialog : public QDialog
{
Q_OBJECT
public:
explicit PrefabCreationDialog(QWidget *parent, MetatileSelector *metatileSelector, Layout *layout);
~PrefabCreationDialog();
void savePrefab();
private:
Layout *layout = nullptr;
Ui::PrefabCreationDialog *ui;
MetatileSelection selection;
void validate();
};
#endif // PREFABCREATIONDIALOG_H