1

I code PyQt, I have the following code:

QtCore.QObject.connect(self.checkBox, \
QtCore.SIGNAL(_fromUtf8("clicked(bool)")), lambda: \
self.interfaceCodesConstructor.setFilterList(self,"name",self.lineEdit.text()))

Abobe code causes When i click on checkbox, my function : setFilterList will be run.

i need to run above function: setFilterList(self,"name",self.lineEdit.text()) When i leave a LineEdit widge, But i don't know its signal.

My question is : What's its signal when you leave a widget such as LineEdit?

Yours, Mohsen

4

1 回答 1

3

根据文档 ,当行编辑小部件失去焦点时QlineEdit会发出。 void QLineEdit::editingFinished () [signal]

于 2013-09-13T00:48:37.597 回答