I'm currently trying to inject some kind of file browser / "explorer" into the program ... I use Python and PySide in connection with the Qt-window-toolkit. More or less, this youtube-video shows the behavior that I want to have in the end. However, this tutorial used C ++ as a programming language, and I still could not explain the correct python code using C ++ as an example.
Basically, my problem is to get the right column (file) displaying the contents of the folder clicked in the left column (tree-style view).
#!/usr/bin/env python
As you can see in my code, I already tried to use the setRootPath function ... however, this does not seem to be correct. So I wonder, what do I need to do to get this to work?
source share