Re: [PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-04 Thread bvz
what the sip is and does, and then someplace to figure out what is changing in the various releases? Thanks again. Ben Hans-Peter Jansen-2 wrote: > > Am Samstag 03 Oktober 2009 schrieb bvz: >> I have just noticed this little oddity: >> >> I have a data() method insi

Re: [PyQt] Want to change multiple cells in QTableView at once in custom Model/View

2009-10-04 Thread bvz
will only recognize one cell as being selected and will then only update one cell (even though I may have many selected). Hans-Peter Jansen-2 wrote: > > Am Samstag 03 Oktober 2009 schrieb bvz: >> I had a version of my spreadsheet style app (in which I handled all of >> t

[PyQt] Want to change multiple cells in QTableView at once in custom Model/View

2009-10-03 Thread bvz
I had a version of my spreadsheet style app (in which I handled all of the updating of the table manually) that allowed me to set the value of multiple cells at once. (if the user selected multiple cells and entered, say, "bob" then all the selected cells would be updated to contain "bob".) I ma

[PyQt] Mac does not pass back QIcon from data() method in a model/view

2009-10-03 Thread bvz
I have just noticed this little oddity: I have a data() method inside a QAbstractTableModel subclass. This method is supposed to pass back an icon for a QTableView to display when the role Qt.DecorationRole is used. On the Mac it will only return the icon if I use: return QtGui.QIcon(paramObj.g

Re: [PyQt] Question regarding single model and multiple views...

2009-09-30 Thread bvz
t are. Matt Newell wrote: > > On Wednesday 30 September 2009 17:08:40 bvz wrote: >> Hello, >> >> I am new(ish) to PyQt and I am trying to build a simple app. >> >> The app has several tables that I want to point to a single model (which >> will load and

[PyQt] Question regarding single model and multiple views...

2009-09-30 Thread bvz
Hello, I am new(ish) to PyQt and I am trying to build a simple app. The app has several tables that I want to point to a single model (which will load and store all the data). Each table is responsible for displaying a different set of columns from the model. I.e. table 1 will show columns 1-4