/* * 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_TRACKVIEWNEWSEQUENCEDIALOG_H #define CRYINCLUDE_EDITOR_TRACKVIEWNEWSEQUENCEDIALOG_H #pragma once #if !defined(Q_MOC_RUN) #include #include #endif namespace Ui { class CTVNewSequenceDialog; } class CTVNewSequenceDialog : public QDialog { Q_OBJECT public: CTVNewSequenceDialog(QWidget* pParent = 0); virtual ~CTVNewSequenceDialog(); const QString& GetSequenceName() const { return m_sequenceName; }; SequenceType GetSequenceType() const { return m_sequenceType; }; void showEvent(QShowEvent* event) override; protected: virtual void OnOK(); void OnInitDialog(); private: QString m_sequenceName; SequenceType m_sequenceType; QScopedPointer ui; bool m_inputFocusSet; }; #endif // CRYINCLUDE_EDITOR_TRACKVIEWNEWSEQUENCEDIALOG_H