Hi guys, I am using QFileSystemModel to pull files (i.e. pdf files) from a diretory and I am displaying them in a QListView. My problem now is getting the files to open when you double click on them. By "open" I mean when you double click on a file, it must pop-up and open. The attached picture shows how the files are displayed in the view. I know the solution to this is probably one line of code but I am clueless right now. I've already created a "double clicked" slot on the view indices but I just don't know what to add thereLastly the model is not displaying the file icons but this is not priority right now. MainWindowScreenShort.jpg.




Lastly the model is not displaying the file icons but this is not priority right now.
Reply With Quote
Bookmarks