toolbar: fix the default values
[git-cola.git] / qtpy / QtXmlPatterns.py
blobb41e13df7f2442eda6f2faf33615c8cc8717c355
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 QtXmlPatterns classes and functions."""
10 # Local imports
11 from . import PYQT4, PYSIDE2, PYQT5, PYSIDE, PythonQtError
13 if PYQT5:
14 from PyQt5.QtXmlPatterns import *
15 elif PYSIDE2:
16 from PySide2.QtXmlPatterns import *
17 elif PYQT4:
18 from PyQt4.QtXmlPatterns import *
19 elif PYSIDE:
20 from PySide.QtXmlPatterns import *
21 else:
22 raise PythonQtError('No Qt bindings could be found')