MCPcopy Create free account
hub / github.com/PyQt5/PyQtClient / initLogin

Method initLogin

Widgets/MainWindow.py:60–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58 self._initDonate)
59
60 def initLogin(self):
61 dialog = LoginDialog(self)
62 dialog.exec_()
63 # 刷新头像样式
64 if Constants._Account != '' and Constants._Password != '':
65 self.buttonHead.image = Constants.ImageAvatar
66 self.buttonHead.setToolTip(Constants._Username)
67
68 def _initDonate(self):
69 # 显示捐赠窗口

Callers 1

on_buttonHead_clickedMethod · 0.80

Calls 1

LoginDialogClass · 0.90

Tested by

no test coverage detected