update qt to 6.2.1

This commit is contained in:
2021-10-30 09:46:46 +02:00
parent c33fd9b2b7
commit f8483c242d
3 changed files with 26 additions and 19 deletions

10
label.py Normal file
View File

@@ -0,0 +1,10 @@
from PyQt6.QtWidgets import QLabel
from PyQt6.QtCore import Qt
class Label(QLabel):
def __init__(self, text: str):
super(Label, self).__init__(text)
self.setTextInteractionFlags(Qt.TextInteractionFlag.TextBrowserInteraction)
self.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse)
self.setOpenExternalLinks(True)