settings: use fsync / fdatasync on Linux to sync contents
[git-cola.git] / qtpy / QtUiTools.py
blobceca1efa5d99ab4bef250b0847599e49f89b3078
1 # -----------------------------------------------------------------------------
2 # Copyright © 2009- The Spyder Development Team
4 # Licensed under the terms of the MIT License
5 # (see LICENSE.txt for details)
6 # -----------------------------------------------------------------------------
8 """Provides QtUiTools classes and functions."""
10 from . import (
11 PYQT5,
12 PYQT6,
13 PYSIDE2,
14 PYSIDE6,
15 QtBindingMissingModuleError,
18 if PYQT5 or PYQT6:
19 raise QtBindingMissingModuleError(name="QtUiTools")
20 elif PYSIDE2:
21 from PySide2.QtUiTools import *
22 elif PYSIDE6:
23 from PySide6.QtUiTools import *