Update Update Project Settings UI to show advanced settings and move project preview to right side panel

Signed-off-by: nggieber <52797929+AMZN-nggieber@users.noreply.github.com>
This commit is contained in:
nggieber
2021-12-09 14:56:50 -08:00
parent c632fadb8f
commit 5641bcd5f1
4 changed files with 85 additions and 13 deletions
@@ -12,6 +12,7 @@
#endif
QT_FORWARD_DECLARE_CLASS(QLabel)
QT_FORWARD_DECLARE_CLASS(QPushButton)
namespace O3DE::ProjectManager
{
@@ -39,11 +40,17 @@ namespace O3DE::ProjectManager
bool ValidateProjectPath() override;
virtual bool ValidateProjectPreview();
bool ValidateProjectId();
void UpdateAdvancedSettingsCollapseState();
inline constexpr static int s_collapseButtonSize = 24;
FormBrowseEditWidget* m_projectPreview;
QLabel* m_projectPreviewImage;
FormLineEditWidget* m_projectId;
QPushButton* m_advancedSettingsCollapseButton = nullptr;
QWidget* m_advancedSettingWidget = nullptr;
ProjectInfo m_projectInfo;
bool m_userChangedPreview; //! Did the user change the project preview path
};