1 # -*- coding: utf-8 -*-
3 # Copyright © 2014-2015 Colin Duquesnoy
4 # Copyright © 2009- The Spyder Development Team
6 # Licensed under the terms of the MIT License
7 # (see LICENSE.txt for details)
10 Provides QtCore classes and functions.
13 from qtpy
import PYQT5
, PYQT4
, PYSIDE
, PythonQtError
17 from PyQt5
.QtCore
import *
18 from PyQt5
.QtCore
import pyqtSignal
as Signal
19 from PyQt5
.QtCore
import pyqtSlot
as Slot
20 from PyQt5
.QtCore
import pyqtProperty
as Property
21 from PyQt5
.QtCore
import QT_VERSION_STR
as __version__
23 from PyQt4
.QtCore
import *
24 from PyQt4
.QtCore
import QCoreApplication
25 from PyQt4
.QtCore
import Qt
26 from PyQt4
.QtCore
import pyqtSignal
as Signal
27 from PyQt4
.QtCore
import pyqtSlot
as Slot
28 from PyQt4
.QtCore
import pyqtProperty
as Property
29 from PyQt4
.QtGui
import (QItemSelection
, QItemSelectionModel
,
30 QItemSelectionRange
, QSortFilterProxyModel
)
31 from PyQt4
.QtCore
import QT_VERSION_STR
as __version__
33 from PySide
.QtCore
import *
34 from PySide
.QtGui
import (QItemSelection
, QItemSelectionModel
,
35 QItemSelectionRange
, QSortFilterProxyModel
)
37 __version__
= PySide
.QtCore
.__version
__
39 raise PythonQtError('No Qt bindings could be found')