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 =

[PyQt] Widget image coming on button

2011-12-01 Thread uahmed
Hi I want to putt the background image in my pyqt application . I take a widget and putt image through stylesheet but when i created button the background image use for widget comes on button too . Code: import sys,os from functools import partial from PyQt4 import QtGui, QtCore app =

[PyQt] QMetaObject.newInstance does not work as expected

2011-12-01 Thread Henning Schröder
Hello, again I tried to seek to push the boundaries.This time I tried to load a C++ widget inside a library into PyQt using ctypes (without extra sip bindings). I worked well :) but I cannot call a constructor with arguments. The attached code reaches the except-block with PyQt 4.8.5 To test just

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] QtDBus: Unable to convert Array of Object Paths

2011-12-01 Thread Chris Mayo
On 30/11/11 16:37, Phil Thompson wrote: On Sun, 27 Nov 2011 12:58:27 +, Chris Mayo cjm...@users.sourceforge.net wrote: On 27/11/11 12:51, Phil Thompson wrote: On Sun, 27 Nov 2011 12:47:09 +, Chris Mayo cjm...@users.sourceforge.net wrote: With PyQt-x11-gpl-snapshot-4.9-e8284ed41e49,

Re: [PyQt] QtDBus: Unable to convert Array of Object Paths

2011-12-01 Thread Phil Thompson
On Thu, 01 Dec 2011 20:20:34 +, Chris Mayo cjm...@users.sourceforge.net wrote: On 30/11/11 16:37, Phil Thompson wrote: On Sun, 27 Nov 2011 12:58:27 +, Chris Mayo cjm...@users.sourceforge.net wrote: On 27/11/11 12:51, Phil Thompson wrote: On Sun, 27 Nov 2011 12:47:09 +, Chris Mayo

Re: [PyQt] QtDBus: Unable to convert Array of Object Paths

2011-12-01 Thread Phil Thompson
On Thu, 01 Dec 2011 20:20:34 +, Chris Mayo cjm...@users.sourceforge.net wrote: Can't get ee8b9c7eb565 to compile: Generating the C++ source for the QtDBus module... sip:

[PyQt] Version matching: Qt and PyQt

2011-12-01 Thread James Polk
Is there a online guide anywhere to match a version of Qt with it's corresponding version of PyQt ? For example,...on Windows, in order to work with Maya2011, I had to install Qt 4.5.3 and use PyQt 4.7.3  (and sip too) Is there a lookup table somewhere where these versions are matched up?