Results 1 to 3 of 3

Thread: "sensitising" an image

  1. #1
    Join Date
    Jan 2006
    Location
    Munich, Germany.
    Posts
    111
    Thanks
    29
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default "sensitising" an image

    Hello all,
    I've got a big image that I'd like to use as the UI in an application. A small part of the thing is attached.

    What's the best way of senseitising it?
    Ideally, I'd like to click on the image somewhere and change that small part of the image (by covering it with another smaller image OR with a small widget - giving the appearance of something changing state).

    I assume I'll have to cover all of my "active" regions with widgets or images. which is best?
    What's best for tracking the active areas if the user resizes the top widget? Should I just scale the original "measured" map, or should I go looking for things in the original image?

    Or should I make a "farm" of widgets instead of using the original image?
    What's the best way of doing this? any ideas?

    Thanks
    K
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: "sensitising" an image

    IMO it's just the perfect place to use the canvas architecture (either QCanvas from Qt3, QtCanvas (available from TT ftp site) from Qt4 or wait for QGraphicsView when Qt 4.2 is released).

  3. The following user says thank you to wysota for this useful post:

    TheKedge (28th June 2006)

  4. #3
    Join Date
    Jun 2006
    Posts
    11
    Thanked 4 Times in 4 Posts

    Default Re: "sensitising" an image

    As wysota this would probably best be solved by first drawing the image on some widget and then drawing other, smaller, images on top of that image when the user clicks. The advantage of this is that you can easily map out the coordinates of the places where the image shall be changed in a image-editor.

  5. The following user says thank you to eriwik for this useful post:

    TheKedge (28th June 2006)

Similar Threads

  1. Fast image drawing/scaling in Qt 3.3
    By eriwik in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2006, 10:45
  2. problem with the back ground image
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 17th April 2006, 21:34
  3. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  4. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01
  5. reading in image from 24bit char*
    By cbeall1 in forum Qt Programming
    Replies: 2
    Last Post: 20th February 2006, 00:09

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.