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

浙公网安备 33010602011771号