06 2021 档案

摘要:点击查看代码 #define _GNU_SOURCE//第一步,定义这个宏 #include<stdlib.h> #include<stdio.h> #include<unistd.h> #include<sys/types.h> #include<sys/stat.h> #include<fcnt 阅读全文
posted @ 2021-06-28 20:52 youlj 阅读(167) 评论(0) 推荐(0)
摘要:点击查看代码 void Download::on_downloadBtn_clicked() { if(file.exists()) { if(isDownload==false) { ui->downloadBtn->setText("暂停"); isDownload=true; if(isDis 阅读全文
posted @ 2021-06-27 14:24 youlj 阅读(1304) 评论(0) 推荐(0)
摘要:点击查看代码 class Widget : public QWidget { Q_OBJECT public: enum languageType { inValidValue=0x0,//无效值(调用testFlag()时这个值是无效的,除0之外) cPlusPlus, cSharp, goLan 阅读全文
posted @ 2021-06-23 22:36 youlj 阅读(2607) 评论(1) 推荐(0)
摘要:点击查看代码 m_nameLabel=new QLabel("我是传奇",this); //m_nameLabel->show(); m_nameLabel->resize(70,50); m_nameLabel->setAlignment(Qt::AlignCenter); m_nameLabel 阅读全文
posted @ 2021-06-10 19:36 youlj 阅读(160) 评论(0) 推荐(0)
摘要:demo1 点击查看代码 //2021.6.2 //(第二个参数设置成IMREAD_GRAYSCALE就是灰度图像,其他效果可设置第二个标志参数) Mat img = imread("C:\\Users\\AIT\\Pictures\\Saved Pictures\\3.png"); namedWi 阅读全文
posted @ 2021-06-06 10:08 youlj 阅读(131) 评论(0) 推荐(0)