-
POLYCAL
VC++多项式的计算小程序,带输入输出界面。(VC++ Polynomia small program, with input and output interfaces.)
- 2021-02-13 22:49:49下载
- 积分:1
-
Qt从入门到精通
说明: QT使用教程 Qt 入门中文资料 Qt从入门到精通(QT from entry to proficiency)
- 2020-07-01 01:40:01下载
- 积分: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
-
ctargcterknumerators
能够查看递归的详细过程,对于初学者学习很有帮助的()
- 2018-06-16 15:03:04下载
- 积分:1
-
Mynote
实现类似window自带的文本编辑小程序(Implementation of text editing small program similar to window)
- 2017-12-16 23:13:46下载
- 积分: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
-
7641045
用于ply格式文件ascii与binary编码互相转换()
- 2018-06-15 18:51:07下载
- 积分:1
-
SPC-master
功能强大的spc软件,基于devexpress界面库(Powerful SPC software, based on devexpress interface library)
- 2015-06-04 11:10:16下载
- 积分:1
-
VVCMFCTreeLisC
VC MFC 实现的TreeLList控件,左边为树,右边为列表
(VC MFC achieve the TreeLList of controls on the left of the tree, the right to list)
- 2012-08-11 23:04:18下载
- 积分:1
-
MFCexp4_7
MFC 小型试验 画出圆角矩阵 线段等在选定的边界内移动鼠标(Small-scale test matrix to draw rounded MFC segments, etc. within the boundaries of the selected move the mouse)
- 2011-10-22 10:06:59下载
- 积分:1