def __init__( self, parent, trust_info ):
super().__init__( parent )
self.setWindowTitle( T_('SVN SSL Server Trust') )
self.realm = QtWidgets.QLabel( trust_info['realm'] )
self.save_trust = QtWidgets.QCheckBox()
self.save_trust.setCheckState( QtCore.Qt.Unchecked )
em = self.fontMetrics().width( 'M' )
self.addRow( T_('Hostname'), trust_info['hostname'], min_width=50*em )
self.addRow( T_('Finger Print'), trust_info['finger_print'] )
self.addRow( T_('Valid From'), trust_info['valid_from'] )
self.addRow( T_('Valid Until'), trust_info['valid_until'] )
self.addRow( T_('Issuer Dname'), trust_info['issuer_dname'] )
self.addRow( T_('Realm'), trust_info['realm'] )
self.addRow( T_('Save Trust'), self.save_trust )
self.addButtons()
wb_svn_credential_dialogs.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录