New level dialog has no way to select a different folder

This commit is contained in:
sphrose
2021-06-21 10:02:10 +01:00
parent 124cc1f1c1
commit a3b7cbeffc
3 changed files with 245 additions and 105 deletions
+8 -6
View File
@@ -34,6 +34,7 @@
#include <vector>
#include <QAbstractButton>
#include <QDialog>
#endif
@@ -50,28 +51,29 @@ public:
CNewLevelDialog(QWidget* pParent = nullptr); // standard constructor
~CNewLevelDialog();
QString GetLevel() const;
void IsResize(bool bIsResize);
bool ValidateLevel();
protected:
void UpdateData(bool fromUi = true);
void OnInitDialog();
void ReloadLevelFolders();
void ReloadLevelFoldersRec(const QString& currentFolder);
void ReloadLevelFolder();
void showEvent(QShowEvent* event);
QString GetLevelsFolder() const;
protected slots:
void OnCbnSelendokLevelFolders();
void OnLevelNameChange();
void OnClearButtonClicked();
void PopupAssetPicker();
void OnStartup();
public:
QString m_level;
QString m_levelFolders;
int m_ilevelFolders;
bool m_bIsResize;
bool m_bUpdate;