fetch: add ability to fetch into a remote tracking branch
[git-cola.git] / qtpy / QtOpenGLWidgets.py
blobc000e0fd17b87ad4f84653d8861d32d01822de24
1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtOpenGLWidgets classes and functions."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5:
19 raise QtBindingMissingModuleError(name="QtOpenGLWidgets")
20 elif PYQT6:
21 from PyQt6.QtOpenGLWidgets import *
22 elif PYSIDE2:
23 raise QtBindingMissingModuleError(name="QtOpenGLWidgets")
24 elif PYSIDE6:
25 from PySide6.QtOpenGLWidgets import *