Files
krowlog/raven/plugins/ravenlog/Tab.py
Andreas Huber 614968ca4b move the log file viewer to its own plugin
We plan to have multiple different types of tabs.
2021-12-04 16:53:02 +01:00

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