Thread
:
Maemo5 & PyQT4 - Implementing an image-viewer.
View Single Post
RobbieThe1st
2010-10-09 , 08:35
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#
1
I am working on developing a comic/image viewer frontend for an application I'm designing.
Now, what I'd like to end up with is similar to the built-in image viewer(at least, the actual "show image" part), but with some differences.
I'm looking at:
1. Displaying an image with some text below it. Currently I'm using QTextBrowser, which seems to do the job.
2. Scaling of both text and image. I just need to be able to either set a % or get the current width and be able to set a pixel #.
2.5. Relatedly, I need to figure out how to get button presses of the zoom/volume keys.
3. Having portrait mode support(at least manually, through a setting).
4. Being able to slide your finger on the touchscreen to switch between images(Like how the built-in viewer does it).
5. long-press/right-click menu for whatever I end up using as my image/text viewer. How can I set this up?
6. Some sort of "multi-page" interface, like the image-viewer: You can click the "back" button in the upper right-hand corner to view another page(in that case, a list of images). In my case, it will be a QTreeWidget object.
Can you guys point me to some pages, tutorials and or code-snippets that might help me with these things?
Thanks,
-RobbieThe1st
Quote & Reply
|
The Following User Says Thank You to RobbieThe1st For This Useful Post:
noobmonkey
RobbieThe1st
View Public Profile
Send a private message to RobbieThe1st
Find all posts by RobbieThe1st