mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-12 11:55:44 -05:00
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
32 lines
565 B
C++
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
|