resources: search for commands sibling to the running script
[git-cola.git] / qtpy / QtDesigner.py
blobacf61d57776a206a73c6de141843bb1708aea5d7
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 *