Results 1 to 2 of 2

Thread: User defined rotations and scales with the mouse?

  1. #1
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Question User defined rotations and scales with the mouse?

    Hi,

    Do anyone knows of an example for implementing user defined rotations and scales using the mouse and using QTransform or QMatrix4x4? For example having a polygon on a 2D canvas, to allow the user to scale and rotate the box with the mouse.

    Thanks,
    Carlos

  2. #2
    Join Date
    Jul 2010
    Posts
    53
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: User defined rotations and scales with the mouse?

    Qt demonstrations -> Affine Transformations

Similar Threads

  1. QUrl with user-defined structure
    By csoler in forum Qt Programming
    Replies: 0
    Last Post: 5th April 2010, 10:29
  2. QSqlQueryModel + user defined roles
    By NoRulez in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2009, 07:29
  3. Resizing user defined QGraphicsItem
    By manti_madhu in forum Qt Programming
    Replies: 0
    Last Post: 9th September 2009, 09:35
  4. Using User Defined Libraries
    By csvivek in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2008, 19:47
  5. User Defined Signal?
    By rajeshs in forum Newbie
    Replies: 2
    Last Post: 18th December 2007, 11:42

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.