2025-02-25 19:44:42 +08:00
|
|
|
from component.widget_main.Ui_widget import Ui_Main_Widget
|
2025-02-18 22:05:52 +08:00
|
|
|
from PySide6.QtWidgets import QWidget
|
|
|
|
|
|
|
|
class Widget_Main(QWidget):
|
|
|
|
def __init__(self):
|
|
|
|
super().__init__()
|
|
|
|
self.ui = Ui_Main_Widget()
|
|
|
|
self.ui.setupUi(self)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
import sys
|
|
|
|
from PySide6.QtWidgets import QApplication
|
|
|
|
|
|
|
|
app = QApplication(sys.argv)
|
|
|
|
widget = Widget_Main()
|
|
|
|
widget.show()
|
|
|
|
sys.exit(app.exec())
|
|
|
|
|