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

Method retranslateUi

Demo/Lib/ui_frameless.py:79–95  ·  view source on GitHub ↗
(self, FormFrameless)

Source from the content-addressed store, hash-verified

77 QtCore.QMetaObject.connectSlotsByName(FormFrameless)
78
79 def retranslateUi(self, FormFrameless):
80 _translate = QtCore.QCoreApplication.translate
81 FormFrameless.setWindowTitle(_translate("FormFrameless", "Form"))
82 self.buttonMinimum.setToolTip(_translate("FormFrameless", "Minimum"))
83 self.buttonMinimum.setText(_translate("FormFrameless", "0"))
84 self.buttonMaximum.setToolTip(_translate("FormFrameless", "Maximum"))
85 self.buttonMaximum.setText(_translate("FormFrameless", "1"))
86 self.buttonNormal.setToolTip(_translate("FormFrameless", "Normal"))
87 self.buttonNormal.setText(_translate("FormFrameless", "2"))
88 self.buttonClose.setToolTip(_translate("FormFrameless", "Close"))
89 self.buttonClose.setText(_translate("FormFrameless", "r"))
90 self.textEdit.setHtml(_translate("FormFrameless",
91 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
92 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
93 "p, li { white-space: pre-wrap; }\n"
94 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
95 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">frameless window with move and resize</p></body></html>"))
96
97
98if __name__ == "__main__":

Callers 1

setupUiMethod · 0.95

Calls 2

_translateFunction · 0.85
setTextMethod · 0.45

Tested by

no test coverage detected