24 lines
436 B
Python
24 lines
436 B
Python
from abc import abstractmethod
|
|
|
|
from PyQt6.QtWidgets import QWidget
|
|
|
|
|
|
class Tab(QWidget):
|
|
|
|
def __init__(self, unique_id: str, title: str):
|
|
super(Tab, self).__init__()
|
|
self.unique_id = unique_id
|
|
self.title = title
|
|
|
|
@abstractmethod
|
|
def get_status_text(self) -> str:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def get_file(self) -> str:
|
|
pass
|
|
|
|
@abstractmethod
|
|
def destruct(self):
|
|
pass
|