[PyQt] PyMPlayer with Qt4 under Windows

2011-08-27 Thread Timothy W. Grove
Thanks for your help in getting PyMPlayer (http://code.google.com/p/python-mplayer/) to work for me with PyQt4 under Windows with Python 3.2. All is working well, but I have one PyQt4 question for you. (which is why I've copied this to the PyQt mailing list; also to publicize your work ;-) ).

[PyQt] Embedding MPlayer in a QWidget // painting problems

2011-08-28 Thread Timothy W. Grove
I've been successful in embedding the MPlayer video player into a QWidget thanks to the PyMPlayer application (http://code.google.com/p/python-mplayer/). Resizing the QWidget resizes a movie just fine while the movie is playing, but once a movie is paused or stopped, no resizing of the displaye

Re: [PyQt] Professional IDE

2011-09-07 Thread Timothy W. Grove
I'm using a combination of Eclipse + PyDev and I like it a lot. Here is a critique of it from another forum which convinced me to give it a try: """I searched around the web quite a bit and found Eclipse+PyDev to be the most recommended IDE overall. I downloaded just the basic 52MB Ecli

Re: [PyQt] Embedding MPlayer in a QWidget // painting problems

2011-09-09 Thread Timothy W. Grove
em to work fine http://wiki.videolan.org/Python_bindings On Sun, Aug 28, 2011 at 4:27 PM, Timothy W. Grove <mailto:tim_gr...@sil.org>> wrote: I've been successful in embedding the MPlayer video player into a QWidget thanks to the PyMPlayer application (http://code.goog

Re: [PyQt] Phonon-VLC

2011-09-10 Thread Timothy W. Grove
reason not to use phonon and go with mplayer/vlc? Regards, -- Emmanuel On 14:55 Fri 09 Sep , Timothy W. Grove wrote: Thanks, I'm giving VLC a try and it seems to be working okay. Probably a question for the VLC forums (I'll copy a post there in a minute...), but I don't underst

[PyQt] QListWidgetItem - determining when mouse leaves item

2011-09-30 Thread Timothy W. Grove
I'm using SIGNAL("itemEntered(QListWidgetItem*)") to determine when the mouse has 'entered' a QListWidgetItem. What is the best way to determine when the mouse has 'left?' Many thanks, Tim Grove ___ PyQt mailing listPyQt@riverbankcomputing.com htt

[PyQt] QSplitter and the border between widgets

2011-10-11 Thread Timothy W. Grove
I have an application where a number of widgets are laid out in the main window using a QSplitter and the border between the widgets looks like this: What I want to see is much less space between the widgets and a visible splitter handle, something more lik

[PyQt] Fwd: Re: QSplitter and the border between widgets

2011-10-12 Thread Timothy W. Grove
Ooops. I meant to send this reply to the list. Thanks for your help and suggestions! Original Message Subject:Re: [PyQt] QSplitter and the border between widgets Date: Tue, 11 Oct 2011 13:21:44 +0100 From: Timothy W. Grove To: Pierre-Louis Bonicoli Thanks

[PyQt] libpng warning: Interlace handling should be turned on when using png_read_image

2011-11-09 Thread Timothy W. Grove
Since updating from PyQt4.8.5 to PyQt4.5.6-1 using the PyQt-Py3.2-x86-gpl-4.8.6-1.exe Windows 32 bit installer on Windows7, I'm getting the following warnings: libpng warning: Interlace handling shou

[PyQt] 'mouseMoveEvent' for a 'QListWidget' subclass stops drag-and-drop

2011-11-22 Thread Timothy W. Grove
Why would reimplementing a 'mouseMoveEvent' for a 'QListWidget' subclass stop drag-and-drop? The class below just holds a list of icons. Without the mouseMoveEvent method I can drag the icons around; with it I can't. Under wxPython I would have added 'event.skip()' at the end of my event handl

[PyQt] Compacting long file names or strings

2013-01-16 Thread Timothy W. Grove
Suppose I have a long file name such as "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" that I want to display on a button but there isn't enough room to display the entire name. I want to compact it down to, say, "C:\Users\...\Wildlife.wmv". I'm pretty sure that I've seen a method somwhere

[PyQt] imageformat plugins under Mac OS X - where are they???

2013-06-09 Thread Timothy W. Grove
Hi Folks, I've just entered the world of PyQt programming on Mac OS X (Mountain Lion). Mostly an enjoyable experience, but finding my way around the file system is giving me headaches!!! I've installed Python 3.3 and PyQt4 using the following instructions found at http://www.pythonschool.net

Re: [PyQt] imageformat plugins under Mac OS X - where are they???

2013-06-10 Thread Timothy W. Grove
Found them at /opt/local/share/qt4/plugins/imageformat, but including them within the directory structure of my application (as I did with Windows) is causing my distribution package to crash :-( . Time to join the cx_Freeze list... Tim On 09/06/2013 09:39, Timothy W. Grove wrote: Hi Folks

[PyQt] PyQt5 custom video player using QAbstractVideoSurface

2013-10-04 Thread Timothy W. Grove
Hello Folks! I'm not a C++ programmer, but below is my best attempt at translating a C++ code example found in QtEnterprise for creating a custom video widget using a custom video surface. Please feel free to use it ... if you can get it to work! When I run the code the widget appears okay. T

Re: [PyQt] pyqt5.1 baffling exceptions: AttributeError: 'Qxxxxxx' object has no attribute 'QWidget'

2013-10-05 Thread Timothy W. Grove
Hi Stephen, I don't really understand the issues here, but I also saw these kinds of errors cropping up recently when I moved an application from PyQt4 to PyQt5. I think I had at least three different cases of "AttributeError: 'Qxx' object has no attribute 'QWidget'". One case I fixed by n

[PyQt] "making" sip-4.15.2 - how much memory does this need???

2013-10-11 Thread Timothy W. Grove
I've downloaded the source for sip-4.15.2 and have been trying to install in on Windows 7. Possibly not a good idea as I don't wish to interfere with sip in my current installation of PyQt4.10.3, but another package I'm trying to install requires sipdistutils and sipconfig, and I can't find the

Re: [PyQt] "making" sip-4.15.2 - how much memory does this need???

2013-10-12 Thread Timothy W. Grove
en' Makefile:3: recipe for target 'all' failed mingw32-make: *** [all] Error 2 On 11/10/2013 13:38, Timothy W. Grove wrote: I've downloaded the source for sip-4.15.2 and have been trying to install in on Windows 7. Possibly not a good idea as I don't wish to interfere with

[PyQt] Installing SIP snapshot - 'install' fails

2013-10-12 Thread Timothy W. Grove
I'm getting a little nearer to installing SIP. I've downloaded the latest snapshot and entered the commands into a MYSYS terminal: $ /c/python33/python.exe configure.py --platform win32-g++ $ make $ make install Configure and Make seem okay but Install fails. /bin/sh: -c: line 1: syntax error:

Re: [PyQt] Installing SIP snapshot - 'install' fails

2013-10-12 Thread Timothy W. Grove
alled in c:\python33\include. The default directory to install .sip files in is c:\python33\sip. Tim On 12/10/2013 19:55, Timothy W. Grove wrote: I'm getting a little nearer to installing SIP. I've downloaded the latest snapshot and entered the commands into a MYSYS terminal: $ /c