-
多线程设计
mfc多线程设计,windows程序设计(MFC multithread design)
- 2017-12-22 20:27:51下载
- 积分:1
-
ZNodes
说明: qt中提供了QGphicsView,QGraphicsScene,QGraphicsItem,QGraphicsPixmapItem是QGraphicsItem的子类
分辨创建它们的实例:view,scene,item,然后通过各自的方法scene->addItem(item);view->setScene(scene);就可以达到类似下图的效果,想要进一步定制,则要继承QGraphicsItem或QGraphicsPixmapItem,然后重写paint()、boundingRect()等方法,此外如果还想要获取鼠标事件,重写mousePressEvent等事件就好了,注意,一旦重写了mousePressEvent方法,就以为了qt不会再自动处理item的任何press事件了,可以在你重写的mousePressEvent方法中最后添加QGraphicsItem::mousePressEvent(event);解决这个问题,就是说你获取到了鼠标事件,但是依然让qt处理这个鼠标事件。(QGphics View, QGraphics Scene, QGraphics Item and QGraphics PixmapItem are provided in qt. They are subclasses of QGraphics Item.
Resolve the instances of creating them: view, scene, item, and then use their respective methods scene - > addItem (item); view - > setScene (scene); you can achieve the effect similar to the figure below. If you want to further customize, you need to inherit QGraphics Item or QGraphics Pixmap Item, and then rewrite paint (), boundingRect () and other methods, and if you want to do so. If you want to get mouse events, rewrite events like mousePressEvent. Note that once you rewrite the mousePressEvent method, you think that QT will no longer automatically handle any press events of item. You can finally add QGraphics Item:: mousePressEvent (event) to your rewritten mousePressEvent method to solve this problem. That is, you get the mouse event, but still let QT handle the mouse event.)
- 2020-06-16 20:20:01下载
- 积分:1
-
live555海思平台移植
关于live555的移植和使用
实现从海思共享内存获取数据给rtsp服务器进行流转发(About the migration and use of live555
The implementation of data from the Hess Shared memory to the RTSP server flow)
- 2020-06-29 12:00:02下载
- 积分:1
-
AVR_memory_Malloc
对于有限的AVR内存分配,本程序能够非常好地解决内存分配问题,传统的malloc存在一定的不好的地方,因为资源有限。(avr memory malloc program)
- 2013-08-06 11:27:00下载
- 积分:1
-
FTool
使用MFC技术演示了如何安装和加载驱动,驱动代码在另外一个上传文件中(Using MFC technology to demonstrate how to install and load drivers)
- 2019-03-08 10:46:57下载
- 积分:1
-
C_koch
说明: C语言实现的koch,
可以输入分形的维数,
主要是了解C语言的图形输入格式,
以及分形中经典的Koch(C language of koch, to be imported into the fractal dimension, understanding is the C language graphics import formats, as well as fractal classic Koch)
- 2006-03-15 11:18:50下载
- 积分:1
-
SreenServer
远端屏幕共享,获取屏幕截图并保存,值得学习(Remote screen sharing, take a screenshot and save it, it is worth learning)
- 2014-08-21 17:38:50下载
- 积分:1
-
LCD 12864
LCD 12864驱动,STM32使用,基于Keil Vision5版本(LCD 12864 driver, STM32 use, based on Keil Vision5 version)
- 2017-07-13 09:09:36下载
- 积分:1
-
streamer
C++ 上位机原程序,测试USB3.0 和 FPGA 之间流传输速度。包含所有源代码。速度传输稳定,显示实时速度(The C++ host computer program tests the streaming speed between USB3.0 and FPGA. Contains all source code. Speed transmission is stable, showing real-time speed)
- 2020-07-19 23:18:49下载
- 积分:1
-
string
嵌入式开发常用字符串处理接口的实现,这样可以大大提高程序的可移植性(Embedded developers to achieve common string processing interface, which can greatly improve program portability)
- 2014-06-09 10:37:41下载
- 积分:1