def dropEvent(self, droplink):
link_clipborad = QApplication.clipboard()
link_clipborad.clear(mode=link_clipborad.Clipboard)
link_string = droplink.mimeData().text()
link_clipborad.setText(str(link_string), mode=link_clipborad.Clipboard)
self.addLinkButtonPressed(button=link_clipborad)
# aria2 identifies each download by the ID called GID.
# The GID must be hex string of 16 characters,
# thus [0-9a-zA-Z] are allowed and leading zeros must
# not be stripped. The GID all 0 is reserved and must
# not be used. The GID must be unique, otherwise error
# is reported and the download is not added.
# gidGenerator generates GID for downloads
评论列表
文章目录