ProcessingAssetsDialog.h 814 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. #pragma once
  9. #if !defined(Q_MOC_RUN)
  10. #include <QDialog>
  11. #endif
  12. namespace Ui {
  13. class ProcessingAssetsDialog;
  14. }
  15. class ProcessingAssetsDialog
  16. : public QDialog
  17. {
  18. Q_OBJECT
  19. public:
  20. ProcessingAssetsDialog(int numberOfProcessedFiles, QWidget* parent = nullptr);
  21. ~ProcessingAssetsDialog();
  22. void InitializeButtons();
  23. Q_SIGNALS:
  24. void CloseProcessingAssetsDialog();
  25. void OpenLogDialog();
  26. public Q_SLOTS:
  27. void accept();
  28. void reject();
  29. private:
  30. void UpdateTextsAndTitle(int numberOfProcessedFiles);
  31. QScopedPointer<Ui::ProcessingAssetsDialog> m_ui;
  32. };