Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54090 > unrolled thread

When i leave a LineEdit widget and run slot

Started byMohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
First post2013-09-13 05:03 +0430
Last post2013-09-13 05:03 +0430
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  When i leave a LineEdit widget and run slot Mohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org> - 2013-09-13 05:03 +0430

#54090 — When i leave a LineEdit widget and run slot

FromMohsen Pahlevanzadeh <mohsen@pahlevanzadeh.org>
Date2013-09-13 05:03 +0430
SubjectWhen i leave a LineEdit widget and run slot
Message-ID<mailman.332.1379032438.5461.python-list@python.org>
Dear all,

QtCore.QObject.connect(self.checkBox,
QtCore.SIGNAL(_fromUtf8("clicked(bool)")), lambda:
self.interfaceCodesConstructor.setFilterList(self,"name",self.lineEdit.text()))
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 widget, But i don't know its signal.

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

Yours,
Mohsen

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web