Qt::windowflags enumeration type (for Qt::widget qt::window Qt::D ialog, where qt::widget is dual-use, such as a new widget without a parent widget, it is a separate window, Otherwise, it is a child widget)

Source: Internet
Author: User

    • Qt::widget: The default value of the Qwidget constructor, such as a new window part without a parent widget, is a separate window, or a child widget.
    • Qt::window: Regardless of whether there is a parent widget, the new window part is a window, usually with a window border and a title bar.
    • Qt::D ialog: A new Window widget is a dialog box
    • Qt::sheet: The new widget is a Macintosh form.
    • Qt::D rawer: The new widget is a Macintosh drawer.
    • Qt::P opup: The new widget is a pop-up top-level window.
    • Qt::tool: The new widget is a tool window, which is usually a small window for displaying tool buttons.
      Port, if a tool window has a parent widget, it will appear on top of the parent widget, otherwise it will be equivalent to using the Qt::windowstaysontophint display.
    • Qt::tooltip: The new widget is a hint window with no title bar and window border.
    • Qt::splashscreen: The new widget is a welcome window, which is the default value for the Qsplashscreen constructor.
    • Qt::D esktop: The new widget is the desktop, which is the default value of the Qdesktopwidget constructor.
    • Qt::subwindow: The new window part is a child window, regardless of whether the widget has a parent widget.
    • Qt::x11bypasswindowmanagerhint: completely ignores the window manager, its role is to produce a window without the manager's windowless border, at this time, the user cannot use the keyboard for input, unless manually call Qwidget:: The Activatewindow () function.
    • Qt::framelesswindowhint: creates a window without a window border, at which time the user cannot move the window and change its size.
    • Qt::customizewindowhint: Closes the default window caption prompt.

http://blog.csdn.net/ly305750665/article/details/77937997

Qt::windowflags enumeration type (for Qt::widget qt::window Qt::D ialog, where qt::widget is dual-use, such as a new widget without a parent widget, it is a separate window, Otherwise, it is a child widget)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.