Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127634

Custom Titlebars

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Widgets: Main Window
    • None
    • All
    • 275920de57feac59f4ab70abbe9df890732c2d19 ; d7912724074fb1ff771534771042743ac811aead, d3eca6874 (dev), 90fe9874d (dev), a1e6fed44 (dev), 5feefd307 (dev)

    Description

      Some modern applications use the titlebar area to place UI elements like searchbars or tabs. Currently only MacOS is supported to extend the client area into the titlebar. Other platforms could be supported by having a frameless window, which draws the Titlebar on its own. This could be achieved with reinterpreting the window flags 

      Qt::FramelessWindowHint
      Qt::WindowCloseButtonHint
      Qt::WindowMaximizeButtonHint
      Qt::WindowTitleHint 

      The user would need to keep care that UI elements in the titlebar do not overlap with the maximize/minimize/close buttons that are drawn.

      Attachments

        1. FrameLessTestQuick.zip
          1 kB
          Wladimir Leuschner
        2. FrameLessWindowTestWidgets.zip
          3 kB
          Wladimir Leuschner
        3. image-2024-08-27-18-08-29-026.png
          62 kB
          Tor Arne Vestbø
        4. image-2024-08-27-18-08-51-550.png
          136 kB
          Tor Arne Vestbø
        5. image-2024-08-27-18-17-59-750.png
          73 kB
          Tor Arne Vestbø
        6. image-2024-08-27-18-19-34-433.png
          62 kB
          Tor Arne Vestbø
        7. image-2024-08-27-18-27-28-060.png
          139 kB
          Tor Arne Vestbø
        8. image-2024-08-27-18-28-38-769.png
          54 kB
          Tor Arne Vestbø
        9. image-2024-08-27-18-48-01-255.png
          148 kB
          Tor Arne Vestbø
        10. image-2024-08-27-18-48-27-950.png
          151 kB
          Tor Arne Vestbø
        11. image-2024-08-27-18-49-06-938.png
          140 kB
          Tor Arne Vestbø
        12. image-2024-10-27-07-31-14-004.png
          85 kB
          赵 宇航
        13. image-2024-10-27-07-31-25-219.png
          27 kB
          赵 宇航
        14. image-2024-11-11-22-01-37-157.png
          174 kB
          Tor Arne Vestbø
        15. image-2024-11-11-22-02-20-869.png
          151 kB
          Tor Arne Vestbø
        16. image-2024-11-11-22-07-44-848.png
          140 kB
          Tor Arne Vestbø
        17. image-2024-11-11-22-09-40-373.png
          139 kB
          Tor Arne Vestbø
        18. image-2024-11-12-15-25-22-425.png
          287 kB
          Tor Arne Vestbø
        19. image-2024-11-12-15-25-49-484.png
          275 kB
          Tor Arne Vestbø
        20. image-2024-11-12-15-28-05-762.png
          265 kB
          Tor Arne Vestbø
        21. image-2024-11-12-15-28-34-874.png
          255 kB
          Tor Arne Vestbø
        22. image-2024-11-12-15-28-51-535.png
          267 kB
          Tor Arne Vestbø
        23. image-2024-11-12-15-30-01-807.png
          277 kB
          Tor Arne Vestbø
        24. image-2024-11-12-15-31-27-042.png
          258 kB
          Tor Arne Vestbø
        25. image-2024-11-12-15-31-42-542.png
          130 kB
          Tor Arne Vestbø
        26. image-2024-11-12-15-32-07-445.png
          145 kB
          Tor Arne Vestbø
        27. image-2024-11-13-12-31-32-559.png
          157 kB
          Tor Arne Vestbø
        28. image-2024-11-13-12-31-49-537.png
          166 kB
          Tor Arne Vestbø

        Issue Links

          For Gerrit Dashboard: QTBUG-127634
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              wladimir.leuschner Wladimir Leuschner
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes