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. Inverting QWidgets
Qt 6.11 is out! See what's new in the release blog

Inverting QWidgets

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 905 Views 1 Watching
  • 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
    secondVISION
    wrote on last edited by
    #1

    Hey, I'm wondering if it's possible to invert a QWidget.
    I currently have a QWidget X, a field with more widgets on it.
    In my mainwindow I put two times the QWidget X in a vertical layout.
    But I want the top X-widget to be inversed.

    Here's a picture for more information:
    !http://i39.tinypic.com/dn2c90.jpg(Click)!

    Thank you!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      Hi,

      I don't think Qt API allows to do this; you could write you own Widget subclass and provide API to manage layouts in order to invert Widgets position

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        secondVISION
        wrote on last edited by
        #3

        Alright, thank you.

        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