move files into a package structure

This commit is contained in:
2022-02-06 16:16:31 +01:00
parent b45a952213
commit 1e3782aaa4
23 changed files with 32 additions and 31 deletions

11
raven/ui/label.py Normal file
View File

@@ -0,0 +1,11 @@
from PySide6.QtWidgets import QLabel
from PySide6.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.setTextInteractionFlags(Qt.TextInteractionFlag.TextSelectableByMouse)
self.setOpenExternalLinks(True)