上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: public bool downloadLfpFile(string filePath, string callback)//参数:下载文件全路径,回调函数 { WebClient client = new WebClient(); string url = filePath; Stream str 阅读全文
posted @ 2021-11-23 17:12 hxqmw 阅读(266) 评论(0) 推荐(0) 编辑
摘要: map<int, int> a; a[10] = 1; a[2] = 2; a[30] = 3; a[4] = 4; a[50] = 5; a[32] = 6; for(map<int, int>::iterator it = a.begin();it != a.end();it++ ) { LOG 阅读全文
posted @ 2021-10-27 19:58 hxqmw 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 安装jsdom npm install jsdom 安装jquery npm install jquery引入jquery const jsdom = require('jsdom');const {JSDOM} = jsdom;const {document} = (new JSDOM('<!do 阅读全文
posted @ 2021-10-19 19:03 hxqmw 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 起因:由于项目用到大量的RadioButton,但RadioButton无法让文字居中显示,这样在不同分辨率下,文字的位置不在控件中间,影响美观。 目标:自定义一个组件,QRadioButton + QLabel 组合,使文字居中显示,并且具有QRadioButton的功能。 步骤: 一、自定义组件 阅读全文
posted @ 2021-08-27 17:25 hxqmw 阅读(626) 评论(0) 推荐(0) 编辑
摘要: 1、创建自定义控件(略),参考各大神的blog; 2、项目中将控件拖放到UI界面后,编译报错: 无法打开sceradiobutton.h(我的自定义控件是sceradiobutton) 解决:将自定义控件类.h, .cpp添加到项目中 3、再次编译,提示找不到ui_sceradiobutton.h文 阅读全文
posted @ 2021-08-26 11:24 hxqmw 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 版本需要和QTCreator一致,否则列表不会显示 如 那么,需要编译64bit的dll及lib 放置路径: 阅读全文
posted @ 2021-08-25 17:09 hxqmw 阅读(557) 评论(0) 推荐(0) 编辑
摘要: OBS Studio软件,在Windows10系统上,要设置节能模式才能正常运行,否则添加桌面黑屏。 手动设置步骤如下: 自动设置(添加注册表): bat命令 set recordPath=“d:/obs.exe” obs.exe所在安装路径 reg add HKEY_CURRENT_USER\So 阅读全文
posted @ 2021-08-11 16:32 hxqmw 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 自己开发的软件有时候需要用管理员权限才能正常运行。 而这个软件发行给用户时,必须设置管理员权限运行,这就多了一个操作步骤。 用修改注册表方式可以解决这一问题。 以本地SceRenameTool.exe为例说明: 刚安装好后,右键属性是这样的,管理员身份运行未被勾选。 打开cmd.exe Window 阅读全文
posted @ 2021-08-11 16:12 hxqmw 阅读(1573) 评论(0) 推荐(0) 编辑
摘要: QT 控件设置提示 ui->widget->setToolTip("tips"); StyleSheet: QToolTip { border: 0px solid; background:red; color:#ffffff; } 阅读全文
posted @ 2021-08-04 13:22 hxqmw 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 路径:安装目录 E:\Program Files (x86)\Caphyon\Advanced Installer 15.7\dictionaries 阅读全文
posted @ 2021-07-30 13:44 hxqmw 阅读(109) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页