You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
293 B

2 years ago
from PyQt5.QtWidgets import QStackedWidget
from config import tables
class StackedWidget(QStackedWidget):
def __init__(self, parent):
super().__init__(parent=parent)
for table in tables:
self.addWidget(table(parent=parent))
self.setMinimumWidth(200)