Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Directory Image Browser with Separators Help
Numerator last edited by SGaist
I am trying to write an image browser that has separators for the directories, but I am not having much success. I would like to list each image in the directory structure similar with a separator for each directory. What Picasa implemented is what I would like to have.
Each directory would be completely listed and wrap around in the window. Any guidance on what method to achieve this would be very helpful.
[edit: Fixed link SGaist]
Which part do you need help with ?
A listView/widget in icon mode shows the images like that.
Numerator last edited by
I can create the icon view, but I am having trouble with the separators between directories. In the Picasa example, there is an icon for Textures, Textures directory name and some other clickable buttons, like the Upload button.
You could use a QFrame or QWidget as container and 2 layouts for the
icon + Foldername
If you make it as a custom control with its own .h and .cpp and UI file you can use it from code
to have many of them.
Numerator last edited by Numerator
Thank you. That looks like what I need to do.
I think I need to put each directory and file list in a frame. The top-level view would just manage the directory frames.