Initial Commit

This commit is contained in:
2025-06-01 22:29:01 +12:00
commit 7a0b29c83a
10 changed files with 143 additions and 0 deletions

14
util/gui/windows.py Normal file
View File

@@ -0,0 +1,14 @@
# External Library
from PySide6.QtWidgets import QApplication, QTextEdit, QMdiSubWindow
class Windows:
note_counter = 0
@staticmethod
def create_note(app_instance):
Windows.note_counter += 1
sub = QMdiSubWindow()
sub.setWidget(QTextEdit(f"Notes {Windows.note_counter}"))
sub.setWindowTitle(f"Notes {Windows.note_counter}")
app_instance.mdi_area.addSubWindow(sub)
sub.show()