Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Need To Position and Zoom an Image in a Clipping Box

    General and Desktop
    2
    3
    765
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TacoChaser last edited by

      Hello all,

      I'm totally new to Qt and trying to learn as I'm try to develop... fun! Not sure how to even ask about this, but here goes.

      1. I need to display a bitmap image inside some clipping area on my widget.
      2. When zoomed larger than the extents of the clipping area, I'd like to be able to "scroll" the image by clicking and dragging my mouse.
      3. I also need to be able to paint symbols that will move when I move the image.

      I really don't know where to stab at this.

      Do any of you know of any tutorials that might help me along?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Q
        Qub1 last edited by

        I've found a page with some Qt apps that allow you to edit images.

        A lot of them have their source available, so you could take a look at how they handle this.

        Here it is: http://qt-apps.org/?xcontentmode=4224

        1 Reply Last reply Reply Quote 0
        • T
          TacoChaser last edited by

          Thanks... I'll take a look.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post