An error occurred while loading the file. Please try again.
-
Mathias Chouet authored59f8ae93
# -*- coding: utf-8 -*-
from PyQt5.QtWidgets import (
QMainWindow, QApplication, QDesktopWidget,
QMdiArea, QMdiSubWindow, QDialog,
QPushButton
)
from PyQt5.uic import loadUi
# class ASubWindow(QMdiSubWindow):
# def __init__(self, ui="error"):
# super(ASubWindow, self).__init__()
# loadUi(f"ui/{ui}.ui", self)
class ASubWindow(QDialog):
def __init__(self, ui="error"):
super(ASubWindow, self).__init__()
loadUi(f"ui/{ui}.ui", self)