文件名称:ScreenSnaper
介绍说明--下载内容均来自于网络,请自行研究使用
基于Qt4下的截屏软件
使用了QPixmap::grabWindow(QApplication::desktop()->winId())来获得屏幕的图像
并保存在QPixmap的一个对象fullScreenMap里
再将该图像画到一个QWidget上并showFullScreen()以覆盖屏幕
之后的操作都是在这个QWidget上进行
跟QQ截图有点象
完成后点鼠标右键就有ContextMenu弹出
Esc为退出,空格键保存图像(当然也可以右键菜单保存)(Screen software based on Qt4
Using QPixmap:: grabWindow (QApplication:: desktop () ->winId ())) to get the image of the screen
And save it in an object fullScreenMap of the QPixmap
Then the image from a QWidget and showFullScreen () to cover the screen
The next operation is done on this QWidget
It's a bit like the QQ screenshot
After the completion of the right mouse button, there is a ContextMenu pop-up
Esc is the exit, the space key saves the image (and of course, it can be saved on the right menu))
使用了QPixmap::grabWindow(QApplication::desktop()->winId())来获得屏幕的图像
并保存在QPixmap的一个对象fullScreenMap里
再将该图像画到一个QWidget上并showFullScreen()以覆盖屏幕
之后的操作都是在这个QWidget上进行
跟QQ截图有点象
完成后点鼠标右键就有ContextMenu弹出
Esc为退出,空格键保存图像(当然也可以右键菜单保存)(Screen software based on Qt4
Using QPixmap:: grabWindow (QApplication:: desktop () ->winId ())) to get the image of the screen
And save it in an object fullScreenMap of the QPixmap
Then the image from a QWidget and showFullScreen () to cover the screen
The next operation is done on this QWidget
It's a bit like the QQ screenshot
After the completion of the right mouse button, there is a ContextMenu pop-up
Esc is the exit, the space key saves the image (and of course, it can be saved on the right menu))
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
ScreenSnaper\main.cpp | 735 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.cpp | 2440 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.exe | 17920 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.h | 738 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.pro | 352 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.suo | 9216 | 2009-01-13 |
ScreenSnaper\ScreenSnaper.vcproj | 7325 | 2009-01-13 |
说明.txt | 488 | 2009-01-13 |
ScreenSnaper | 0 | 2009-01-13 |