07 2022 档案

摘要:头文件加入这两句: #include <QPoint> //坐标点 #include <QMouseEvent> //鼠标事件 public: // 移动窗口的变量; bool m_isPressed; //鼠标按下标志 QPoint m_startMovePos; //开始移动的坐标点 prote 阅读全文
posted @ 2022-07-29 20:11 雾枫 阅读(773) 评论(0) 推荐(0) 编辑
摘要:代码: void DefinedTitleBar::mouseReleaseEvent(QMouseEvent* event) //鼠标释放事件 { m_isPressed = false; qDebug() << QString::fromLocal8Bit("鼠标释放:") << endl << 阅读全文
posted @ 2022-07-29 20:01 雾枫 阅读(60) 评论(0) 推荐(0) 编辑
摘要:QPixmap DefinedTitleBar::PixmapToRound(QPixmap& src, int radius) //将方形图片转为圆形,在label上进行显示 { if (src.isNull()) { return QPixmap(); } QSize size(2 * radi 阅读全文
posted @ 2022-07-28 14:46 雾枫 阅读(728) 评论(0) 推荐(0) 编辑
摘要:#include <QtXml/QDomDocument> //xml 文件操作类 QString _getXmlSproFile_path = _getObject_path; //文件路径 QString _xmlfile = _getXmlSproFile_path + "/" + "ASG_ 阅读全文
posted @ 2022-07-26 16:52 雾枫 阅读(819) 评论(0) 推荐(1) 编辑
摘要:基本操作 阅读全文
posted @ 2022-07-24 16:33 雾枫 阅读(15) 评论(0) 推荐(0) 编辑
摘要:#include <opencv.hpp> #include <iostream> using namespace cv; using namespace std; int main() { Mat src = imread("D:\\MyPicture\\a_5.jpg",1); //第一个参数: 阅读全文
posted @ 2022-07-23 12:38 雾枫 阅读(112) 评论(0) 推荐(0) 编辑
摘要:原文链接 阅读全文
posted @ 2022-07-21 15:32 雾枫 阅读(232) 评论(0) 推荐(0) 编辑
摘要:1、要被传递的原 Qlist二维数组 : 2、函数定义 3、使用函数 (直接将二维数组名传递进去) 阅读全文
posted @ 2022-07-20 14:40 雾枫 阅读(2095) 评论(0) 推荐(0) 编辑
摘要://将序列添加图表中 chart->addSeries(lineSeries0); //添加坐标轴到图表中 //chart->addAxis(xAxis, Qt::AlignBottom); //chart->addAxis(yAxis, Qt::AlignLeft); chart->setAxis 阅读全文
posted @ 2022-07-18 22:41 雾枫 阅读(480) 评论(0) 推荐(0) 编辑
摘要:上代码 _axis_X->setTickCount(10); //设置分割数(当前无效) _axis_X->setMinorTickCount(2); //每个分割数的再分割(当前无效)/ _chart->addSeries(_lineSeries); _chart->createDefaultAx 阅读全文
posted @ 2022-07-15 19:09 雾枫 阅读(464) 评论(0) 推荐(0) 编辑
摘要:懒得写了 阅读全文
posted @ 2022-07-13 16:01 雾枫 阅读(408) 评论(0) 推荐(0) 编辑
摘要:QByteArray _bcontent = _content.toUtf8(); _config.write(_bcontent); _config.close(); } 阅读全文
posted @ 2022-07-11 18:10 雾枫 阅读(203) 评论(0) 推荐(0) 编辑
摘要:我就懒得写了 阅读全文
posted @ 2022-07-11 16:27 雾枫 阅读(67) 评论(0) 推荐(0) 编辑
摘要:for (int i = 0; i < _module_List.count(); i++) { //qDebug() << "\n" << QString::fromLocal8Bit(" 第 : ") << i + 1 << QString::fromLocal8Bit("个 build 节点 阅读全文
posted @ 2022-07-10 09:25 雾枫 阅读(743) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示