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

Rectangle wrap around

Scheduled Pinned Locked Moved Unsolved General and Desktop
multi-screenwrap around
3 Posts 2 Posters 1.1k Views 2 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.
  • A Offline
    A Offline
    Azalkor
    wrote on 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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 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

        • Login

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