Page 115 - MDP2020-2
P. 115

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅱ    |  109



                            font.setWeight(75)
                            self.button_total.setFont(font)
                            self.button_total.setStyleSheet('border:0px')
                            self.button_total.setObjectName("button_total")


                            self.button_quit  =  QtWidgets.QPushButton(self.centralwidget)
                            self.button_quit.setGeometry(QtCore.QRect(0,  0,  20,  20))
                            self.button_quit.clicked.connect(QCoreApplication.instance().quit)
                            self.button_quit.setStyleSheet('border:0px')
                            self.button_quit.setObjectName("button_quit")


                            self.youtube_widget  =  QtWidgets.QWidget(self.centralwidget)
                            self.youtube_widget.setGeometry(QtCore.QRect(90,  490,  591,  321))
                            self.youtube_widget.setObjectName("youtube_widget")


                            #  self.youtube_widget2  =  QtWebEngineWidgets.QWebEngineView(self.centralwidget)
                            #  self.youtube_widget2.setGeometry(QtCore.QRect(100,  400,  640,  380))
                            #  self.youtube_widget2.setUrl(QtCore.QUrl("https://www.musinsa.com/?m=lookbook"))
                            #  self.youtube_widget2.setObjectName("youtube_widget2")


                            self.button_fan  =  QtWidgets.QPushButton(self.centralwidget)
                            self.button_fan.setGeometry(QtCore.QRect(1280,  480,  151,  141))
                            font  =  QtGui.QFont()
                            font.setFamily("나눔바른고딕")
                            font.setPointSize(24)
                            font.setBold(False)

                            font.setWeight(50)
                            self.button_fan.setFont(font)
                            self.button_fan.setObjectName("button_fan")
                            self.button_fan.setStyleSheet('image:url(/home/pi/Desktop/VENT_OFF.png);  border:0px')
                            self.button_fan.clicked.connect(self.fan)
                            self.button_fan.setCheckable(True)


                            self.label_test  =  QtWidgets.QLabel(self.centralwidget)
                            self.label_test.setGeometry(QtCore.QRect(1660,  10,  141,  171))
                            font  =  QtGui.QFont()
                            font.setFamily("나눔바른고딕")
                            font.setPointSize(18)
                            font.setBold(True)
                            font.setWeight(75)
                            self.label_test.setFont(font)
                            self.label_test.setObjectName("label_test")


                            self.label_time  =  QtWidgets.QLabel(self.centralwidget)
                            self.label_time.setGeometry(QtCore.QRect(90,  140,  681,  181))
   110   111   112   113   114   115   116   117   118   119   120