15 lines
415 B
Python
15 lines
415 B
Python
from raven.plugins.ravenlog.Tab import Tab
|
|
from PySide6.QtWidgets import QTextEdit, QVBoxLayout
|
|
|
|
|
|
class NotesWidget(Tab):
|
|
|
|
def __init__(self, unique_id: str, title: str):
|
|
super(NotesWidget, self).__init__(unique_id, title)
|
|
|
|
self.text_area = QTextEdit(self)
|
|
|
|
self.layout = QVBoxLayout(self)
|
|
self.layout.setContentsMargins(0, 0, 0, 0)
|
|
self.layout.addWidget(self.text_area)
|