2020-12-20 19:29:48 -05:00
|
|
|
from PyQt5.QtWidgets import QVBoxLayout
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BasicEditor(QVBoxLayout):
|
|
|
|
|
|
|
|
|
|
def __init__(self, parent=None):
|
|
|
|
|
super().__init__(parent)
|
|
|
|
|
|
|
|
|
|
self.device = None
|
|
|
|
|
|
|
|
|
|
def valid(self):
|
|
|
|
|
raise NotImplementedError
|
|
|
|
|
|
|
|
|
|
def rebuild(self, device):
|
|
|
|
|
self.device = device
|
2021-04-29 00:49:22 -04:00
|
|
|
|
|
|
|
|
def on_container_clicked(self):
|
|
|
|
|
pass
|
2021-05-22 16:50:35 -04:00
|
|
|
|
|
|
|
|
def activate(self):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
def deactivate(self):
|
|
|
|
|
pass
|