TVEventsDialog.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_TRACKVIEW_TVEVENTSDIALOG_H
  9. #define CRYINCLUDE_EDITOR_TRACKVIEW_TVEVENTSDIALOG_H
  10. #pragma once
  11. #if !defined(Q_MOC_RUN)
  12. #include <IMovieSystem.h>
  13. #include <QDialog>
  14. #endif
  15. namespace Ui
  16. {
  17. class TVEventsDialog;
  18. }
  19. // CTVEventsDialog dialog
  20. class CTVEventsDialog
  21. : public QDialog
  22. {
  23. Q_OBJECT
  24. public:
  25. CTVEventsDialog(QWidget* pParent = nullptr); // standard constructor
  26. virtual ~CTVEventsDialog();
  27. void OnBnClickedButtonAddEvent();
  28. void OnBnClickedButtonRemoveEvent();
  29. void OnBnClickedButtonRenameEvent();
  30. void OnBnClickedButtonUpEvent();
  31. void OnBnClickedButtonDownEvent();
  32. void OnListItemChanged();
  33. const QString& GetLastAddedEvent();
  34. protected:
  35. void OnInitDialog();
  36. void UpdateButtons();
  37. private:
  38. QScopedPointer<Ui::TVEventsDialog> m_ui;
  39. QString m_lastAddedEvent;
  40. };
  41. #endif // CRYINCLUDE_EDITOR_TRACKVIEW_TVEVENTSDIALOG_H