Re: [PyQt] identify a QTreeWidgetItem

2007-10-24 Thread alteo_gange
Le mardi 23 octobre 2007, Michael Towers a écrit : alteo_gange wrote: print item.text(0), \n UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 11: ordinal not in range(128) I find this one of the most annoying things in PyQt, it confuses me terribly. I think

Re: [PyQt] identify a QTreeWidgetItem

2007-10-24 Thread alteo_gange
Le mardi 23 octobre 2007, Jim Bublitz a écrit : On Tuesday 23 October 2007 02:13, alteo_gange wrote: Hi everybody! I have created several QTreeWidgetItem and connected a signal itemClicked(QTreeWidgetItem *,int) on the QTreeWidget. treeWidget=QtGui.QTreeWidget(widget) ...

Re: [PyQt] PyQt book Rapid GUI Programming with Python and Qt now available

2007-10-24 Thread alteo_gange
Why electronic book is as expensive as paper book? http://safari.awprofessional.com/9780132354189 Le mardi 23 octobre 2007, pyprog a écrit : Excuse in advance for my bad english. I forgive you. ;-) -- alteo_gange ___ PyQt mailing list

Re: [PyQt] NotImplementedError

2007-10-24 Thread Heinz A. Preisig
Title: business Hi, I found a way around it by trial and error It turned out to be the operation len(list) , where the list was a list of graphics items caused the problem when used in mouseReleaseEvent . In this case it was possible to change the code achieving the same result but not

Re: [PyQt] PyQt book Rapid GUI Programming with Python and Qt now available

2007-10-24 Thread Mark Summerfield
On 2007-10-24, alteo_gange wrote: Why electronic book is as expensive as paper book? http://safari.awprofessional.com/9780132354189 I have no idea how the publisher comes up with the prices! But if there is little or no difference, I hope you buy the paper version because it uses the PDF I

Re: [PyQt] NotImplementedError

2007-10-24 Thread Heinz A. Preisig
Title: business Shall try if I find the time. Cheers, Heinz Phil Thompson wrote: On Wednesday 24 October 2007, Heinz A. Preisig wrote: Hi, I found a way around it by trial and error It turned out to be the operation len(list) , where the list was a list of graphics

Re: [PyQt] PyQt book Rapid GUI Programming with Python and Qt now available

2007-10-24 Thread Arne Babenhauserheide
I had thought about buying the electronic book a good time ago, but I didn't buy, because there was no get the printed version cheaper if you buy the electronic version beforehand option. Maybe you could ask your publisher kindly to become a bit more realistic, so people begin to get

[PyQt] QMessageBox with unicode text fails

2007-10-24 Thread Tim Welch
Hi folks, I'm trying to display a unicode string in a QMessageBox using the information() static method. However it seems to only accept ascii characters. I'm using qt/pyqt 4.3.0 on Windows. Here's a sample app with output: # *-* coding: utf-8 *-* from PyQt4 import QtCore, QtGui from

Re: [PyQt] PyQt book Rapid GUI Programming with Python and Qt now available

2007-10-24 Thread Gustavo A. Díaz
A shame that I can't buy here in Argentina :( And the cost for me is to much to buy it in Amazon for example (including the international delivery)... 2007/10/23, Mark Summerfield [EMAIL PROTECTED]: Hi, I am delighted to announce that Rapid GUI Programming with Python and Qt: The

Re: [PyQt] QMessageBox with unicode text fails

2007-10-24 Thread David Boddie
On Wed Oct 24 23:03:20 BST 2007, Tim Welch wrote: I'm trying to display a unicode string in a QMessageBox using the information() static method. However it seems to only accept ascii characters. I'm using qt/pyqt 4.3.0 on Windows. Here's a sample app with output: # *-* coding: utf-8