comparison gui/src/FilesDockWidget.cpp @ 13535:98bde3b5b7a0

File browser does not show all information.
author Jacob Dawid <jacob.dawid@googlemail.com>
date Tue, 26 Jul 2011 17:33:59 +0200
parents bb3676025b36
children 869c62c15e95
comparison
equal deleted inserted replaced
13534:e02a2fb08bfd 13535:98bde3b5b7a0
66 m_fileTreeView->setModel (m_fileSystemModel); 66 m_fileTreeView->setModel (m_fileSystemModel);
67 m_fileTreeView->setRootIndex (rootPathIndex); 67 m_fileTreeView->setRootIndex (rootPathIndex);
68 m_fileTreeView->setSortingEnabled (true); 68 m_fileTreeView->setSortingEnabled (true);
69 m_fileTreeView->setAlternatingRowColors (true); 69 m_fileTreeView->setAlternatingRowColors (true);
70 m_fileTreeView->setAnimated (true); 70 m_fileTreeView->setAnimated (true);
71 m_fileTreeView->setColumnHidden (1, true);
72 m_fileTreeView->setColumnHidden (2, true);
73 m_fileTreeView->setColumnHidden (3, true);
71 setCurrentDirectory (m_fileSystemModel->fileInfo (rootPathIndex). 74 setCurrentDirectory (m_fileSystemModel->fileInfo (rootPathIndex).
72 absoluteFilePath ()); 75 absoluteFilePath ());
73 76
74 connect (m_fileTreeView, SIGNAL (doubleClicked (const QModelIndex &)), this, 77 connect (m_fileTreeView, SIGNAL (doubleClicked (const QModelIndex &)), this,
75 SLOT (itemDoubleClicked (const QModelIndex &))); 78 SLOT (itemDoubleClicked (const QModelIndex &)));