技术栈

qsplitter

妙为
1 年前
qt·qsplitter·窗口分割
Qt5.15.2中加入图片资源以前用的Qt5.15.2之前的版本,QtCreator默认的工程文件是*.pro,现在用5.15.2创建工程默认的工程文件是CMameList.txt,当然在创建项目时,仍然可以使用pro工程文件用QtCreator打开CMakeList.txt 以前用习惯了pro文件,现在改成CMakeList很不习惯,现在我们在CMakeList.txt中加入资源文件
mrbone11
2 年前
开发语言·c++·qt·qsplitter
Qt-QSplitter正确设置比例简短版本:详细版本: setSizes 官方介绍如下:Sets the child widgets’ respective sizes to the values given in the list. If the splitter is horizontal, the values set the width of each widget in pixels, from left to right. If the splitter is vertical, the height of each widg