29 lines
795 B
Python
29 lines
795 B
Python
![]() |
from component.widget_main.widget_main import Widget_Main
|
||
|
from component.widget_channel.widget_channel import Widget_Channel
|
||
|
from component.widget_card.widget_card import Widget_Card
|
||
|
|
||
|
|
||
|
from PySide6.QtWidgets import QWidget
|
||
|
|
||
|
class MainWindow(QWidget):
|
||
|
def __init__(self):
|
||
|
super().__init__()
|
||
|
self.widget_main = Widget_Main()
|
||
|
self.widget_channel = Widget_Channel()
|
||
|
self.widget_card = Widget_Card()
|
||
|
|
||
|
self.widget_main.ui.ListWidget_vLayout.addWidget(self.Widget_Card)
|
||
|
self.widget_main.ui.ListWidget_vLayout.addWidget(self.Widget_Channel)
|
||
|
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
import sys
|
||
|
from PySide6.QtWidgets import QApplication
|
||
|
|
||
|
app = QApplication(sys.argv)
|
||
|
main_window = MainWindow()
|
||
|
main_window.show()
|
||
|
sys.exit(app.exec())
|
||
|
|
||
|
|