git-cola v2.7
[git-cola.git] / extras / qtpy / qtpy / QtDesigner.py
blob8b2ddedba06d6cc5bc25a7248e8bf098b2eb4625
1 # -*- coding: utf-8 -*-
3 # Copyright © 2014-2015 Colin Duquesnoy
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
8 """
9 Provides QtDesigner classes and functions.
10 """
12 from qtpy import PYQT5, PYQT4, PythonQtError
15 if PYQT5:
16 from PyQt5.QtDesigner import *
17 elif PYQT4:
18 from PyQt4.QtDesigner import *
19 else:
20 raise PythonQtError('No Qt bindings could be found')