Re: [Interest] Proxy model prepending rows to model

2013-10-28 Thread Stephen Kelly
On Monday, October 28, 2013 12:27:03 André Somers wrote: > >> Am I missing something obvious here ? > > > > It's not really possible to add rows using a proxy model. Any attempt to > > do so will inevitably be buggy. Rows/columns can only be filtered out. > > Do you care to explain that a bit mor

Re: [Interest] Proxy model prepending rows to model

2013-10-28 Thread André Somers
Op 28-10-2013 12:04, Stephen Kelly schreef: > On Wednesday, October 23, 2013 11:07:23 Clément Geiger wrote: >> Am I missing something obvious here ? > It's not really possible to add rows using a proxy model. Any attempt to do so > will inevitably be buggy. Rows/columns can only be filtered out. >

Re: [Interest] Proxy model prepending rows to model

2013-10-28 Thread Clément Geiger
Ah, too bad. Thanks anyway :) Clément 2013/10/28 Stephen Kelly > On Wednesday, October 23, 2013 11:07:23 Clément Geiger wrote: > > Am I missing something obvious here ? > > It's not really possible to add rows using a proxy model. Any attempt to > do so > will inevitably be buggy. Rows/column

Re: [Interest] Proxy model prepending rows to model

2013-10-28 Thread Stephen Kelly
On Wednesday, October 23, 2013 11:07:23 Clément Geiger wrote: > Am I missing something obvious here ? It's not really possible to add rows using a proxy model. Any attempt to do so will inevitably be buggy. Rows/columns can only be filtered out. Thanks, -- Join us in November at Qt Developer D

[Interest] Proxy model prepending rows to model

2013-10-23 Thread Clément Geiger
Hi, I have a base model, a table with two columns and a bunch of rows. To display it in a QComboBox, I'm using a proxy model that merges the two columns in one. >From there on I thought it would be cool to a row on top of everything saying "". So I did that in the ProxyModel: int ServicesList