git mv Code\Sandbox\Editor Code/Editor
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#if !defined(Q_MOC_RUN)
|
||||
#include <AzQtComponents/Components/StyledLineEdit.h>
|
||||
#include <QLabel>
|
||||
#include <QDialog>
|
||||
#include <QDialogButtonBox>
|
||||
#endif
|
||||
|
||||
class StyledLineEdit;
|
||||
class QValidator;
|
||||
|
||||
class DestinationDialogValidator;
|
||||
|
||||
namespace Ui {
|
||||
class SelectDestinationDialog;
|
||||
}
|
||||
|
||||
class SelectDestinationDialog
|
||||
: public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
SelectDestinationDialog(QString message, QWidget* parent = nullptr);
|
||||
~SelectDestinationDialog();
|
||||
|
||||
Q_SIGNALS:
|
||||
void GoBack();
|
||||
void DoCopyFiles();
|
||||
void DoMoveFiles();
|
||||
void BrowseDestinationPath(QLineEdit* destinationLineEdit);
|
||||
void Cancel();
|
||||
void UpdateImportButtonState(bool enabled);
|
||||
void SetDestinationDirectory(QString destinationDirectory);
|
||||
|
||||
public Q_SLOTS:
|
||||
void accept();
|
||||
void reject();
|
||||
void ShowMessage();
|
||||
void OnBrowseDestinationFilePath();
|
||||
void ValidatePath();
|
||||
|
||||
private:
|
||||
void UpdateMessage(QString message);
|
||||
void InitializeButtons();
|
||||
void SetPreviousDestinationDirectory();
|
||||
QString DestinationDirectory() const;
|
||||
|
||||
QScopedPointer<Ui::SelectDestinationDialog> m_ui;
|
||||
DestinationDialogValidator* m_validator;
|
||||
};
|
||||
Reference in New Issue
Block a user