摘要: 1 QPixmap tempPix = pixmap.copy(x, y, 1, 1); // 获取坐标值位置处的像素图 2 imageBits = tempPix.toImage(); 3 if(imageBits.isNull() == false) 4 { 5 if(imageBits.all 阅读全文
posted @ 2021-04-19 22:46 补码 阅读(2055) 评论(0) 推荐(0) 编辑
摘要: 1 QDir dir(path); 2 QStringList filter; 3 filter<<"*.bmp"<<"*.jpg"<<"*.png"; 4 infolist = dir.entryInfoList(filter); 5 6 if(infolist.isEmpty()) 7 { 8 阅读全文
posted @ 2021-04-19 19:37 补码 阅读(911) 评论(0) 推荐(0) 编辑