def __build_coverpanel(self): """ builds and returns the IssueCoverPanel for this form """ panel = IssueCoverPanel(self.__config) panel.Location = Point(10, 30) # panel size is determined by the panel itself return panel
def __build_coverpanel(self): ''' builds and returns the IssueCoverPanel for this form ''' panel = IssueCoverPanel(self.__config) panel.Location = Point(10, 30) # panel size is determined by the panel itself return panel
def __build_coverpanel(self, book): ''' Builds and returns the cover image PictureBox for this form. 'book' -> the ComicBook being scraped ''' panel = IssueCoverPanel(self.__config, -9991 \ if self.__config.force_series_art_b else book.issue_num_s) panel.Location = Point(523, 30) # panel size is determined by the panel itself if self.__config.show_covers_b: panel.Show() else: panel.Hide() return panel