摘要:
#include<QtCore/QString>#include<QtGui>#include<QtGui/QPixmap>int main(int argc,char* argv[]){ QApplication app(argc,argv); QPixmap pixmap; pixmap=pixmap.grabWindow(QApplication::desktop()->winId()); QString pic; pic="aa.jpg"; pixmap.save(pic, "JPG"); return 阅读全文
posted @ 2012-10-09 10:04
gxh973121
阅读(253)
评论(0)
推荐(0)
浙公网安备 33010602011771号