def drawUI(self):
self.play = QPushButton(self)
self.play.setIconSize(QSize(40, 20))
self.play.setIcon(QIcon(QPixmap("fastforward.png").scaled(40, 20, Qt.KeepAspectRatio, Qt.SmoothTransformation)))
self.play.setStyleSheet("background-color: rgba(0, 0, 0, 0);")
self.play.clicked.connect(lambda:self.forward())
self.resize(80, 40)
评论列表
文章目录