-
C
说明: C语言很经典的18个程序,对C语言的学习很有帮助。( a classic 18 program in C language)
- 2014-03-23 13:59:19下载
- 积分:1
-
95 PCF8591四路电压测量AD
说明: 基于51单片机,芯片stc89c52,使用PCF8591ad转换器的源代码(Based on 51 MCU, chip stc89c52, using PCF8591ad converter source code)
- 2020-06-20 00:40:02下载
- 积分: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
-
CAMERTERMINAL
串口拍照源程序,通过串口得到摄像头部分的JPEG数据,再把数据还原成JPG图像(Serial camera source, camera part of the JPEG data through the serial port, and then restore the data into a JPG image)
- 2013-01-30 21:26:21下载
- 积分:1
-
testprog
一个简单好用的进度条例子程序
vc++开发
可以在此基础上增加自绘功能(An easy-to-use progress Ordinance the subroutine vc++ development to increase self-drawn on this basis)
- 2012-08-07 16:25:25下载
- 积分:1
-
omnet++,aloha协议
omet++是一款优秀的网络仿真软件,可以用它模拟各种网络协议。而,Aloha协议作为最早的网络路由通信协议,其重要性不言而喻。
- 2022-08-12 08:18:26下载
- 积分:1
-
des 加密算法
des 加密算法 CC2541里使用的des加密算法。速度快 内存少
- 2023-07-20 11:45:05下载
- 积分:1
-
matlab-classic-programs
说明: 常用的matlab算法源码,包括统计分析、图形图像等(some matlab source code programs about statastic analysis and figure processing.)
- 2011-03-28 19:47:51下载
- 积分:1
-
MFC-ADODemon
VC/MFC ADO连接数据库,简单易用,且封装好了一个类.(VC/MFC ADO connect to the database, easy to use, and a wrapper class.)
- 2011-02-15 16:51:16下载
- 积分:1
-
FCMandCFCM
说明: FCM算法是应用最广泛的聚类分析方法之一,CFCM也是模糊数学中的一种聚类分析算法。
现在给出的这两个算法是C++代码实现的。 (FCM algorithm is the most widely used method of cluster analysis, CFCM is a kind of fuzzy clustering analysis in the algorithm. Now given by the two algorithms is the C++ code to achieve.)
- 2009-07-27 17:03:28下载
- 积分:1