Re: [PyQt] Qt Exception Translation in Signal Handlers

2011-03-13 Thread Phil Thompson
On Sun, 6 Mar 2011 20:04:17 -0600, Aron Bierbaum wrote: > I have attached a sample test suite that shows an issue that we are running > into. The basic issue is that if an exception is raised in a method that is > connected to a Qt signal, the exception is only printed. I know that > translating t

[PyQt] Editor alignment in QTreeView

2011-03-13 Thread Albert Cervera i Areny
Hi, in our application we right-align dates and numbers in QTreeViews using the TextAlignmentRole. The problem is that Qt shows the editor (QLineEdit) for those items, over the column on the right of the current cell. I tried to ensure QLineEdit's alignment was 'RightAlign' so at least it would

[PyQt] thoughts about dip interfaces and python abstract base classes

2011-03-13 Thread Darren Dale
I've been learning about python's abstract base classes at http://www.python.org/dev/peps/pep-3119/ and http://docs.python.org/py3k/library/abc.html . The PEP mentions that there is considerable overlap between ABCs and interfaces, and I'm rereading the dip documentation on interfaces now. If I und

[PyQt] Problem with pyuic4 etc. on Mac Snow Leopard

2011-03-13 Thread Madhusudan Singh
I downloaded the latest snapshots of sip and pyqt for mac. Used the following tutorial: http://blog.oak-tree.us/index.php/2010/05/27/pyqt-snow-leopard The make process seemed to finish properly. Did a make install. Now, I find that pyuic4 and other command line tools have not been installed anyw

[PyQt] question about PyQT and ArcGIS

2011-03-13 Thread majid moosavi
Hi: Thank you for your efforts to produce one of the best GUI software . i'm ArcGIS software user and i decide to learn customizing ArcGIS software with Python because ArcGIS new version(10) support Python 2.6 . i try to learn GUI programming in ArcGIS  . does PyQT support ArcGIS Geoprocessing

Re: [PyQt] thoughts about dip interfaces and python abstract base classes

2011-03-13 Thread Darren Dale
On Sun, Mar 13, 2011 at 3:01 PM, Darren Dale wrote: > I've been learning about python's abstract base classes at > http://www.python.org/dev/peps/pep-3119/ and > http://docs.python.org/py3k/library/abc.html . The PEP mentions that > there is considerable overlap between ABCs and interfaces, and I'

Re: [PyQt] Editor alignment in QTreeView

2011-03-13 Thread Hans-Peter Jansen
On Sunday 13 March 2011, 11:37:43 Albert Cervera i Areny wrote: > Hi, > in our application we right-align dates and numbers in QTreeViews > using the TextAlignmentRole. The problem is that Qt shows the editor > (QLineEdit) for those items, over the column on the right of the > current cell. I tried

Re: [PyQt] Editor alignment in QTreeView

2011-03-13 Thread Albert Cervera i Areny
A Dilluns, 14 de març de 2011 00:42:54, Hans-Peter Jansen va escriure: > I don't believe, that > alignment is the issue here. By the way, alignment seems to be the issue. I didn't mention it in the first place, but if I return LeftAlign in the AlignmentRole in the model, the QLineEdit is posit

[PyQt] Pyqt, repainting on a customize widget.

2011-03-13 Thread jp984
Hello there. Im learning pyqt using "rapid gui programing with pyqt" book, Im making a change on the chapter's 11 exercise solution given by the book. I want the widget to change the focus on each rectangle automatically every half of a second. So i replace the mouse and key event handlers for a