|
|
Hi,
I have created list of filenames using
QCheckListItem and QListView..
initially it contains checkbox follwed by
filename..This is list view..
But when i select thumbnail option from menu..the list
should change to thumbnail view..i.e it sholud display
checkbox followed by filename with date, size..
so please tell me how to change to thumbnailview..
I have not used filedialog..but instead fetch files
from specific directory using getenv() and add them to
list..using QFileInfo and QfileIterator QFileInfoList
QFileInfoListIterator
I'm not sure I understand the problem, but I guess you can create
QCheckListItem that contain all the file data (name, date, size, ...).
Then show/hide colums according to the current option:
http://doc.trolltech.com/3.3/qlistview.html#hideColumn
--
Dimitri
--
List archive and information: http://lists.trolltech.com/qt-interest/
|
|