1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# -----------------------------------------------------------------------------
# Copyright © 2009- The Spyder Development Team
#
# Licensed under the terms of the MIT License
# (see LICENSE.txt for details)
# -----------------------------------------------------------------------------
"""Provides QtScxml classes and functions."""
from . import (
PYQT5,
PYQT6,
PYSIDE2,
PYSIDE6,
QtBindingMissingModuleError,
)
if PYQT5 or PYQT6:
raise QtBindingMissingModuleError(name="QtScxml")
elif PYSIDE2:
from PySide2.QtScxml import *
elif PYSIDE6:
from PySide6.QtScxml import *
|