vial/src/main/python/basic_editor.py

25 lines
418 B
Python
Raw Normal View History

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
def on_container_clicked(self):
pass
2021-05-22 16:50:35 -04:00
def activate(self):
pass
def deactivate(self):
pass