Re: [PyQt] SIP v5 Roadmap

2010-11-27 Thread Robin Dunn
On 11/22/10 8:06 AM, Phil Thompson wrote: I've added a roadmap for SIP v5 at... http://www.riverbankcomputing.com/software/sip/roadmap Comments welcome. * Types will have to be declared in advance of being used. In SIP v4 the names of types are resolved after all of the specification files

Re: [PyQt] [QtDesigner] Docs in Python ?

2010-11-27 Thread Phil Thompson
On Fri, 26 Nov 2010 18:21:11 -0800 (PST), James Polk jpolk5...@yahoo.com wrote: When I run QtDesigner (the one that lives in ../PyQt4/bin/)... When I run Help from the menuBar, all of the examples (as far as I can tell) are in C++... Is there a version of this help in Python? Not yet. Phil

Re: [PyQt] SIP v5 Roadmap

2010-11-27 Thread Phil Thompson
On Sat, 27 Nov 2010 00:21:39 -0800, Robin Dunn ro...@alldunn.com wrote: On 11/22/10 8:06 AM, Phil Thompson wrote: I've added a roadmap for SIP v5 at... http://www.riverbankcomputing.com/software/sip/roadmap Comments welcome. * Types will have to be declared in advance of being used. In

[PyQt] Camelot 10.11.27 : leverage Python, PyQT and SQLAlchemy

2010-11-27 Thread Erik Janssens
Dear all, Camelot 10.11.27 has been released. This release uses the new style signal slots connections. Camelot is an open source RAD framework that leverages Python, Sqlalchemy and Qt to build database applications. Inspired by the Django admin interface, Camelot allows a developer to define

Re: [PyQt] SIP v5 Roadmap

2010-11-27 Thread Hans-Peter Jansen
On Monday 22 November 2010, 17:06:01 Phil Thompson wrote: I've added a roadmap for SIP v5 at... http://www.riverbankcomputing.com/software/sip/roadmap From the latest experience with PyQwt (with the still unexplained issues related to switching off a feature: see thread [PyQt] sip snapshot

Re: [PyQt] QStandardItemEditorCreator missing solved: coloreditorfactory example attached

2010-11-27 Thread Hans-Peter Jansen
On Friday 26 November 2010, 15:15:32 Phil Thompson wrote: On Thu, 25 Nov 2010 22:57:42 +0100, Hans-Peter Jansen h...@urpla.net wrote: [Missed to addressed you directly the last time, sorry] On Thursday 25 November 2010, 18:23:38 Hans-Peter Jansen wrote: On Thursday 25 November 2010,

[PyQt] x64 Windows packages

2010-11-27 Thread Steve Borho
Is there any plan to make x64 Windows packages available for download? I found a package at: http://www.lfd.uci.edu/~gohlke/pythonlibs/ and have built functional x64 installers with it, but their package is a bit old. -- Steve Borho ___ PyQt mailing

[PyQt] simplewidgetmapper.py, customsortfiltermodel.py, combowidgetmapper.py examples

2010-11-27 Thread Hans-Peter Jansen
Hi Phil, hi *, attached are a few missing itemview examples for the collection. While simplewidgetmapper.py and combowidgetmapper.py differ only in minor details, the customsortfiltermodel.py differs from the original in a major aspect: it actually works unlike the original ;-) - the filters

Re: [PyQt] QStandardItemEditorCreator missing solved: coloreditorfactory example attached

2010-11-27 Thread Phil Thompson
On Sat, 27 Nov 2010 18:52:28 +0100, Hans-Peter Jansen h...@urpla.net wrote: On Friday 26 November 2010, 15:15:32 Phil Thompson wrote: On Thu, 25 Nov 2010 22:57:42 +0100, Hans-Peter Jansen h...@urpla.net wrote: [Missed to addressed you directly the last time, sorry] On Thursday 25

Re: [PyQt] x64 Windows packages

2010-11-27 Thread Phil Thompson
On Sat, 27 Nov 2010 12:03:25 -0600, Steve Borho st...@borho.org wrote: Is there any plan to make x64 Windows packages available for download? I found a package at: http://www.lfd.uci.edu/~gohlke/pythonlibs/ and have built functional x64 installers with it, but their package is a bit old.

[PyQt] Multiple widgets in one ui file?

2010-11-27 Thread Vadym Honcharuk
Hello, Seems it's very simple or stupid question because I didn't find answer on it in google. :) I create MainWindow widget in Qt Designer and now planning create another (separate) dialog. Is this impossible create dialog (with Qt Designer again) in same (with MainWindow) ui file? Only separate

Re: [PyQt] embedding iconic pushButton in TableView and/or TreeView

2010-11-27 Thread Hans-Peter Jansen
On Thursday 25 November 2010, 03:33:28 James Polk wrote: WhoI got a custom delegate installedat least partially, lol... Using the basic QItemDelegate I've first tried a comboBox, which seems a little more straightforward,.. Congrats, James. The world isn't as bad as it feels

