Re: [PyQt] Storing QString/Unicode in Sqlite Database

2011-11-15 Thread Tayfun Kayhan
Yes, this is how I wrote when I tried it. It's given the same error. What's more interesting, in another program, that I wrote and that uses unicodes, does not give any error with the same use of sip.setapi('QString', 2) . But I see a little addition code , I added :  try: from PyQt4.QtCore imp

Re: [PyQt] Storing QString/Unicode in Sqlite Database

2011-11-15 Thread Hans-Peter Jansen
On Wednesday 09 November 2011, 10:29:55 Tayfun Kayhan wrote: > Thank you, the first one is working well. I tried setting API V2 but > it gave an error which says that it has been already set to V1. I'll > try fixing this, as well. Quoting http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/

Re: [PyQt] Why won't my dialog show properly when I set its parent on instantiation?

2011-11-15 Thread Hans-Peter Jansen
On Tuesday 08 November 2011, 02:47:54 Åke Kullenberg wrote: > In the attached example script, why won't the MyDialog instance show > properly when I set MyDialog's parent to self on line 20 instead of > leaving it blank? Well, is does show properly. The difference is in positioning (as expected).