from PyQt5 import QtCore, QtGui, QtWidgets class UiConnect(QtWidgets): def __init__(self): self.setupUi(self)