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

OSX: Qt::Tool window ignores Qt::WA_MacAlwaysShowToolWindow attribute

    XMLWordPrintable

Details

    • macOS
    • 3d5fb54eda2330d76c11a10c39fc70541eddf4a5

    Description

      Qt::Tool
      Indicates that the widget is a tool window. A tool window is often a small window with a smaller than usual title bar and decoration, typically used for collections of tool buttons. If there is a parent, the tool window will always be kept on top of it. If there isn't a parent, you may consider using Qt::WindowStaysOnTopHint as well. If the window system supports it, a tool window can be decorated with a somewhat lighter frame. It can also be combined with Qt::FramelessWindowHint.

      QWidget *w(new QWidget());
      w->setWindowFlags(Qt::Tool | Qt::FramelessWindowHint);
      w->show();

      Can be checked with widgets->windowflags example

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              sergei.nevdakh Sergei Nevdakh
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes