[PyQt] QEvent.LeaveEditFocus

2012-08-03 Thread David Beck
I'm getting the following error message when trying to use "LeaveEditFocus" in an event filter (Python 3.3, Mac OS 10.7, PyQt 4.9.2): Traceback (most recent call last): File "/Users/David/Documents/Python/Qt/QtFieldbook/QtFieldbook/QtFieldbook/runFieldbook.py", line 53, in eventFilter if

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
, which puts the options before the input file. David On 2012-07-09, at 3:07 PM, Phil Thompson wrote: > On Mon, 9 Jul 2012 14:22:50 -0600, David Beck wrote: >> Has something changed with pyrcc4 in PyQt 4.9.2? > > No. > >> I have a .qrc file (built >> in QtCreato

Re: [PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
On 2012-07-09, at 3:07 PM, Phil Thompson wrote: > On Mon, 9 Jul 2012 14:22:50 -0600, David Beck wrote: >> Has something changed with pyrcc4 in PyQt 4.9.2? > > No. > >> I have a .qrc file (built >> in QtCreator 2.5.0) that converted into a .py file fine with PyQt

[PyQt] pyrcc4 changed?

2012-07-09 Thread David Beck
Has something changed with pyrcc4 in PyQt 4.9.2? I have a .qrc file (built in QtCreator 2.5.0) that converted into a .py file fine with PyQt 4.8.x but which now fails to convert properly (none of the button icons or backgrounds it contains show up in the application when I run it). I'm using th

[PyQt] creating a variable number of widget

2012-07-01 Thread David Beck
I am trying to create a GUI for managing a multilingual lexical database. Every word in the database can have 1 to n meanings or senses, each of which has to have several types of information associated with it. This corresponds to a (simplified) XML structure as follows word

Re: [PyQt] including Unicode in QListWidget

2012-06-20 Thread David Beck
Thank you, the new snapshot works fine, problem solved. cheers David On 2012-06-19, at 10:40 AM, Phil Thompson wrote: > On Tue, 19 Jun 2012 10:32:07 -0600, David Beck wrote: >> Hi, Phil >> >> Thanks for your suggestion. I tried the workaround at the bottom, but it >&

Re: [PyQt] including Unicode in QListWidget

2012-06-19 Thread David Beck
head here.) David On 2012-06-19, at 8:42 AM, Phil Thompson wrote: > On Sun, 17 Jun 2012 10:29:58 -0600, David Beck wrote: >> I am trying to build a GUI for navigating through a large XML database > on >> a Mac running OS 10.7, Python 3.3, PyQt 4. I want to get a list of the > te

Re: [PyQt] including Unicode in QListWidget

2012-06-18 Thread David Beck
lowed > > Am 17.06.2012 22:55, schrieb David Beck: >>> Message: 2 >>> Date: Sun, 17 Jun 2012 18:42:54 +0200 >>> From: Knacktus mailto:knack...@googlemail.com>> >>> To: pyqt@riverbankcomputing.com <mailto:pyqt@riverbankcomputing.com> >

Re: [PyQt] including Unicode in QListWidget

2012-06-17 Thread David Beck
ed > > Am 17.06.2012 18:29, schrieb David Beck: >> I am trying to build a GUI for navigating through a large XML database on a >> Mac running OS 10.7, Python 3.3, PyQt 4. I want to get a list of the text in >> all of the nodes called and put them into a QListWidget called

[PyQt] including Unicode in QListWidget

2012-06-17 Thread David Beck
I am trying to build a GUI for navigating through a large XML database on a Mac running OS 10.7, Python 3.3, PyQt 4. I want to get a list of the text in all of the nodes called and put them into a QListWidget called "hLexNav". To do this, I wrote the following bit of code (this isn't the whole