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

17 lines
457 B
Python

from PyQt5.QtGui import *
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
from views.Ui_tvclient_main import Ui_tvclient_main
# login界面controller类
# 需要继承QWidget 如果是主窗体需要继承QMainWindow
class TvclientMain(QWidget):
def __init__(self):
# 这句一定要调用父类构造函数
super().__init__()
# 动态加载UI文件
self.ui = Ui_tvclient_main()
self.ui.setupUi(self)