Qt World Summit: Submit your Presentation

Rectangle wrap around

  • 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.

  • Lifetime Qt Champion

    You can try use setGeometry to span multiple screens and then call showFullscreen()
    It might have issues on linux.

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

    1. Thanks it works ! (but I put the setGeometry after the showFullScreen)

    2. Ok I'll try

    Thanks again.

Log in to reply