diff options
Diffstat (limited to 'examples/widgets/animation')
9 files changed, 12 insertions, 12 deletions
diff --git a/examples/widgets/animation/animatedtiles/animatedtiles.py b/examples/widgets/animation/animatedtiles/animatedtiles.py index b15635185..3ec1b475b 100644 --- a/examples/widgets/animation/animatedtiles/animatedtiles.py +++ b/examples/widgets/animation/animatedtiles/animatedtiles.py @@ -40,7 +40,7 @@ ## ############################################################################# -from PySide2 import QtCore, QtGui, QtWidgets +from PySide6 import QtCore, QtGui, QtWidgets import animatedtiles_rc diff --git a/examples/widgets/animation/animatedtiles/animatedtiles_rc.py b/examples/widgets/animation/animatedtiles/animatedtiles_rc.py index d0819862d..3486fa55c 100644 --- a/examples/widgets/animation/animatedtiles/animatedtiles_rc.py +++ b/examples/widgets/animation/animatedtiles/animatedtiles_rc.py @@ -3,7 +3,7 @@ # Created by: The Resource Compiler for Qt version 5.14.0 # WARNING! All changes made in this file will be lost! -from PySide2 import QtCore +from PySide6 import QtCore qt_resource_data = b"\ \x00\x006\xe2\ diff --git a/examples/widgets/animation/appchooser/appchooser.py b/examples/widgets/animation/appchooser/appchooser.py index 74e9f1c02..55cd3c1d5 100644 --- a/examples/widgets/animation/appchooser/appchooser.py +++ b/examples/widgets/animation/appchooser/appchooser.py @@ -40,7 +40,7 @@ ## ############################################################################# -from PySide2 import QtCore, QtGui, QtWidgets +from PySide6 import QtCore, QtGui, QtWidgets import appchooser_rc diff --git a/examples/widgets/animation/appchooser/appchooser_rc.py b/examples/widgets/animation/appchooser/appchooser_rc.py index c96fe80c6..6f2a5ff36 100644 --- a/examples/widgets/animation/appchooser/appchooser_rc.py +++ b/examples/widgets/animation/appchooser/appchooser_rc.py @@ -3,7 +3,7 @@ # Created by: The Resource Compiler for Qt version 5.14.0 # WARNING! All changes made in this file will be lost! -from PySide2 import QtCore +from PySide6 import QtCore qt_resource_data = b"\ \x00\x00\x13\x09\ diff --git a/examples/widgets/animation/easing/easing.py b/examples/widgets/animation/easing/easing.py index d5c733863..647fbeb34 100644 --- a/examples/widgets/animation/easing/easing.py +++ b/examples/widgets/animation/easing/easing.py @@ -40,7 +40,7 @@ ## ############################################################################# -from PySide2 import QtCore, QtGui, QtWidgets +from PySide6 import QtCore, QtGui, QtWidgets import easing_rc from ui_form import Ui_Form @@ -83,7 +83,7 @@ class Animation(QtCore.QPropertyAnimation): else: super(Animation, self).updateCurrentTime(currentTime) -# PySide2 doesn't support deriving from more than one wrapped class so we use +# PySide6 doesn't support deriving from more than one wrapped class so we use # composition and delegate the property. class Pixmap(QtCore.QObject): def __init__(self, pix): diff --git a/examples/widgets/animation/easing/easing_rc.py b/examples/widgets/animation/easing/easing_rc.py index 26c31654b..c0f25d729 100644 --- a/examples/widgets/animation/easing/easing_rc.py +++ b/examples/widgets/animation/easing/easing_rc.py @@ -3,7 +3,7 @@ # Created by: The Resource Compiler for Qt version 5.14.0 # WARNING! All changes made in this file will be lost! -from PySide2 import QtCore +from PySide6 import QtCore qt_resource_data = b"\ \x00\x00\x14\x1d\ diff --git a/examples/widgets/animation/easing/ui_form.py b/examples/widgets/animation/easing/ui_form.py index c2279c5c5..49aaf2ff0 100644 --- a/examples/widgets/animation/easing/ui_form.py +++ b/examples/widgets/animation/easing/ui_form.py @@ -8,10 +8,10 @@ ## WARNING! All changes made in this file will be lost when recompiling UI file! ################################################################################ -from PySide2.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint, +from PySide6.QtCore import (QCoreApplication, QMetaObject, QObject, QPoint, QRect, QSize, QUrl, Qt) -from PySide2.QtGui import (QColor, QFont, QIcon, QPixmap) -from PySide2.QtWidgets import * +from PySide6.QtGui import (QColor, QFont, QIcon, QPixmap) +from PySide6.QtWidgets import * class Ui_Form(object): def setupUi(self, Form): diff --git a/examples/widgets/animation/states/states.py b/examples/widgets/animation/states/states.py index 1a859245a..363b5af6c 100644 --- a/examples/widgets/animation/states/states.py +++ b/examples/widgets/animation/states/states.py @@ -40,7 +40,7 @@ ## ############################################################################# -from PySide2 import QtCore, QtGui, QtWidgets +from PySide6 import QtCore, QtGui, QtWidgets import states_rc diff --git a/examples/widgets/animation/states/states_rc.py b/examples/widgets/animation/states/states_rc.py index fe8a05c45..9f8241f60 100644 --- a/examples/widgets/animation/states/states_rc.py +++ b/examples/widgets/animation/states/states_rc.py @@ -48,7 +48,7 @@ # # WARNING! All changes made in this file will be lost! -from PySide2 import QtCore +from PySide6 import QtCore qt_resource_data = b"\ \x00\x00\x1b\x48\ |