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

Support custom title bar!

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • P1: Critical
    • None
    • None
    • Widgets: Main Window
    • None

    Description

      Qt does not offer anyway to make a custom title bar.

      One need to do 

          setWindowFlags(windowFlags() | Qt::FramelessWindowHint | Qt::Window); 

      then try to implement all the native window functionalities manually. Which on top of being annoyingly hard, is made even harder with Qt6.

      Why? There are virtually no mainstream application that do not have a custom title bar : Chrome, Mozilla, Visual Studio, Blender, solidworks, microsoft office... The list is endless. But can you name such mainstream apps that do NOT have a custom title bar? Any?

      It is even key for an application to look professional.

      That Qt does not offer support for this is simply ridiculous.

      It should be as easy as : 

      mainwindow->setTitleBarWidget(myTitleBarWidget)

      That should have been done 15 years ago.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            paddle Pierre B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes