[Solved] basic functions with QTreeView populated with subclassed QFileSystemModel
-
I have populated a QTreeView with a subclassed QFileSystemMode. I want to add basic operations like add, copy, drag/drop, delete files and folders on the filesystem and updated via the QTreeView. Can someone provide example code and/or link that can demonstrate this?
-
You can look at the code of QFileDialog, it implements some of those operations.
-
Thanks Gerolf!!!
-
Is the source code to the implementation of Qt´s Project Tree on its IDE available to view? If so, can someone point me to the file?
-
You mean of QtCreator?
Qt Creator is available on gitorious as seperate source -
Look at <path to your Qt sources>/src/gui/dialogs/qfiledialog.cpp
-
Sorry for the confusion... I am basically looking for the source to the mainform of Qt Creator. Is this available?
-
if you download QtCreator source from GiTorious.org, it is, follow this link:
"QtCreator on gitorious":https://qt.gitorious.org/qt-creator