Re: [PyQt] A list of checkboxes

2009-05-12 Thread eliben
David Boddie wrote: > > On Tue May 12 19:20:14 BST 2009, eliben wrote: > >> I want to display a QListView where each item is a checkbox with some >> label. The checkboxes should be visible at all times. One way I can think >> of is using a custom delegate and QAbstractListModel. Are there simpl

Re: [PyQt] A list of checkboxes

2009-05-12 Thread David Boddie
On Tue May 12 19:20:14 BST 2009, eliben wrote: > I want to display a QListView where each item is a checkbox with some > label. The checkboxes should be visible at all times. One way I can think > of is using a custom delegate and QAbstractListModel. Are there simpler > ways? Can you provide the s

[PyQt] Define/edit a path

2009-05-12 Thread Frédéric
Hi, For my panohead controller software[1], I need to allow the user perfom the following steps: 1) move the head using the arrow keys (done) 2) validate several points to define a path 3) display each point/lines on a widget 3) let him edit that path by draging the points and move them arround

[PyQt] A list of checkboxes

2009-05-12 Thread eliben
Hello, I want to display a QListView where each item is a checkbox with some label. The checkboxes should be visible at all times. One way I can think of is using a custom delegate and QAbstractListModel. Are there simpler ways? Can you provide the simplest snippet that does this? Thanks in adva

Re: [PyQt] PyQt Licensing

2009-05-12 Thread Filip Gruszczyński
My comment on the issue: http://code-blasphemies.blogspot.com/2009/05/pyqt-still-on-gpl.html In short: good choice! 2009/5/12 Simon Edwards : > Hello, > > A Corsaire wrote: >> I do think that this is a >> >> worst-case outcome for the Python community as a whole. It means that PyQt >> development

Re: [PyQt] Problem using pyQT4 together with py2exe

2009-05-12 Thread piotr maliński
You may try creating folder "imageformats" in the folder with your binary app and add DLLs from PyQt4 imageformats folder ( C:\Python26\Lib\site-packages\PyQt4\plugins\imageformats\. ) 2009/5/12 "V. Armando Solé" > hio wrote: > >> hi all, >> i'm in trouble with using pyQT4 and py2exe together...

Re: [PyQt] faster alternative to QHeaderView's resizeToContents?

2009-05-12 Thread David Douard
On Saturday 09 May 2009 09:28:16 Edwin Marshall wrote: > I have a QTableView that displays the contents of a model with over 3000 > rows, each with 11 columns. I'd like to the original size of these columns > to be no larger than the content within them, but setting their > resizeMode's to QHeader

Re: [PyQt] Problem using pyQT4 together with py2exe

2009-05-12 Thread V. Armando Solé
hio wrote: hi all, i'm in trouble with using pyQT4 and py2exe together... My problem is that the .exe resulting by running the script seup.py, when launched works fine but does not load the pictures i placed in my pyQT gui code. No pixmaps were loaded and displayed nor images by QT resource fi