Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

List View Zooming

$
0
0
Hello, I’m trying to make a lightweight pdf-like viewer based on a proprietary format. I’m relatively new to Qt (strict hobby), and I was thinking of using list view to render each page. My issue is that I’m having difficulty with zooming feature on lsit view. I thought maybe just scaling the contentitem will be fine, but this seems to change the area by which the view registers mouse events. For instance, scaling by 0.5, I can only scroll if my mouse is over a smaller rectangle, and not the whole listview item. 1) Any ideas about how to fix this? 2) Do you think QML listview is the best way to implement a pdf-like renderer? If not, any other recommendations? Thanks!

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images