QtMultimediaWidgets.py 610 B

123456789101112131415161718
  1. # -*- coding: utf-8 -*-
  2. # -----------------------------------------------------------------------------
  3. # Copyright © 2009- The Spyder Development Team
  4. #
  5. # Licensed under the terms of the MIT License
  6. # (see LICENSE.txt for details)
  7. # -----------------------------------------------------------------------------
  8. """Provides QtMultimediaWidgets classes and functions."""
  9. # Local imports
  10. from . import PYSIDE2, PYQT5, PythonQtError
  11. if PYQT5:
  12. from PyQt5.QtMultimediaWidgets import *
  13. elif PYSIDE2:
  14. from PySide2.QtMultimediaWidgets import *
  15. else:
  16. raise PythonQtError('No Qt bindings could be found')