Qt-interest Archive, June 2007
Qt 4.2.3: QListView's autoadjusting buggy?
Message 1 in thread
Hi all,
I use a QListView in IconMode to display a view pictures. I set the mode
and everything correctly, so it adjusts the layout automatically on a
resizeEvent (I assume):
m_pListView = new QListView();
m_pModel = new CTextureComponentListModel(m_eType);
m_pListView->setModel(m_pModel);
m_pListView->setViewMode(QListView::IconMode);
m_pListView->setMovement(QListView::Static);
m_pListView->setResizeMode(QListView::Adjust);
Still, even if it receives the event and starts the timer
(delayedLayout) so it actually can re-adjust its items, the timerEvent
never gets sent.
Is this a known Qt problem or am I just stupid and missing something
here?
Thanks in advance!
Daniel Schneidereit
EA Phenomic