Results 1 to 2 of 2

Thread: Resize controls on canvas item

  1. #1
    Join Date
    Mar 2010
    Location
    Valencia (Spain)
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Resize controls on canvas item

    Id like to draw and resize boxes in a canvas.
    Is there any way to add resize controls in a QCanvasItem (you know, these 8 black squares) , so that the user can resize a QCanvasRectangle?

    Thank you!

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Resize controls on canvas item

    No, there is not. You will need to do that yourself. See http://th30z.netsons.org/2010/01/qt4-image-crop-item/ for a start.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. How to resize a layout item?
    By lni in forum Qt Programming
    Replies: 3
    Last Post: 22nd February 2009, 09:53
  2. Hiding controls changes spacing of other controls
    By MrGarbage in forum Qt Programming
    Replies: 1
    Last Post: 18th December 2007, 21:47
  3. Child windows in QCanvas as a canvas item
    By incubator in forum Qt Programming
    Replies: 8
    Last Post: 18th July 2006, 15:50
  4. Replies: 3
    Last Post: 17th July 2006, 18:57
  5. Rotating canvas item on its own center
    By cbeall1 in forum Qt Programming
    Replies: 4
    Last Post: 6th March 2006, 01:41

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.