Results 1 to 4 of 4

Thread: How can I create a resizealbe box like in this example

  1. #1
    Join Date
    Jun 2011
    Posts
    4
    Qt products
    Platforms
    Windows

    Question How can I create a resizealbe box like in this example

    Hey guys,

    I'm quite new to PYQT and Python.

    What I want to do is something similar to the example image in the link below. Basically There will be an image on a form, and a box a user can resize to select part of the image to crop. I have no idea what this type of box is, so google isnt really helpful.

    https://picasaweb.google.com/lh/phot...eat=directlink

    Regards,
    Phill

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How can I create a resizealbe box like in this example

    Take a look at QRubberBand

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How can I create a resizealbe box like in this example

    Bounding box?

    Scrap that, beaten by Chris

  4. #4
    Join Date
    Jun 2011
    Posts
    4
    Qt products
    Platforms
    Windows

    Default Re: How can I create a resizealbe box like in this example

    Hmm, not quite what i'm after, i want the box to stay on the screen with little handles so that once it has been placed, it can be stretched to a different size. So if I click on the rubberband again, it wont dissapear, instead, I'll be able to modify its size.

    Hmm, I think that is as clear as mud, but I cant think how to explain myself better!

Similar Threads

  1. How to Create lib in Qt.
    By shyam prasad in forum Qt Programming
    Replies: 6
    Last Post: 14th August 2012, 10:02
  2. Qt in VS does not create an .exe
    By Nazgul in forum Installation and Deployment
    Replies: 7
    Last Post: 14th August 2012, 09:34
  3. How do I create a DLL for QT
    By zartoch in forum Newbie
    Replies: 2
    Last Post: 8th May 2009, 06:28
  4. Replies: 4
    Last Post: 1st May 2009, 11:00
  5. how to create pop-ups
    By miguel_mark in forum Newbie
    Replies: 1
    Last Post: 22nd October 2007, 06:16

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.