GoToButton.h 707 B

12345678910111213141516171819202122232425262728293031323334
  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 <QWidget>
  11. #include <QScopedPointer>
  12. #endif
  13. namespace Ui
  14. {
  15. class GoToButton;
  16. }
  17. namespace AssetProcessor
  18. {
  19. class GoToButton
  20. : public QWidget
  21. {
  22. Q_OBJECT
  23. public:
  24. explicit GoToButton(QWidget* parent = nullptr);
  25. ~GoToButton() override;
  26. bool eventFilter(QObject* watched, QEvent* event) Q_DECL_OVERRIDE;
  27. QScopedPointer<Ui::GoToButton> m_ui;
  28. };
  29. } // namespace AssetProcessor