mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-11 03:15:46 -05:00
Add path override editor
This commit is contained in:
@@ -227,6 +227,7 @@ public:
|
||||
this->filePaths.clear();
|
||||
this->readKeys.clear();
|
||||
}
|
||||
static const QMap<ProjectFilePath, std::pair<QString, QString>> defaultPaths;
|
||||
static const QStringList versionStrings;
|
||||
void reset(BaseGameVersion baseGameVersion);
|
||||
void setBaseGameVersion(BaseGameVersion baseGameVersion);
|
||||
@@ -271,8 +272,10 @@ public:
|
||||
QString getDefaultSecondaryTileset();
|
||||
void setDefaultPrimaryTileset(QString tilesetName);
|
||||
void setDefaultSecondaryTileset(QString tilesetName);
|
||||
void setFilePath(QString pathId, QString path);
|
||||
void setFilePath(ProjectFilePath pathId, QString path);
|
||||
QString getFilePath(ProjectFilePath pathId);
|
||||
QString getFilePath(QString defaultPath, bool allowDefault = true);
|
||||
QString getFilePath(ProjectFilePath pathId, bool allowDefault = true);
|
||||
void setPrefabFilepath(QString filepath);
|
||||
QString getPrefabFilepath();
|
||||
void setPrefabImportPrompted(bool prompted);
|
||||
|
||||
@@ -201,7 +201,7 @@ private slots:
|
||||
void on_spinBox_FloorNumber_valueChanged(int offset);
|
||||
void on_actionMonitor_Project_Files_triggered(bool checked);
|
||||
void on_actionOpen_Recent_Project_On_Launch_triggered(bool checked);
|
||||
void on_actionEdit_Shortcuts_triggered();
|
||||
void on_actionShortcuts_triggered();
|
||||
|
||||
void on_actionZoom_In_triggered();
|
||||
void on_actionZoom_Out_triggered();
|
||||
@@ -284,9 +284,9 @@ private slots:
|
||||
void on_pushButton_CreatePrefab_clicked();
|
||||
|
||||
void on_actionRegion_Map_Editor_triggered();
|
||||
void on_actionEdit_Preferences_triggered();
|
||||
void on_actionPreferences_triggered();
|
||||
void togglePreferenceSpecificUi();
|
||||
void on_actionEdit_Project_Settings_triggered();
|
||||
void on_actionProject_Settings_triggered();
|
||||
void on_actionCustom_Scripts_triggered();
|
||||
void reloadScriptEngine();
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@ private:
|
||||
bool promptSaveChanges();
|
||||
bool promptRestoreDefaults();
|
||||
|
||||
void createProjectPathsTable();
|
||||
|
||||
private slots:
|
||||
void dialogButtonClicked(QAbstractButton *button);
|
||||
void choosePrefabsFileClicked(bool);
|
||||
|
||||
Reference in New Issue
Block a user