def __init__(self, album): """ Init search @param album as Album """ ArtworkSearchWidget.__init__(self) self.__album = album
def __init__(self, name): """ Init search @param name as str """ ArtworkSearchWidget.__init__(self) self.__name = name
def __init__(self, artist_id): """ Init search @param artist_id as int """ ArtworkSearchWidget.__init__(self) self.__artist = App().artists.get_name(artist_id)
def __init__(self, album, view_type, in_menu=False): """ Init search @param album as Album @param view_type as ViewType """ ArtworkSearchWidget.__init__(self, view_type) self.__album = album
def __init__(self, artist_id, view_type, in_menu=False): """ Init search @param artist_id as int @param view_type as ViewType """ ArtworkSearchWidget.__init__(self, view_type) self.__artist = App().artists.get_name(artist_id)