EditSeedDialog.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 <AzFramework/Platform/PlatformDefaults.h>
  11. #include <AzToolsFramework/Asset/AssetSeedManager.h>
  12. #include <QDialog>
  13. #include <QSharedPointer>
  14. #endif
  15. namespace Ui
  16. {
  17. class EditSeedDialog;
  18. }
  19. namespace AssetBundler
  20. {
  21. class EditSeedDialog
  22. : public QDialog
  23. {
  24. Q_OBJECT
  25. public:
  26. explicit EditSeedDialog(
  27. QWidget* parent,
  28. const AzFramework::PlatformFlags& enabledPlatforms,
  29. const AzFramework::PlatformFlags& selectedPlatforms,
  30. const AzFramework::PlatformFlags& partiallySelectedPlatforms = AzFramework::PlatformFlags::Platform_NONE);
  31. virtual ~EditSeedDialog() {}
  32. AzFramework::PlatformFlags GetPlatformFlags();
  33. AzFramework::PlatformFlags GetPartiallySelectedPlatformFlags();
  34. private:
  35. void OnPlatformSelectionChanged(
  36. const AzFramework::PlatformFlags& selectedPlatforms,
  37. const AzFramework::PlatformFlags& partiallySelectedPlatforms);
  38. QSharedPointer<Ui::EditSeedDialog> m_ui;
  39. };
  40. } // namespace AssetBundler