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

OSX: Qt::Tool window ignores Qt::FramelessWindowHint

    XMLWordPrintable

Details

    • macOS
    • ba75f604499d3c4fc15930731814fdb9415fdc83

    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

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

        Activity

          People

            irfan.omair@gmail.com irfan B omair
            sergei.nevdakh Sergei Nevdakh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes