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] Convert string to QString

2012-09-03 Thread Vincent Vande Vyvre
On 03/09/12 05:36, Python.py wrote: > I'm trying to play a video. But for that I need to choose the video. For > this, if I use QtGui.QFileDialog.getOpenFileName () I can select a video and > executar.O my problem is that I do not want to use the > QtGui.QFileDialog.getOpenFileName (), I already re

Re: [PyQt] Convert string to QString

2012-09-02 Thread Python.py
I'm trying to play a video. But for that I need to choose the video. For this, if I use QtGui.QFileDialog.getOpenFileName () I can select a video and executar.O my problem is that I do not want to use the QtGui.QFileDialog.getOpenFileName (), I already researching where the video using the code. Ma

Re: [PyQt] Convert string to QString

2012-09-02 Thread Python.py
Thanks for the help, but it did not work what I wanted to do. What I want to do is play a video, but it must find the path of the video. I'm not trying to use : movie = QtGui.QFileDialog.getOpenFileName() to find the path of video and reproduzir.Usando that line above works. Instead, I'm trying

Re: [PyQt] Convert string to QString

2012-09-02 Thread Jens Thoms Toerring
On Sat, Sep 01, 2012 at 09:54:18PM -0700, Python.py wrote: > I'm trying to convert a string to QString, but I can not. Does anyone know > how I can do this converting? from PyQt4.QtCore import * a = QString( "abc" ) or from PyQt4 import Qt as qt a = qt.QString( "abc" ) or...

[PyQt] Convert string to QString

2012-09-01 Thread Python.py
I'm trying to convert a string to QString, but I can not. Does anyone know how I can do this converting? -- View this message in context: http://python.6.n6.nabble.com/Convert-string-to-QString-tp4987160.html Sent from the PyQt mailing list archive at Nabble.com. _