15 lines
361 B
Python
15 lines
361 B
Python
from PyQt6.QtWidgets import QWidget
|
|
|
|
class BaseWindow(QWidget):
|
|
def __init__(self, window_title: str, username: str, composer: object):
|
|
super().__init__()
|
|
|
|
self._composer = composer
|
|
|
|
title: str = "%s - %s" % (window_title, username)
|
|
|
|
self.setWindowTitle(title)
|
|
self._setup_ui()
|
|
|
|
def _setup_ui(self):
|
|
pass
|