Directory Image Browser with Separators Help
-
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]
-
Hi
Which part do you need help with ?
A listView/widget in icon mode shows the images like that.
-
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.
Hi
You could use a QFrame or QWidget as container and 2 layouts for the
2 row
icon + Foldername
ButtonsIf 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.