这是我按下的按钮
def setupUi(self, MainForm):
self.BtnOK.clicked.connect(self.wordReverse)
这是倒车功能
def wordReverse(self):
textin = self.TxtInput.text()
textout = textin[::-1]
self.txtOutput.setText(self, print(textout)
我的问题在最后一行。如何在按下按钮的标签(txtOutput)上显示字符串变量(textout)?