Add Add Gem Repo Dialog

Signed-off-by: nggieber <nggieber@amazon.com>
This commit is contained in:
nggieber
2021-09-27 07:12:10 -07:00
parent e76ed67e95
commit 536ef46e2b
8 changed files with 137 additions and 8 deletions
@@ -10,15 +10,30 @@
#if !defined(Q_MOC_RUN)
#include <QDialog.h>
#include <QDialogButtonBox>
#endif
namespace O3DE::ProjectManager
{
QT_FORWARD_DECLARE_CLASS(FormLineEditWidget)
class GemRepoAddDialog
: public QDialog
{
public:
explicit GemRepoAddDialog(QWidget* parent = nullptr);
~GemRepoAddDialog() = default;
QDialogButtonBox::ButtonRole GetButtonResult();
QString GetRepoPath();
private:
void CancelButtonPressed();
void ContinueButtonPressed();
FormLineEditWidget* m_repoPath = nullptr;
QDialogButtonBox::ButtonRole m_buttonResult = QDialogButtonBox::RejectRole;
};
} // namespace O3DE::ProjectManager