Re: [PyQt] QGraphicsItem missing method

2010-04-18 Thread Phil Thompson
On Sat, 17 Apr 2010 20:02:50 -0600 (MDT), buddy+p...@nmt.edu wrote: On Sat, 17 Apr 2010 12:27:51 -0600 (MDT), buddy+p...@nmt.edu wrote: I recently updated from 4.7 to 4.7.3 and suddenly the QGraphicsItem class no longer seems to have a setOpacity method. The documentation still indicated

[PyQt] ANN: New eric 5.0 snapshot released

2010-04-18 Thread detlev
Hi, I'd like to inform all of you about the immediate availability of a new eric 5.0 snapshot. It fixes a few bugs and adds these new features. - added plugin for Mercurial version control system It is available via http://sourceforge.net/projects/eric-ide/files/eric5/unstable/20100418

[PyQt] question about size hints

2010-04-18 Thread Darren Dale
I have a question about size hints that can be illustrated with the simple example below. If I create my Test widget so it returns a size hint of (200,100), it is rendered with a size of 200, 100. If I create Test so it is 100x70, it is rendered to be 200x100. If I create test to be 1000x700, it

[PyQt] QStandardItemModel best practice

2010-04-18 Thread Dom
Hi- I'm looking to create a table with checkable items based off a dictionary using the QStandardItemModel class, what is the best practice to do this? I've looked at using the class directly and it seemed cumbersome to add the data to the table and I couldn't get data to display at all when I

Re: [PyQt] QStandardItemModel best practice

2010-04-18 Thread Sebastian Elsner
Try using QAbstractItemModel instead. ANd have a look at the table examples coming with PyQt. They helped me a lot. TheyAm 18.04.2010, 19:43 Uhr, schrieb Dom d...@reality-debug.co.uk: Hi- I'm looking to create a table with checkable items based off a dictionary using the

Re: [PyQt] about QMdiArea

2010-04-18 Thread Lic . José M . Rodriguez Bacallao
no one? On 4/16/10, Lic. José M. Rodriguez Bacallao jmr...@gmail.com wrote: hi folks, a may be simple question. I am trying to develop an MDI application for viewing dicom images with vtk. I would like to use QMdiArea. When I add a sub window, QVTKRenderWindowInteractor, and show it maximized

Re: [PyQt] pausing and resuming QThread tasks

2010-04-18 Thread Massimo Di Stefano
Hi, i'm tring to modify the code you pasted using the suggested modification, but i'm not able to run it with a working pause action. Can you point me to a working version, i'm tring to learn from it. It is a cool example to learn how to use thread in PyQt Thanks a lot!!! Massimo. Il giorno