qt去除标题栏显示
发布日期:2021-06-30 11:56:55 浏览次数:2 分类:技术文章

本文共 596 字,大约阅读时间需要 1 分钟。

代码如下:

this->setWindowFlags(Qt::FramelessWindowHint);

在qt的帮助文档中可以看到如下:

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. On macOS, tool windows correspond to the

转载地址:https://jackzhang.blog.csdn.net/article/details/103818838 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:SQL两张表中有关联id,但是字段名不同查询
下一篇:mysql查询出现QSqlQuery::value: not positioned on a valid record

发表评论

最新留言

路过,博主的博客真漂亮。。
[***.116.15.85]2024年04月21日 04时27分29秒