21 lines
399 B
Python
21 lines
399 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
#
|
||
|
# Copyright © 2014-2015 Colin Duquesnoy
|
||
|
#
|
||
|
# Licensed under the terms of the MIT License
|
||
|
# (see LICENSE.txt for details)
|
||
|
|
||
|
"""
|
||
|
Provides QtDesigner classes and functions.
|
||
|
"""
|
||
|
|
||
|
from . import PYQT5, PYQT4, PythonQtError
|
||
|
|
||
|
|
||
|
if PYQT5:
|
||
|
from PyQt5.QtDesigner import *
|
||
|
elif PYQT4:
|
||
|
from PyQt4.QtDesigner import *
|
||
|
else:
|
||
|
raise PythonQtError('No Qt bindings could be found')
|