copy "$(TargetPath)" "C:\Qt\Qt5.9.8\Tools\QtCreator\bin\plugins\designer\" Read More
posted @ 2024-07-13 20:58 _KikyoBK Views(2) Comments(0) Diggs(0) Edit
转载:https://www.shuzhiduo.com/A/kmzL3jjKdG/ windows下方案:读配置文件之前添加以下语句: settings.setIniCodec(QTextCodec::codecForName("UTF-8"));//在此添加编码格式设置(如果INI文件编码为UT Read More
posted @ 2023-03-02 17:01 _KikyoBK Views(495) Comments(0) Diggs(0) Edit
写一个新类继承QFileSystemModel,重写data函数: QVariant QCustomFileSystemModel::data(const QModelIndex &index, int role) const { if(role == Qt::DecorationRole) { i Read More
posted @ 2022-07-12 19:54 _KikyoBK Views(326) Comments(0) Diggs(0) Edit
1 void XXX::paintEvent(QPaintEvent *event) 2 { 3 QPainter painter(this); 4 //圆角矩形范围 5 QPainterPath path; 6 path.addRoundedRect(this->rect(),10,10); 7 Read More
posted @ 2022-05-06 20:25 _KikyoBK Views(384) Comments(0) Diggs(0) Edit
转载:https://blog.csdn.net/u012877472/article/details/49718915 列出所有进程,需要调用CreateToolHelp32Snapshot函数先得到系统进程快照的句柄,函数包含在<tlhelp32.h>头中。函数的具体格式如下: HANDLE C Read More
posted @ 2022-02-28 21:10 _KikyoBK Views(247) Comments(0) Diggs(0) Edit
[转载]:https://blog.csdn.net/u014134886/article/details/52864773 1 RECT rc; 2 ::SystemParametersInfo(SPI_GETWORKAREA, 0, (PVOID)&rc, 0); //获取屏幕工作区大小 3 R Read More
posted @ 2022-02-18 11:03 _KikyoBK Views(54) Comments(0) Diggs(0) Edit
转载:https://www.cctry.com/thread-289877-1-1.html 内容见上。 结论: Read More
posted @ 2022-02-14 14:15 _KikyoBK Views(311) Comments(0) Diggs(0) Edit
1.安装vs2017,python3; 2.创建vs空项目,不要为解决方案创建目录,添加main.cpp; 3.编译配置:release,x64; 4.设置python安装路径的include目录到附加包含目录(属性->c/c++->常规->附加包含目录); 5.设置python38.lib到附加依 Read More
posted @ 2022-01-15 13:00 _KikyoBK Views(34) Comments(0) Diggs(0) Edit
转载:https://www.cnblogs.com/hrhguanli/p/4007100.html 1. 用途和基本操作用于不同进程之间的内存共享操作, 能够将一个物理文件映射到内存其中然后直接利用分配到的或者打开的命名共享内存的地址空间实现资源共享訪问 2. 相关流程1) 新建命名共享内存首先 Read More
posted @ 2022-01-14 19:22 _KikyoBK Views(892) Comments(0) Diggs(0) Edit
转载:https://blog.csdn.net/fly910905/article/details/79634483 https://blog.csdn.net/weixin_35949386/article/details/113951727 注:下面的sql语句中都有FROM DUAL,个人使 Read More
posted @ 2022-01-06 10:14 _KikyoBK Views(735) Comments(0) Diggs(0) Edit