How to implement QFileSystemModel using Databases?.....i would be glad if any-one shed light on this topic
-
i've developed a file-browser using model view structure in pyqt4, which is uses local filesystem structure...i want to develop the same using database structure(MySqldb)
-
using pyqt4
-
You might be able to get some inspiration from a DatabaseStructureModel that I wrote for a GPL project some time ago:
"header":http://www.assembla.com/code/srtools/git/nodes/unstable-db/common/src/databasestructuremodel.h and "source":http://www.assembla.com/code/srtools/git/nodes/unstable-db/common/src/databasestructuremodel.cpp -
"This":http://code.google.com/p/fsgateway/ is a project made some years ago from a colleague and friend. While it has been doing using .net, it will work with a QFileSystemModel too!
-
plz can i get codes in pyqt4 ....
-
I guess you have to do your homework.
-
yep this was what i needed...thank you
-
[quote author="yashaswiram" date="1329306420"]plz can i get codes in pyqt4 ....[/quote]
No. I'm not going to re-implement the code I pointed you to in Python just to make you happy.