move files into a package structure
This commit is contained in:
11
raven/ui/label.py
Normal file
11
raven/ui/label.py
Normal 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)
|
||||
Reference in New Issue
Block a user