diff: rename newfile_line() to current_line()
[git-cola.git] / qtpy / QtOpenGL.py
blobef62171a328ca850ff8a2d7f1d1438446de6062b
1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
8 """Provides QtOpenGL classes and functions."""
10 # Local imports
11 from . import PYQT4, PYQT5, PYSIDE, PythonQtError
13 if PYQT5:
14 from PyQt5.QtOpenGL import *
15 elif PYQT4:
16 from PyQt4.QtOpenGL import *
17 elif PYSIDE:
18 from PySide.QtOpenGL import *
19 else:
20 raise PythonQtError('No Qt bindings could be found')
22 del PYQT4, PYQT5, PYSIDE