Files
o3de/Code/Editor/Dialogs/PythonScriptsDialog.h
T
Steve Pham b4a2edec6a Final update copyright headers to reference license files at the repo root (#1693)
* Final update copyright headers to reference license files at the repo root

Signed-off-by: spham <spham@amazon.com>

* Fix copyright validator unit tests to support the stale O3DE header scenario

Signed-off-by: spham <spham@amazon.com>
2021-06-30 19:51:55 -07:00

55 lines
1.2 KiB
C++

/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#ifndef CRYINCLUDE_EDITOR_DIALOGS_PYTHONSCRIPTSDIALOG_H
#define CRYINCLUDE_EDITOR_DIALOGS_PYTHONSCRIPTSDIALOG_H
#pragma once
#if !defined(Q_MOC_RUN)
#include <QWidget>
#include <QScopedPointer>
#endif
namespace Ui {
class CPythonScriptsDialog;
}
class CPythonScriptsDialog
: public QWidget
{
Q_OBJECT
public:
explicit CPythonScriptsDialog(QWidget* parent = nullptr);
~CPythonScriptsDialog();
static const GUID& GetClassID()
{
// {C61C9C4C-CFED-47C4-8FE1-79069D0284E1}
static const GUID guid = {
0xc61c9c4c, 0xcfed, 0x47c4, { 0x8f, 0xe1, 0x79, 0x6, 0x9d, 0x2, 0x84, 0xe1 }
};
return guid;
}
static void RegisterViewClass();
private slots:
void OnExecute();
protected:
void ScanFolderForScripts(QString path, QStringList& scriptFolders) const;
private:
QScopedPointer<Ui::CPythonScriptsDialog> ui;
};
#endif // CRYINCLUDE_EDITOR_DIALOGS_PYTHONSCRIPTSDIALOG_H