switch from PyQt6 to PySide6

PySide6 uses LGPL instead of GPL, which is much nicer to work with.
This commit is contained in:
2022-01-30 10:50:31 +01:00
parent f33c8b0da5
commit f0555df0a9
30 changed files with 83 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
from PyQt6.QtWidgets import QLabel
from PyQt6.QtCore import Qt
from PySide6.QtWidgets import QLabel
from PySide6.QtCore import Qt
class Label(QLabel):
@@ -7,4 +7,5 @@ class Label(QLabel):
super(Label, self).__init__(text)
self.setTextInteractionFlags(Qt.TextInteractionFlag.TextBrowserInteraction)
self.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse)
self.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
self.setOpenExternalLinks(True)