[PyQt] QLineEdit in QToolBar
Vadym Honcharuk
intereco at gmail.com
Thu Dec 1 05:18:02 GMT 2011
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.ui.toolBar.addAction(self.searchDBLineAction)
and connected with:
* @QtCore.pyqtSignature
* usual signal connect
(self.connect(self.searchDBLine, QtCore.SIGNAL("textEdited()"),
self.searchBDLineChanged))
but without any success, could you please advice where is problem?
thanks a lot.
-vadym
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20111201/2e439620/attachment.html>
More information about the PyQt
mailing list