Qt-interest Archive, December 2006
TreeView HideColumn
Message 1 in thread
Hello!
I have detected a possible bug. I'm using mandriva 2007 with qt 4.1.4.
I try to hide some columns of a QTreeView using
m_studyTreeView->hideColumn( 10 );
but QTreeView ignores it an show the column, I have tried to set the column
width at 0, and the function setColumnHidden( 10 , true ) and the result
it's always the same, the column it's showed.
The but with the same problem in QT 4.1.3 has been fixet in QT 4.1.4 ?
Thanks
Message 2 in thread
Hi Marc I to had a problem with Qt 4.1.4 hiding items in a QTreeView. My
issue was with hiding rows, I could hide columns though. You may want to
make sure your selection is by columns.
Anyways the solution to my issue was to go to Qt 4.2.1, now I can hide by
rows.
cheers
---
John Price <john.p.price@xxxxxxxxxx <mailto:john.p.price@xxxxxxxxxx> >
781-970-1743
L-3 Communications
Security & Detection Systems Division,
10E Commerce Way, Woburn, MA 01801
-----Original Message-----
From: Marc Cals [mailto:cpmarc@xxxxxxxxx]
Sent: Friday, December 01, 2006 12:48 PM
To: qt-interest@xxxxxxxxxxxxx
Subject: TreeView HideColumn
Hello!
I have detected a possible bug. I'm using mandriva 2007 with qt 4.1.4.
I try to hide some columns of a QTreeView using
m_studyTreeView->hideColumn( 10 );
but QTreeView ignores it an show the column, I have tried to set the column
width at 0, and the function setColumnHidden( 10 , true ) and the result
it's always the same, the column it's showed.
The but with the same problem in QT 4.1.3 has been fixet in QT 4.1.4 ?
Thanks