問題描述
我是 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 制作無邊框窗口的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!