File: QtDesigner.py

package info (click to toggle)
git-cola 3.12.0-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 5,228 kB
  • sloc: python: 30,007; makefile: 377; sh: 310; tcl: 62; xml: 32
file content (20 lines) | stat: -rw-r--r-- 399 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- 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')