diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:11:52 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-02 16:12:04 +0000 |
commit | 25180730194bec25f915f32ab846ea583fb1493f (patch) | |
tree | 9a73e0336ecf21e085d99d6a651c5547b9eb99f8 /examples/charts/callout.py | |
parent | 6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (diff) |
Rename PySide2 to PySide6
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I845f7b006e9ad274fed5444ec4c1f9dbe176ff88
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/charts/callout.py')
-rw-r--r-- | examples/charts/callout.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/charts/callout.py b/examples/charts/callout.py index 54e8eaf24..666b2aae5 100644 --- a/examples/charts/callout.py +++ b/examples/charts/callout.py @@ -39,14 +39,14 @@ ## ############################################################################# -"""PySide2 port of the Callout example from Qt v5.x""" +"""PySide6 port of the Callout example from Qt v5.x""" import sys -from PySide2.QtWidgets import (QApplication, QGraphicsScene, +from PySide6.QtWidgets import (QApplication, QGraphicsScene, QGraphicsView, QGraphicsSimpleTextItem, QGraphicsItem) -from PySide2.QtCore import Qt, QPointF, QRectF, QRect -from PySide2.QtCharts import QtCharts -from PySide2.QtGui import QPainter, QFont, QFontMetrics, QPainterPath, QColor +from PySide6.QtCore import Qt, QPointF, QRectF, QRect +from PySide6.QtCharts import QtCharts +from PySide6.QtGui import QPainter, QFont, QFontMetrics, QPainterPath, QColor class Callout(QGraphicsItem): |