src/eric7/PipInterface/PipPackageDetailsDialog.py

branch
eric7
changeset 10714
e18277704012
parent 10621
f5631f40c4d9
child 10928
46651e194fbe
equal deleted inserted replaced
10712:5b9dd8e4c43a 10714:e18277704012
180 ), 180 ),
181 self.__formatUploadDate(download["upload_time"]), 181 self.__formatUploadDate(download["upload_time"]),
182 self.__formatSize(download["size"]), 182 self.__formatSize(download["size"]),
183 ], 183 ],
184 ) 184 )
185 pgpLink = (
186 ' (<a href="{0}">pgp</a>)'.format(download["url"] + ".asc")
187 if download["has_sig"]
188 else ""
189 )
190 urlLabel = QLabel( 185 urlLabel = QLabel(
191 '<a href="{0}#md5={2}">{1}</a>{3}'.format( 186 '<a href="{0}#md5={2}">{1}</a>'.format(
192 download["url"], 187 download["url"],
193 download["filename"], 188 download["filename"],
194 download["md5_digest"], 189 download["md5_digest"],
195 pgpLink,
196 ) 190 )
197 ) 191 )
198 urlLabel.setTextInteractionFlags( 192 urlLabel.setTextInteractionFlags(
199 Qt.TextInteractionFlag.LinksAccessibleByMouse 193 Qt.TextInteractionFlag.LinksAccessibleByMouse
200 ) 194 )

eric ide

mercurial