(self)
return None
return None
return None
def lyricEvent(self):
        """return None"""
        lyricStyle = """
                QPushButton#lyricButton {{
                    width: 10px;
                    height: 10px;
                    margin: 0px;
                    padding: 3px;
                    background: {};
                    color: {};
                    border: 1px solid #919192;
                }}
            QPushButton#lyricButton:hover {{
                background: none;
                color: #DCDCDC;
                border-color: #DCDCDC;
            }}
                """
        # 如果桌面歌词处于可见状态则隐藏桌面歌词。
        if self.desktopLyric.isVisible():
            self.lyricButton.setToolTip("打开歌词")
            self.lyricButton.setStyleSheet(lyricStyle.format("none", "#79797B"))
            return self.desktopLyric.hide()

        # 防止先打开的音乐后显示的歌词，所以在点击时获取一次歌词。
        self.lyricButton.setToolTip("关闭歌词")
        self.lyricButton.setStyleSheet(lyricStyle.format("#828282", "#FFFFFF"))
        self.desktopLyric.show()
        self.currentMusic.setDetailInfo()
def lyricEvent ( self ) : lyricStyle = """
                QPushButton#lyricButton {{
                    width: 10px;
                    height: 10px;
                    margin: 0px;
                    padding: 3px;
                    background: {};
                    color: {};
                    border: 1px solid #919192;
                }}
            QPushButton#lyricButton:hover {{
                background: none;
                color: #DCDCDC;
                border-color: #DCDCDC;
            }}
                """ # 如果桌面歌词处于可见状态则隐藏桌面歌词。 if self . desktopLyric . isVisible ( ) : self . lyricButton . setToolTip ( "打开歌词") self . lyricButton . setStyleSheet ( lyricStyle . format ( "none" , "#79797B" ) ) return self . desktopLyric . hide ( ) # 防止先打开的音乐后显示的歌词，所以在点击时获取一次歌词。 self . lyricButton . setToolTip ( "关闭歌词") self . lyricButton . setStyleSheet ( lyricStyle . format ( "#828282" , "#FFFFFF" ) ) self . desktopLyric . show ( ) self . currentMusic . setDetailInfo ( )