diff options
Diffstat (limited to 'examples/widgets/state-machine/factstates.py')
-rw-r--r-- | examples/widgets/state-machine/factstates.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/widgets/state-machine/factstates.py b/examples/widgets/state-machine/factstates.py index 64b9613ec..3608f2a49 100644 --- a/examples/widgets/state-machine/factstates.py +++ b/examples/widgets/state-machine/factstates.py @@ -2,7 +2,7 @@ ############################################################################# ## ## Copyright (C) 2010 velociraptor Genjix <aphidia@hotmail.com> -## Copyright (C) 2016 The Qt Company Ltd. +## Copyright (C) 2021 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the Qt for Python examples of the Qt Toolkit. @@ -42,6 +42,9 @@ from PySide6.QtWidgets import * from PySide6.QtCore import * +from PySide6.QtStateMachine import (QFinalState, QSignalTransition, QState, + QStateMachine) + class Factorial(QObject): xChanged = Signal(int) |