def checked_bg(self): """ Set the background to checked. """ parent = self.parentItem() parent.bg_source = Backgrounds.checked_background(size=parent.bg_source.sizeF()) parent.background_is_dirty = True