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 a QDialog widget
QtWS25 Last Chance

Rotating a QDialog widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdialogrotationscreen rotation
1 Posts 1 Posters 169 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.
  • S Offline
    S Offline
    Steve King
    wrote on last edited by
    #1

    I am in need to ratate the entire output of the display, I did in this way :

    if rotate != 0 :
        scene = QGraphicScene()
        view   = QGraphicView()
        view   = setGeometry(mainFrameWindow.geometry())
        scene.addWidget(MainFrameWindow.pageMain)
        view.setScene(scene)
        view.rotate(rotate)
        view.mode(0)
    else:
        MainFrameWindow.pageMain.show()
    

    with rotate in range 0 to 270, and it is working fine.
    The problem is that in my application i have also QDialog windows, and I din't find any way to rotate them too.
    Have someone of you ever faced this kind of problem?

    1 Reply Last reply
    0

    • Login

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