文件名称:remotecontrolledcar
- 所属分类:
- android开发
- 资源属性:
- 上传时间:
- 2017-12-03
- 文件大小:
- 16kb
- 下载次数:
- 0次
- 提 供 者:
- rehali*******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The user is then asked to select an image file using QFileDialog::getOpenFileName(). The selected file is loaded into a QImage. Using a QImage lets us ensure that the selected file is a valid image, and it also allows us to immediately display the image in the dialog using setPixmap().
Next the image is streamed into a QBuffer using a QDataStream. This gives us the size, which we then use to create() our shared memory segment. Creating a shared memory segment automatically attaches the segment to the process. Using a QBuffer here lets us get a pointer to the image data, which we then use to do a memcopy() from the QBuffer into the shared memory segment.
Next the image is streamed into a QBuffer using a QDataStream. This gives us the size, which we then use to create() our shared memory segment. Creating a shared memory segment automatically attaches the segment to the process. Using a QBuffer here lets us get a pointer to the image data, which we then use to do a memcopy() from the QBuffer into the shared memory segment.
相关搜索: android
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
remotecontrolledcar\car\car.cpp | 4532 | 2010-09-10 |
remotecontrolledcar\car\car.h | 2736 | 2010-09-10 |
remotecontrolledcar\car\car.pro | 716 | 2010-09-10 |
remotecontrolledcar\car\car.xml | 416 | 2010-09-10 |
remotecontrolledcar\car\car_adaptor.cpp | 3631 | 2010-09-10 |
remotecontrolledcar\car\car_adaptor.h | 3597 | 2010-09-10 |
remotecontrolledcar\car\main.cpp | 3016 | 2010-09-10 |
remotecontrolledcar\controller\car.xml | 416 | 2010-09-10 |
remotecontrolledcar\controller\car_interface.cpp | 2954 | 2010-09-10 |
remotecontrolledcar\controller\car_interface.h | 4173 | 2010-09-10 |
remotecontrolledcar\controller\controller.cpp | 2910 | 2010-09-10 |
remotecontrolledcar\controller\controller.h | 2592 | 2010-09-10 |
remotecontrolledcar\controller\controller.pro | 782 | 2010-09-10 |
remotecontrolledcar\controller\controller.ui | 1586 | 2010-09-10 |
remotecontrolledcar\controller\main.cpp | 2299 | 2010-09-10 |
remotecontrolledcar\remotecontrolledcar.pro | 241 | 2010-09-10 |
remotecontrolledcar\car | ||
remotecontrolledcar\controller | ||
remotecontrolledcar |