TrackViewNewSequenceDialog.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #ifndef CRYINCLUDE_EDITOR_TRACKVIEWNEWSEQUENCEDIALOG_H
  9. #define CRYINCLUDE_EDITOR_TRACKVIEWNEWSEQUENCEDIALOG_H
  10. #pragma once
  11. #if !defined(Q_MOC_RUN)
  12. #include <QScopedPointer>
  13. #include <QDialog>
  14. #endif
  15. namespace Ui {
  16. class CTVNewSequenceDialog;
  17. }
  18. class CTVNewSequenceDialog
  19. : public QDialog
  20. {
  21. Q_OBJECT
  22. public:
  23. CTVNewSequenceDialog(QWidget* pParent = 0);
  24. virtual ~CTVNewSequenceDialog();
  25. const QString& GetSequenceName() const { return m_sequenceName; };
  26. SequenceType GetSequenceType() const { return m_sequenceType; };
  27. void showEvent(QShowEvent* event) override;
  28. protected:
  29. virtual void OnOK();
  30. void OnInitDialog();
  31. private:
  32. QString m_sequenceName;
  33. SequenceType m_sequenceType;
  34. QScopedPointer<Ui::CTVNewSequenceDialog> ui;
  35. bool m_inputFocusSet;
  36. };
  37. #endif // CRYINCLUDE_EDITOR_TRACKVIEWNEWSEQUENCEDIALOG_H