setup.cfg: specify docs directly instead of going through a symlink
[git-cola.git] / qtpy / QtDesigner.py
blob4aaafc815a6de2720ec62a561a1671dc92b6bda7
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 . 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')