上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 133 下一页
摘要: 一、 1、win+r,输入:%temp% 2、弹出temp文件夹,全选删除 阅读全文
posted @ 2021-04-02 11:22 朱小勇 阅读(315) 评论(0) 推荐(0)
摘要: 1、现象 在/etc/rc.local里 source /etc/profile cd /home/wisetron/cpp/src/784_main sudo ./auto_start_matlab.sh & source /etc/profile是为了将matlab需要的依赖库加入环境变量,然后 阅读全文
posted @ 2021-03-31 19:27 朱小勇 阅读(202) 评论(0) 推荐(0)
摘要: 1、现象 在 /etc/profile里加了环境变量,但是重启这个环境变量未加入成功 2、原因 可能是被其他加载环境变量的脚本刷掉了 参考:https://blog.csdn.net/my_wings/article/details/102617631 3、解决 在.bashrc里添加 vim ~/ 阅读全文
posted @ 2021-03-31 19:11 朱小勇 阅读(1613) 评论(0) 推荐(0)
摘要: echo $PATH 阅读全文
posted @ 2021-03-31 19:06 朱小勇 阅读(2071) 评论(0) 推荐(0)
摘要: 1、基本操作 QPixmap pm = this->grab(); pm.save("111.jpg"); 只截取了当前显示的部分进行存储,未显示部分没有 2、存储QTableWidget 如果是表格,往往行数过多就会导致有些行数被隐藏掉了,可以通过将窗体高度增加的形式来存储【实际上还是只存储了显示 阅读全文
posted @ 2021-03-29 18:44 朱小勇 阅读(914) 评论(0) 推荐(0)
摘要: 一、判断文件是否存在 1.用QFileInfo::isFile()方法 二、判断文件夹是否存在1.用QFileInfo::isDir()方法2.用QDir::exists()方法 三、不确定字符串是文件还是文件夹路径1.用QFileInfo::exists()方法2.用QFile::exists() 阅读全文
posted @ 2021-03-10 14:14 朱小勇 阅读(1565) 评论(0) 推荐(0)
摘要: 1、打开网页 https://www.ipaddress.com/ 2、分别输入 github.com http://github.global.ssl.fastly.net 3、获取对应的ip 4、将两个ip追加到文件末尾 C:/windows/system32/drivers/etc/hosts 阅读全文
posted @ 2021-03-04 00:00 朱小勇 阅读(137) 评论(0) 推荐(0)
摘要: #include <iostream> #include <set> #include <vector> using namespace std; //定义训练数据 #define M 3 #define N 15 //为了计算简单,对A2={S, M, L},令S=1, M=2, L=3; //Y 阅读全文
posted @ 2021-03-03 18:26 朱小勇 阅读(68) 评论(0) 推荐(0)
摘要: 一、自定义状态笑脸 其中笑脸是png图片,通过drawPixmap,右边字体通过drawText ZStateText.h #ifndef ZSTATETEXT_H #define ZSTATETEXT_H #include <QWidget> #include "includes.h" #incl 阅读全文
posted @ 2021-02-26 14:15 朱小勇 阅读(226) 评论(0) 推荐(0)
摘要: 1、新建子界面的虚基类 uiinterface.h #ifndef UIINTERFACE_H #define UIINTERFACE_H #include <QWidget> namespace UIINTERFACE_NAME_SPACE { #define UI_WIDTH 1520 #def 阅读全文
posted @ 2021-02-23 23:30 朱小勇 阅读(403) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 133 下一页