Re: [PyQt] Convert string to QString

2012-09-13 Thread Python.py
Hello everybody, I was trying to make some changes in my program to see if it would work, but it was pious then left as before. Getting to play some videos, but many can not. Even extensions being equal. I'm storing the path of videos into one file, hence I get the video I want to watch and squeege

Re: [PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

2012-09-13 Thread Mathias . Born
On 13.09.2012, 18:44:19 Phil Thompson wrote: > On Mon, 10 Sep 2012 23:31:20 +0200, mathias.b...@gmx.de wrote: >> Phil, >> >> While using /AlloNone/ on a normal mapped type directive like >> >> %MappedType boost::optional /AllowNone/ >> >> works, sip tells me >> >> Deprecation warning : type_map

Re: [PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

2012-09-13 Thread Phil Thompson
On Mon, 10 Sep 2012 23:31:20 +0200, mathias.b...@gmx.de wrote: > Phil, > > While using /AlloNone/ on a normal mapped type directive like > > %MappedType boost::optional /AllowNone/ > > works, sip tells me > > Deprecation warning : type_mappings.sip.h:269: Annotation is invalid > > for > > tem

Re: [PyQt] Error when attempting to use load UI files into Python

2012-09-13 Thread Phil Thompson
On Wed, 12 Sep 2012 18:43:10 -0400, Scott Lanahan wrote: > Hi, > > I'm desperately trying to use uic.loadUi to load my main window into > Python. I cannot get it to work for the main window, but it works fine for > various widgets that are in the same Qt project. When I try to load the .ui > file

Re: [PyQt] Dilemma: Pqt or wxpython

2012-09-13 Thread Hans-Peter Jansen
Am Dienstag, 11. September 2012, 16:39:01 schrieb Gour: > On Tue, 11 Sep 2012 15:14:42 +0100 > > "Tony Lynch" wrote: > > Qt is much better than wx in general, and more widely used. I'd go for > > Qt/PyQt every time, > > One pro for wx might be using native toolkits and (probably) looking > bette