qt - How to get selected items (QFiles & QDirs) from QFileSystemModel? -


i have file manager can rename, delete, copy files remote location (that part finished) etc.. think need qfile , qdir local side of manager work remote side. qfilesystemmodel looks easy way show local files , folders. how can selected/clicked item in qfilesystemmodel? , items, qfiles , qdirs or else? if else, there way qfile , qdir objects somehow?

i'm new qt don't know it. i'm told thing homework. sadly haven't been given enough education , assistant assigned me can't :/ advice how create view local files items easy get, appreciated. thank you!

you misunderstood qt mvc. selection - part of view, not of model. check: selection model or selected indexes.


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -