Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Rotating Image.
Forum Update on Monday, May 27th 2025

Rotating Image.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.9k Views
  • 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.
  • M Offline
    M Offline
    MyQT
    wrote on 27 Nov 2012, 14:22 last edited by
    #1

    Hi,

    I have an image added in Qlabel in my UI application.
    Now requirement has come to raotate it.
    is it possible to rotate the image added in static Qlabel?
    Please let me know if there is any way of doing this.
    Thanks.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on 27 Nov 2012, 14:45 last edited by
      #2

      You can use "QImage::transformed":http://qt-project.org/doc/qt-4.8/qimage.html#transformed-2 function with "QTransform::rotate":http://qt-project.org/doc/qt-4.8/qtransform.html#rotate as the first argument to rotate your QImage

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0

      1/2

      27 Nov 2012, 14:22

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved