TrackViewExportKeyTimeDlg.cpp 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. #include "EditorDefs.h"
  9. #include "TrackViewExportKeyTimeDlg.h"
  10. #include <ui_TrackViewExportKeyTimeDlg.h>
  11. //////////////////////////////////////////////////////////////////////////
  12. CTrackViewExportKeyTimeDlg::CTrackViewExportKeyTimeDlg(QWidget* parent)
  13. : QDialog(parent)
  14. , m_ui(new Ui::TrackViewExportKeyTimeDlg)
  15. {
  16. m_ui->setupUi(this);
  17. m_ui->m_animationTimeExport->setChecked(true);
  18. m_ui->m_soundTimeExport->setChecked(true);
  19. }
  20. CTrackViewExportKeyTimeDlg::~CTrackViewExportKeyTimeDlg()
  21. {
  22. }
  23. bool CTrackViewExportKeyTimeDlg::IsAnimationExportChecked() const
  24. {
  25. return m_ui->m_animationTimeExport->isChecked();
  26. }
  27. bool CTrackViewExportKeyTimeDlg::IsSoundExportChecked() const
  28. {
  29. return m_ui->m_soundTimeExport->isChecked();
  30. }
  31. #include <moc_TrackViewExportKeyTimeDlg.cpp>