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. Rectangle wrap around
Forum Update on Monday, May 27th 2025

Rectangle wrap around

Scheduled Pinned Locked Moved Unsolved General and Desktop
multi-screenwrap around
3 Posts 2 Posters 800 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
    Azalkor
    wrote on 16 Apr 2018, 09:15 last edited by Azalkor
    #1

    Hello,

    I'm working on a fullscreen project and I'd have two questions :

    1. Is it possible to display my window in fullscreen on a multi screen setup ?
    2. I need to make a rectangle wrap around my window, I mean that if it goes beyond the right edge, the exceeding part would be displayed on the left edge of my window, do you know how I could do that ?

    Thanks a lot guys.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 16 Apr 2018, 12:33 last edited by
      #2

      Hi
      1:
      You can try use setGeometry to span multiple screens and then call showFullscreen()
      http://doc.qt.io/qt-5/qwidget.html#showFullScreen
      It might have issues on linux.

      2:
      Only by drawing it by hand with QPainter. Im not aware of anything that would
      be able to do that automatically.

      1 Reply Last reply
      4
      • A Offline
        A Offline
        Azalkor
        wrote on 16 Apr 2018, 13:33 last edited by
        #3
        1. Thanks it works ! (but I put the setGeometry after the showFullScreen)

        2. Ok I'll try

        Thanks again.

        1 Reply Last reply
        0

        1/3

        16 Apr 2018, 09:15

        • Login

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