Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

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

    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. Thanks it works ! (but I put the setGeometry after the showFullScreen)

    2. Ok I'll try

    Thanks again.


Log in to reply