Re: [PyQt] Linking with a debug build of Qt 5.1 on OSX

2013-08-28 Thread Glenn Ramsey
On 29/08/13 11:42, Glenn Ramsey wrote: Hi, How do I get PyQt (5.1 snapshot) to link with a debug build of Qt (5.1) on OSX? If I try a debug only build of Qt then it wants me to use the -no-framework flag and the PyQt configure script doesn't recognise the Qt build. The other option is to use -d

[PyQt] Linking with a debug build of Qt 5.1 on OSX

2013-08-28 Thread Glenn Ramsey
Hi, How do I get PyQt (5.1 snapshot) to link with a debug build of Qt (5.1) on OSX? If I try a debug only build of Qt then it wants me to use the -no-framework flag and the PyQt configure script doesn't recognise the Qt build. The other option is to use -debug-and-release to build Qt, in which

Re: [PyQt] Scroll QTableView beyond last column/row

2013-08-28 Thread David Cortesi
How about defining some "extra" rows and columns? Then, in your data() method, if the column (or row) index is beyond the "real" data, you return a string of blanks for the display role, and a 50% gray brush for the Background role. ___ PyQt mailing lis

Re: [PyQt] Using SWIG to wrap application written in QT

2013-08-28 Thread Kenneth Miller
I was thinking this, but needed confirmation. Thanks. From: Matt Newell To: pyqt@riverbankcomputing.com; Kenneth Miller Sent: Wednesday, August 28, 2013 4:54 PM Subject: Re: [PyQt] Using SWIG to wrap application written in QT On Wednesday, August 28, 2013 0

Re: [PyQt] Using SWIG to wrap application written in QT

2013-08-28 Thread Matt Newell
On Wednesday, August 28, 2013 01:01:43 PM Kenneth Miller wrote: > ping. :) > > > > From: Kenneth Miller > To: "pyqt@riverbankcomputing.com" > Sent: Monday, August 26, 2013 5:25 PM > Subject: Using SWIG to wrap application written in QT > > > > So I have this

Re: [PyQt] Scroll QTableView beyond last column/row

2013-08-28 Thread Paul Du Bois
I do this: # somewhere in init self._last_vsb_height = None self.verticalScrollBar().rangeChanged[int,int].connect(self._on_range_changed) def _on_range_changed(self, min, max): # Try to prevent infinite recursion # Count is in rows if max != self._las

Re: [PyQt] Using SWIG to wrap application written in QT

2013-08-28 Thread Kenneth Miller
ping. :) From: Kenneth Miller To: "pyqt@riverbankcomputing.com" Sent: Monday, August 26, 2013 5:25 PM Subject: Using SWIG to wrap application written in QT So I have this application that I'm writing that uses the Qt libraries. I want to wrap the my appli

[PyQt] Scroll QTableView beyond last column/row

2013-08-28 Thread Mark Mordeca
Greetings, I have a simple QTableView connected to an QAbstractTableModel. For the purposes of my question, let’s assume that these are the most basic you can have in order to get a table with data in it. Default behaviour is that you can scroll the table so that the last column/row becomes