This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2025 Thomas Hess | |
# License: GPLv3+ | |
from PySide6.QtCore import Qt | |
ConnectionType = Qt.ConnectionType | |
def ConnectionType__or__(self: ConnectionType, other: ConnectionType): | |
if not isinstance(other, ConnectionType): | |
raise TypeError( |