Re: [PyQt] QLineEdit in QToolBar

2011-12-01 Thread Vadym Honcharuk
> > You may want to use new style signals, this would have thrown a (hard to > ignore) python exception then... > > self.searchDBLine.textChanged.connect(self.searchBDLineChanged) > > Pete > it works fine! with best regards, -vadym ___ PyQt mailing list

Re: [PyQt] QLineEdit in QToolBar

2011-12-01 Thread Hans-Peter Jansen
Am Thursday 01 December 2011 06:18:02 schrieb Vadym Honcharuk: > Hello, > > I can't understand why QLineEdit can't send signal from QToolBar... > > trying via addWidget and addAction, for example last edition: > > self.searchDBLine = QtGui.QLineEdit(self) > self.searchDBLineAction = QtGui.QWidgetAc

[PyQt] QLineEdit in QToolBar

2011-11-30 Thread Vadym Honcharuk
Hello, I can't understand why QLineEdit can't send signal from QToolBar... trying via addWidget and addAction, for example last edition: self.searchDBLine = QtGui.QLineEdit(self) self.searchDBLineAction = QtGui.QWidgetAction(self) self.searchDBLineAction.setDefaultWidget(self.searchDBLine) self.