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

        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