Re: qcombobox.findtext and matchflags.matchendswith

2007-03-03 Thread borntonetwork
On Mar 3, 12:17 pm, Phil Thompson <[EMAIL PROTECTED]> wrote: > On Saturday 03 March 2007 4:52 pm,borntonetworkwrote: > > > > > Hi. > > > Using the PyQt4 library, I am trying to use the following > > function("cbo" is a qtcombobox): > > > cbo.findText(searchStr, QtCore.MatchEndsWith) > > > If I don'

qcombobox.findtext and matchflags.matchendswith

2007-03-03 Thread borntonetwork
Hi. Using the PyQt4 library, I am trying to use the following function("cbo" is a qtcombobox): cbo.findText(searchStr, QtCore.MatchEndsWith) If I don't use the "QtCore.MatchEndsWith", the function works properly, but doesn't return partial matches ending with "searchStr". If I use "QtCore.MatchE

Re: The proper use of QSignalMapper

2007-01-20 Thread borntonetwork
How simple. I will remember that sender() function for future reference. Thanks, David. David Boddie wrote: > On Saturday 20 January 2007 16:03, borntonetwork wrote: > > > David, thanks for your help. Unfortunately, all attempts of making this > > solution work have failed. I w

Re: The proper use of QSignalMapper

2007-01-20 Thread borntonetwork
) self.window.connect(w, QtCore.SIGNAL("stateChanged(int)"), self.handlers[idx - 1]) So now the output when each checkbox is clicked is something like this: The state is: 2 for checkbox object 0 The state is: 2 for checkbox object 1 ... David Boddie wr

Re: The proper use of QSignalMapper

2007-01-17 Thread borntonetwork
sender name: 'chkProductIngredientsDelete_6') Object::connect: (receiver name: 'main.py') David Boddie wrote: > borntonetwork wrote: > > > I am trying to implement QTCore.QSignalMapper using PyQT. I finally got > > to a point where I don'

The proper use of QSignalMapper

2007-01-17 Thread borntonetwork
Hi. I am trying to implement QTCore.QSignalMapper using PyQT. I finally got to a point where I don't receive any compile or runtime error messages, but I also do not see the final slot function fire off. Here is a snippet of the code: self.signalMapper = QtCore.QSignalMapper(window)

Re: PyQt, designer, and directional flow

2006-12-07 Thread borntonetwork
Something simple, of course. I must have errantly clicked the field in the property editor. Thanks very much for you help. On 12/7/06, Phil Thompson wrote: On Wednesday 06 December 2006 11:41 pm, you wrote: > I meant QLineEdit in my original post. Sorry about that. Every single one >

PyQt, designer, and directional flow

2006-12-05 Thread borntonetwork
I am creating a simple form using designer (qt4) on Ubuntu. I use pyuic to create a python script from the form. I run the script and the form shows up fine. The idiosyncrasy occurs when I try to type text into a QTextEntry widget. The text is right-aligned, not left-aligned as I had set it up in t