You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/WPy32-3720/python-3.7.2/Lib/site-packages/winpython/qt/QtGui.py

25 lines
1016 B

# -*- coding: utf-8 -*-
#
# Copyright © 2011 Pierre Raybaut
# Licensed under the terms of the MIT License
# (copied from Spyder source code [spyderlib.qt])
#
# Qt5 migration would not have been possible without
# 2014-2015 Spyder Development Team work
# (MIT License too, same parent project)
import os
if os.environ['QT_API'] == 'pyqt5':
from PyQt5.QtCore import QSortFilterProxyModel # analysis:ignore
from PyQt5.QtPrintSupport import (QPrinter, QPrintDialog, # analysis:ignore
QAbstractPrintDialog)
from PyQt5.QtPrintSupport import QPrintPreviewDialog # analysis:ignore
from PyQt5.QtGui import * # analysis:ignore
from PyQt5.QtWidgets import * # analysis:ignore
elif os.environ['QT_API'] == 'pyqt':
from PyQt4.Qt import QKeySequence, QTextCursor # analysis:ignore
from PyQt4.QtGui import * # analysis:ignore
else:
from PySide.QtGui import * # analysis:ignore