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. Enable Windows Autosize function on Frameless QWidget
QtWS25 Last Chance

Enable Windows Autosize function on Frameless QWidget

Scheduled Pinned Locked Moved Solved General and Desktop
framelessautosizewindows
4 Posts 2 Posters 2.4k 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.
  • W Offline
    W Offline
    wrekler
    wrote on last edited by
    #1

    I'm wondering if there is a simple way to enable autosize function on frameless qwidget. Autosize is that option when you drag a window on desktop border and it resize accordnly to border position (top -> maximize, right -> half right desktop etc). I'm able to drag a frameless widget but I not able to find what can I do to enable that function when my mouse hit desktop border

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Its possible with native api.
      https://github.com/dfct/TrueFramelessWindow

      This supports aero snap on windows so you can check out what its implemented.

      W 1 Reply Last reply
      2
      • mrjjM mrjj

        Hi
        Its possible with native api.
        https://github.com/dfct/TrueFramelessWindow

        This supports aero snap on windows so you can check out what its implemented.

        W Offline
        W Offline
        wrekler
        wrote on last edited by
        #3

        @mrjj said in Enable Windows Autosize function on Frameless QWidget:

        Hi
        Its possible with native api.
        https://github.com/dfct/TrueFramelessWindow

        This supports aero snap on windows so you can check out what its implemented.

        I used this and I added my application on it and it works!
        There is something to fix like the right mouse button on the system buttons that hides the entire toolbar making the application unable to move!

        mrjjM 1 Reply Last reply
        0
        • W wrekler

          @mrjj said in Enable Windows Autosize function on Frameless QWidget:

          Hi
          Its possible with native api.
          https://github.com/dfct/TrueFramelessWindow

          This supports aero snap on windows so you can check out what its implemented.

          I used this and I added my application on it and it works!
          There is something to fix like the right mouse button on the system buttons that hides the entire toolbar making the application unable to move!

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @wrekler
          ok. Im not sure what system buttons are.
          But yes, its most likely there are bugs as its pretty involving across
          platforms to support such decoration less window.

          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