toolbar: fix the default values
[git-cola.git] / qtpy / QtQml.py
blob117f977f2b1e71df43d3aeb19f67116c2f949785
1 # -*- coding: utf-8 -*-
2 # -----------------------------------------------------------------------------
3 # Copyright © 2009- The Spyder Development Team
5 # Licensed under the terms of the MIT License
6 # (see LICENSE.txt for details)
7 # -----------------------------------------------------------------------------
8 """Provides QtQml classes and functions."""
10 # Local imports
11 from . import PYQT5, PYSIDE2, PythonQtError
13 if PYQT5:
14 from PyQt5.QtQml import *
15 elif PYSIDE2:
16 from PySide2.QtQml import *
17 else:
18 raise PythonQtError('No Qt bindings could be found')