Re: [PyQt] Synchronized scrolling between two tables

2011-11-02 Thread Nader Abedrabbo
Thanks Wolfgang and Scott. Wolfgang, Initially I had wanted to use one table. But I couldn't figure out how to disable certain columns. My data goes in the first three columns, then the calculation results are populated in the next 5 columns. I don't want the user to be able to edit/select

Re: [PyQt] Synchronized scrolling between two tables

2011-11-02 Thread Wolfgang Rohdewald
Am Mittwoch, 2. November 2011, 06:23:36 schrieb Nader Abedrabbo: If their is a way to disable certain columns in a table from being selected, I would appreciate if you can guide me to it. you can define you own model, deriving from a Qt standard model, and override flags(). In the link I gave

[PyQt] setUniformValueArray missing

2011-11-02 Thread David Kaufman
Greetings, I'm currently developing an OpenGL PyQt app. I'm in the need of this function http://doc.qt.nokia.com/latest/qglshaderprogram.html#setUniformValueArray-20 (setUniformValueArray) but I can't seem to find it anywhere in the most recent PyQt documentation. Is there any chance that this

Re: [PyQt] Synchronized scrolling between two tables

2011-11-02 Thread Nader Abedrabbo
Thanks Guys, I found the solution to my problem. By linking to the tables scroll bar via (QScrollBar) I now have access to the bar. Then using the signals emitted by the slider via (QAbstractSlider) I can get the current location of the bar and then sync the other table with it. Here is a

Re: [PyQt] setUniformValueArray missing

2011-11-02 Thread Phil Thompson
On Wed, 2 Nov 2011 16:39:53 +0100, David Kaufman david.kauf...@gmx.de wrote: Greetings, I'm currently developing an OpenGL PyQt app. I'm in the need of this function http://doc.qt.nokia.com/latest/qglshaderprogram.html#setUniformValueArray-20 (setUniformValueArray) but I can't seem to find

[PyQt] PyQt and DBus in Python 3

2011-11-02 Thread Jonathan Riddell
Ubuntu is looking at moving to Python 3. Currently PyQt depends on python-dbus for its DBus support, but we believe that there are no plans to port python-dbus to Python 3 (because the gtk 3 bindings now have their own DBus support). Are there any plans for adding PyQt bindings to the QtDBus

Re: [PyQt] PyQt and DBus in Python 3

2011-11-02 Thread Phil Thompson
On Wed, 2 Nov 2011 21:30:51 +, Jonathan Riddell jridd...@ubuntu.com wrote: Ubuntu is looking at moving to Python 3. Currently PyQt depends on python-dbus for its DBus support, but we believe that there are no plans to port python-dbus to Python 3 (because the gtk 3 bindings now have their

Re: [PyQt] PyQt and DBus in Python 3

2011-11-02 Thread Jonathan Riddell
On Wed, Nov 02, 2011 at 09:45:57PM +, Phil Thompson wrote: Are there any plans for adding PyQt bindings to the QtDBus module? Or another expected way to get DBus support in PyQt with Python 3? Something will be done - not sure what yet. What are your timescales? Thanks for your quick