问题描述
我是 Qt C++ 的新手.我下载了最新的 Windows 版本,做了一些教程,效果很好.
I'm new to Qt C++. I downloaded the latest windows version, did some tutorials and its great.
我看到了 Qt 框架具有的一些样式选项并且它很棒,但是现在我需要构建我的应用程序,它的主窗口(窗体)是它设计的/带有图像的没有矩形边框(无边框?).
I saw some styling options that the Qt framework has and its great, but now I need to build my application that its main windows (form) it designed/skinned with image without the rectangle borders (borderless?).
我如何用 Qt 做到这一点?
How can I do it with Qt?
推荐答案
如果您正在寻找小部件形状的一些高级样式,也许这个例子会对您有所帮助:
If your looking for some advanced styling in the shape of a widget, maybe this example will help you:
异形时钟示例
或者也许您只是在寻找这种标志:Qt::CustomizeWindowHint
或只是 Qt::FramelessWindowHint
.
Or maybe you're simply looking for this kind of flag: Qt::CustomizeWindowHint
or simply Qt::FramelessWindowHint
.
这篇关于使用 for Qt 制作无边框窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!