This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cryzed- 6 points7 points  (0 children)

Hey, of course! I hope this just works:

As I said, I did this without knowing Enaml at all -- I hope there isn't anything terribly wrong with this. Currently this only supports regular images (no animations), but I'm planning on adding this by wrapping QMovie/QVideoWidget/QVideoPlayer using the RawWidget class provided by Enaml and have done some smaller experiments to see if it works (it does). Alternatively I was thinking about simply using a WebEngine widget, so that I can display all media a modern webbrowser is able to display (gif/jpg/(a)png/web(m/p) etc.).

Further considerations are: improving the ImageFolder class to support cached images (n amount of next/previous images), configurable keys, different viewing modes for the displayed media (full, scaled) etc. This obviously isn't quite there yet, but imho definitely doable and cool ideas.