def __init__(self, parent=None): super().__init__(parent) self.album_img_label = QLabel() self.music_countdown_label = QLabel() self.music_slider = QSlider() self.music_name_label = QLabel() self.love_music_btn = QPushButton() self.add_to_playlist_btn = Add_to_playlist_btn() self.play_mv_btn = QPushButton("MV") self.show_lyric_btn = QPushButton("词") self.similar_song_btn = QPushButton("相似") self.layout = QHBoxLayout() self.setLayout(self.layout) self._customize_object_name() self._customize_widgets_props() self._customize_layout()