Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Rotate QpushButton with text
Forum Updated to NodeBB v4.3 + New Features

Rotate QpushButton with text

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 984 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.
  • A Offline
    A Offline
    Akhi
    wrote on last edited by
    #1

    I am developing a project on raspberry pi with the help of QT. i am accessing raspberry pi board through HDMI cable on Desktop. now i want to rotate GUI of mainwindow as i want to connect it with LCD (800*480). inshort right now my GUI is vertical and it is display same as i am connecting it to LCD. so i want to rotate it to -90 degree (horizontally). Please reply

    jsulmJ 1 Reply Last reply
    0
    • A Akhi

      I am developing a project on raspberry pi with the help of QT. i am accessing raspberry pi board through HDMI cable on Desktop. now i want to rotate GUI of mainwindow as i want to connect it with LCD (800*480). inshort right now my GUI is vertical and it is display same as i am connecting it to LCD. so i want to rotate it to -90 degree (horizontally). Please reply

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Akhi I would say you should rather rotate the whole screen not just your app or even parts of it like buttons. But this needs to be done on OS level.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • A Offline
        A Offline
        Akhi
        wrote on last edited by
        #3

        Thank you for reply @jsulm :)
        Actually i am working on Ubuntu mate (Linux) and i have rotated the screen also but, in Ubuntu mate OS screen is rotates onlu 180 degree only (Just like mirror image). it is not getting rotate +90 degree or -90 degree.
        Is there any other option to rotate?????

        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