View Single Post
Posts: 842 | Thanked: 1,197 times | Joined on May 2010
#3
@noobmonkey:
Thanks.

1. Yea, I have QTextBrowser code working, but I'm not sure it will let me do what I want(especially #2).
2. Thing is, some comics and images look fine scaled down to the resolution of the screen. Some don't.
I intend to have an back-end option that will allow the user to select between scrolling(full-size) and scaled to the screen-size.
Making it match the width, that's easily done. Its getting access to a function that allows me to scale the image onscreen to whatever dimensions I choose that's the issue. More importantly, I need to be able to scale the image [i]using a good[/url] scaling algorithm, just like with the image viewer. Nearest-neighbor etc. just won't do.
Now, last I checked, I could add a pixel-width to the img in the HTML code I'm sending to QTextBrowser, but I'm not sure I could externally change it without reloading the whole code etc. This may be the best option, but I'm really wondering if there's a better widget.

With 3, thanks for that. However, do you know of any -manual- rotation function? I'd like to be able to lock it in portrait mode based on a setting or two.

4. Alright, but there's got to be some sort of library for doing this; it seems kludgy to simply poll the cursor whenever the mouse "button" is down, and then try to extrapolate motion from that.

5. Yes, that's what I mean - I'm just slightly worried about content inside the QTextView(etc) overriding my menu - I'm trying to make the menu appear anywhere, not just where there's no image.

6. Alright, I'll see what I can do...
 

The Following User Says Thank You to RobbieThe1st For This Useful Post: