MCPcopy
hub / github.com/PyQt5/PyQt / retranslateUi

Method retranslateUi

Demo/Lib/UiNotify.py:102–106  ·  view source on GitHub ↗
(self, NotifyForm)

Source from the content-addressed store, hash-verified

100 QtCore.QMetaObject.connectSlotsByName(NotifyForm)
101
102 def retranslateUi(self, NotifyForm):
103 _translate = QtCore.QCoreApplication.translate
104 NotifyForm.setWindowTitle(_translate("NotifyForm", "消息提示"))
105 self.buttonClose.setText(_translate("NotifyForm", "r"))
106 self.buttonView.setText(_translate("NotifyForm", "查 看"))
107
108
109if __name__ == "__main__":

Callers 1

setupUiMethod · 0.95

Calls 2

_translateFunction · 0.85
setTextMethod · 0.45

Tested by

no test coverage detected