[Qt-interest] QSortFilterModel and strange unhiding of columns
David Heremans
david.heremans at intersoft-electronics.com
Wed Aug 25 17:07:34 CEST 2010
On 08/25/2010 09:53 AM, Kai Koehne wrote:
> Hi,
>
> On 8/24/2010 2:53 PM, ext David Heremans wrote:
> > I get a very weird behavior here and no clue as to what is causing it.
> >
> > [Code snippet ...]
> >
> > This works nicely,
> > I then created the famous 4 buttons '<','<<','>' and'>>' to move items
> > between the two states, the strange thing is that if I select items
> > (sing or multiple selections) and 'move' them between the two views all
> > works well, UNLESS I select the first row and then try to move, in that
> > case the two hidden columns in that listView become visible again!!!
>
> this sounds strange indeed. Maybe you can create a minimal, but complete
> example showing this behavior?
>
> Kai
>
I ripped the code from my project and pasted it in a new simpler
project. I tested this on my Linux box (Qt 4.6.2 (64bit)) and in a
virtual XP (Qt 4.7.0 (32bit)) and they both have the same problem.
So, in atachement...
David Heremans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strangeUnhide.tar.bz2
Type: application/x-bzip
Size: 2865 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100825/82039dc1/attachment.bin
More information about the Qt-interest-old
mailing list