[PyQt] problems with painting in QGraphics

2010-05-03 Thread Christopher M. Nahler
I want to add rectangles to a scene (see the code below) by dragging the mouse. To distinguish from selection mode I change a variable (self.newItem) due to key pressing and handle this in the mouse_events. In the class DesignerBlock(QGraphicsRectItem) I am passing a (QRectF) type rect which

Re: [PyQt] question about size hints

2010-05-03 Thread Yao Ko
On Sun, May 2, 2010 at 5:05 AM, Darren Dale dsdal...@gmail.com wrote: On Sun, May 2, 2010 at 1:51 AM, Yao Ko ko...@raptr.com wrote: On Sat, May 1, 2010 at 5:47 AM, Darren Dale dsdal...@gmail.com wrote: Please excuse me for bumping. Does anyone have a suggestion? On Sun, Apr 18, 2010 at 12:42

[PyQt] PyQT and MSVC

2010-05-03 Thread Benjamin Sonnemann
Hi, i just tried to compile PyQT for windows with Visual Studio, but had no luck, is there sth like an official way to do so? Or am i missing some configuration flag? Thing is, i got a system wide installation of qt, compiled with MSVC and thus dont want to have another install, which breaks my

Re: [PyQt] PyQT and MSVC

2010-05-03 Thread Phil Thompson
On Mon, 03 May 2010 19:40:54 +0200, Benjamin Sonnemann m...@sonnemann-it.de wrote: Hi, i just tried to compile PyQT for windows with Visual Studio, but had no luck, is there sth like an official way to do so? Or am i missing some configuration flag? Thing is, i got a system wide

[PyQt] QNetworkReply and PyQt 4.7.3-2

2010-05-03 Thread Tiago Rezende
Hi, I was using PyQt 4.7.1 for developing an app using QWebView as the main interface, and was coding a scheme not unlike that of Firefox with it's chrome: protocol, following some pointers from http://www.mail-archive.com/python-l...@python.org/msg247104.html (which, with some slight changes,

Re: [PyQt] QNetworkReply and PyQt 4.7.3-2

2010-05-03 Thread Phil Thompson
On Mon, 3 May 2010 15:52:30 -0300, Tiago Rezende tiag...@gmail.com wrote: Hi, I was using PyQt 4.7.1 for developing an app using QWebView as the main interface, and was coding a scheme not unlike that of Firefox with it's chrome: protocol, following some pointers from

[PyQt] QGraphicsScene and Phonon

2010-05-03 Thread Tim and Alison Bentley
I am trying to to write a program to display a video using phonon within a qgraphicsscene. The attached code will play the audio but not the video part. This is confusing me as all examples I have seen ( and there are not may) show this as the way to do it. def main(args):

[PyQt] Searching method for QTableVew

2010-05-03 Thread AON LAZIO
Hi, Suppose I want to search for some elements in QTableView when I type into a lineedit box. How can I locate the item in the table (The table direcly highlight the items searched if found) Which method should I use? Thanks in advance Aonlazio -- Passion is my style