TrackViewDoubleSpinBox.h 612 B

12345678910111213141516171819202122232425262728
  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 <AzQtComponents/Components/Widgets/SpinBox.h>
  11. #endif
  12. class CTrackViewDoubleSpinBox
  13. : public AzQtComponents::DoubleSpinBox
  14. {
  15. Q_OBJECT
  16. public:
  17. CTrackViewDoubleSpinBox(QWidget* parent = nullptr);
  18. ~CTrackViewDoubleSpinBox() override;
  19. protected:
  20. virtual void stepBy(int steps) override;
  21. signals:
  22. void stepByFinished();
  23. };