Simple text editor for basic notes
This commit is contained in:
parent
bd4d571c95
commit
160de4c526
5 changed files with 96 additions and 15 deletions
14
trovedb/qgui/tool.py
Normal file
14
trovedb/qgui/tool.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
"""Tool Base Class"""
|
||||
|
||||
from PySide6.QtWidgets import QWidget
|
||||
|
||||
import trovedb.trove as tr
|
||||
|
||||
class Tool(QWidget):
|
||||
def __init__(self, note: tr.Note, parent=None):
|
||||
super().__init__(parent)
|
||||
self._note = note
|
||||
|
||||
@property
|
||||
def note(self) -> tr.Note:
|
||||
return self._note
|
||||
Loading…
Add table
Add a link
Reference in a new issue