Files
krowlog/raven/plugins/notes/noteswidget.py
2022-01-29 18:53:05 +01:00

15 lines
392 B
Python

from raven.plugins.ravenlog.Tab import Tab
from PyQt6.QtWidgets import *
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)