Qt 无边框窗口自定义标题栏

实现了自定义标题栏的最小化,最大化(自适应任务栏),关闭,拉伸,拖曳。less 由于不想引入其余资源,因此按钮,背景都是系统提供的。 this 效果图:3d 直接上代码。rest 用法:code #include "widget.h" #include <QApplication> #include "CustomFrame.h" int main(int argc, char *argv[])
相关文章
相关标签/搜索