gitcfg: add a get_author() function
[git-cola.git] / qtpy / QtDesigner.py
blob969d8480b1b6aa448f131f0f7fbcad6b089adf40
1 # -----------------------------------------------------------------------------
2 # Copyright © 2014-2015 Colin Duquesnoy
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtDesigner classes and functions."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5:
19 from PyQt5.QtDesigner import *
20 elif PYQT6:
21 from PyQt6.QtDesigner import *
22 elif PYSIDE2:
23 raise QtBindingMissingModuleError(name='QtDesigner')
24 elif PYSIDE6:
25 from PySide6.QtDesigner import *