[PyQt] jpeg plugin not loading

2008-10-16 Thread Doug Bell
Hi, The plugin for jpeg image support is not loading on my windows installation of PyQt (from the 4.4.3-1 binary installer). Jpeg images don't show up in a QTextBrowser and jpeg isn't listed as one of the supported formats in QImageReader.supportedImageFormats(). This works fine on Linux and on

Re: [PyQt] jpeg plugin not loading

2008-10-16 Thread Phil Thompson
On Thu, 16 Oct 2008 08:02:11 -0400, Doug Bell [EMAIL PROTECTED] wrote: Hi, The plugin for jpeg image support is not loading on my windows installation of PyQt (from the 4.4.3-1 binary installer). Jpeg images don't show up in a QTextBrowser and jpeg isn't listed as one of the supported

[PyQt] display a widget in a QTableView

2008-10-16 Thread Wim Verhavert
Dear all, I want to do something in PyQT I have seen many times in other applications: A QTableView where the last column contains a QProgressbar. Basically I want to implement some kind of cue where each item is processed which can take a while. To give some visual feedback I want to display a

Re: [PyQt] display a widget in a QTableView

2008-10-16 Thread Kovid Goyal
class ProgressBarDelegate(QAbstractItemDelegate): def sizeHint(self, option, index): return QSize(120, 30) def paint(self, painter, option, index): opts = QStyleOptionProgressBarV2() opts.rect = option.rect opts.minimum = 1 opts.maximum =

[PyQt] Fw: PyQt Signal Slot connection not working

2008-10-16 Thread Aminu D
Hey, I have a window that pops up another window in QT, what I want to do is implement a certain function whenever the popup window is closed/destroyed. Does anyone know what signal a widget emits when it is cancelled(ie the red cross is clicked). I would like to connect that signal to a

Re: [PyQt] Context menu on items in QTreeView

2008-10-16 Thread Filip GruszczyƄski
I found one more issue. I have a tree view, that will be editable, which means that new elements can be added. They are added in following way: you click on an item and can either add new one as child of this item or delete it (with its children). However, I cannot add new children to the root