docs: def reject(self):
          """
          Rejects the snapshot and closes the widget.
          """
          if self.hideWindow():
              self.hideWindow().show()
              
          self.close()
          self.deleteLater()