[PyQt] setData in QTableView

2011-04-11 Thread Vadym
Hi, I try to insert some data in my QTableView via other method with code: self.emsTableModel.setData((self.emsTableModel.index(0, 2)), QtCore.QVariant(111)) this code works fine and, of cource, change content of cell with row #1 and column#3 to 111 BUT if I try do same but from other module (o

Re: [PyQt] setData in QTableView

2011-04-11 Thread Hans-Peter Jansen
On Monday 11 April 2011, 15:34:59 Vadym wrote: > Hi, > > I try to insert some data in my QTableView via other method with > code: > > self.emsTableModel.setData((self.emsTableModel.index(0, 2)), > QtCore.QVariant(111)) > > this code works fine and, of cource, change content of cell with row > #1 an

[PyQt] sipapiqti.h file

2011-04-11 Thread Brian Devaney
I have been working with the QtiPlot application for Linux and I am running into a problem with the SIP package. The makefile is asking for a file called sipapiqti.h that it cannot find. I have the latest SIP dev packages installed for Ubuntu 10.10 and this file is no where on my system. I tried

Re: [PyQt] sipapiqti.h file

2011-04-11 Thread Phil Thompson
On Mon, 11 Apr 2011 13:19:56 -0400, Brian Devaney wrote: > I have been working with the QtiPlot application for Linux and I am > running into a problem with the SIP package. The makefile is asking for > a file called sipapiqti.h that it cannot find. I have the latest SIP > dev packages installed

[PyQt] Code structure in pyqt

2011-04-11 Thread Jason Rahm
Python 2.7.1 / PyQt 4.8.3 / Qt 4.7.2 Marrying the GUI components to processes that come fairly easy to me on the cli is a struggle for me at this point. I have a mainwindow and some dialogs, all of which I can open ok and do some processing, etc. What's difficult for me is figuring out where

[PyQt] help with performance issue

2011-04-11 Thread Matt Chambers
I'm hoping there is a PyQt historian out there that can answer this question for me. We have a major application that we've been unable to use anything beyond Pyqt 4.3 due to what I think is a performance issue with setVisible. I'd like to give an example but this is proprietary code and

Re: [PyQt] Code structure in pyqt

2011-04-11 Thread Hans-Peter Jansen
On Monday 11 April 2011, 20:14:28 Jason Rahm wrote: > Python 2.7.1 / PyQt 4.8.3 / Qt 4.7.2 > > Marrying the GUI components to processes that come fairly easy to me > on the cli is a struggle for me at this point. I have a mainwindow > and some dialogs, all of which I can open ok and do some proces

Re: [PyQt] help with performance issue

2011-04-11 Thread Hans-Peter Jansen
On Monday 11 April 2011, 21:31:11 Matt Chambers wrote: > I'm hoping there is a PyQt historian out there that can answer this > question for me. > > We have a major application that we've been unable to use anything > beyond Pyqt 4.3 due to what I think is a performance issue with > setVisible. I'

Re: [PyQt] help with performance issue

2011-04-11 Thread Matt Chambers
On 04/11/11 14:00, Hans-Peter Jansen wrote: You forgot to mention, from what class your offending method derives. Anyhow, I don't think, that cProfile is the proper instrumentation for that kind of issue, since PyQt is throughoutly compiled code, you should cope with that, and do proper profiling