Re: [PyQt] GTK+ theme and anti-aliased fonts on CentOS 5.5

2010-11-27 Thread Rex Dieter
Almar Klein wrote: I've build an application using PyQt running in Python 3. I am using CentOS 5.5 (using a virtual box) to build binaries which can be used on ... My questions are: - Why is the GTK+ theme not available on CentOS, since it's GNOME? iirc, rhel5's qt is too old (ie, doesnt

[PyQt] How does sip.setapi(QString,2) work with translations?

2010-11-27 Thread Brett Stottlemyer
Hi, all- I'd like to use sip.setapi(QString,2), but I'm using internationalization as well and it is giving me some trouble. If I try: qApp.translate(test,Internationalize) I get Unicode Internationalize as the result (as expected) When I try: qApp.translate(test,Internationalize %1).arg(42)

[PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Ian
Hi Everyone, I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers. If I return a number that is too big, I get headers, but the model is asked for headers and data for columns that don't exist!

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Andreas Pakulat
On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers. If I return a number that is too big, I get headers, but the model is asked for headers and data for columns

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Ian
On 27/11/2010 21:07, Andreas Pakulat wrote: On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers. If I return a number that is too big, I get headers, but the model is

Re: [PyQt] Setting image as background in QListView

2010-11-27 Thread Abhishek
Thanks a lot Pete! I got to try it today and the images were indeed not getting added properly to the resource file, because I was not running pyrcc4 utility. Thanks, Abhishek. On Mon, Nov 22, 2010 at 10:23 AM, Hans-Peter Jansen h...@urpla.net wrote: On Monday 22 November 2010, 18:21:21 absk82

Re: [PyQt] How does sip.setapi(QString, 2) work with translations?

2010-11-27 Thread Tobias Rzepka
Hello Brett, with sip.setapi(QString,2) you gets always an unicode string back, witch is a true python object. So there can't be any Qt methods any more. This is why your second example fails. You have two solutions. The one you mentioned or since Python 2.6 the new unicode format method:

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Baz Walter
On 27/11/10 21:27, Ian wrote: On 27/11/2010 21:07, Andreas Pakulat wrote: On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers. If I return a number that is too big, I

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Wolfgang Rohdewald
On Samstag 27 November 2010, Ian wrote: So here are the model and view: you could try to add checks to your methods like in data(): if index.isValid(): if role == Qt.DisplayRole: data() will also be called with role == Qt.CheckStateRole in which case your code returns True or in headerData:

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Andreas Pakulat
On 27.11.10 21:27:55, Ian wrote: On 27/11/2010 21:07, Andreas Pakulat wrote: On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers. If I return a number that is too

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Ian
On 27/11/2010 22:23, Baz Walter wrote: On 27/11/10 21:27, Ian wrote: On 27/11/2010 21:07, Andreas Pakulat wrote: On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no headers.

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Ian
On 27/11/2010 23:00, Andreas Pakulat wrote: On 27.11.10 21:27:55, Ian wrote: On 27/11/2010 21:07, Andreas Pakulat wrote: On 27.11.10 20:54:01, Ian wrote: I am trying to use QAbstractTableModel and I am having more than some difficulty. If I return the correct number to columnCount I get no

Re: [PyQt] GTK+ theme and anti-aliased fonts on CentOS 5.5

2010-11-27 Thread Almar Klein
On 27 November 2010 20:49, Rex Dieter rdie...@math.unl.edu wrote: Almar Klein wrote: I've build an application using PyQt running in Python 3. I am using CentOS 5.5 (using a virtual box) to build binaries which can be used on ... My questions are: - Why is the GTK+ theme not available

Re: [PyQt] embedding iconic pushButton in TableView and/or TreeView

2010-11-27 Thread James Polk
Just remember, that small self contained examples of such issues are the ultimate weapon to engage them... Pete lol, totally,...I went back to Mark Summerfield's book again (and other examples)... I'm soo close...but still a step or two go... Finally figured out how to use my delegate's

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Baz Walter
On 27/11/10 23:02, Ian wrote: On 27/11/2010 22:23, Baz Walter wrote: the python version andreas is referring to is modeltest.py. it can be found in the pyqt source in the contrib/pymodeltest directory. I found the version I think I need (4.7.4) at

Re: [PyQt] Bugs galore in QAbstractTableModel???

2010-11-27 Thread Steve Borho
On Sat, Nov 27, 2010 at 9:42 PM, Baz Walter baz...@ftml.net wrote: On 27/11/10 23:02, Ian wrote: On 27/11/2010 22:23, Baz Walter wrote: the python version andreas is referring to is modeltest.py. it can be found in the pyqt source in the contrib/pymodeltest directory. I found the version I