2019-03-21 23:50:50 +00:00
|
|
|
#ifndef NEWTILESETDIALOG_H
|
|
|
|
#define NEWTILESETDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "project.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class NewTilesetDialog;
|
|
|
|
}
|
|
|
|
|
2021-02-18 00:20:14 +00:00
|
|
|
class NewTilesetDialog : public QDialog {
|
2019-03-21 23:50:50 +00:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2021-02-18 00:20:14 +00:00
|
|
|
explicit NewTilesetDialog(Project* project, QWidget* parent = nullptr);
|
2019-03-21 23:50:50 +00:00
|
|
|
~NewTilesetDialog();
|
|
|
|
QString path;
|
|
|
|
QString fullSymbolName;
|
|
|
|
QString friendlyName;
|
|
|
|
bool isSecondary;
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void NameOrSecondaryChanged();
|
|
|
|
void SecondaryChanged();
|
|
|
|
|
|
|
|
private:
|
2021-02-18 00:20:14 +00:00
|
|
|
Ui::NewTilesetDialog* ui;
|
|
|
|
Project* project = nullptr;
|
2019-03-21 23:50:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // NEWTILESETDIALOG_H
|