-
1
说明: 界面化的简单文件操作
创建读写修改权限
可通过界面交互操作(simple file operations with interface )
- 2015-06-09 18:17:34下载
- 积分:1
-
gkgosvj
说明: 蓝牙编解码代码,开源代码,资源非常不好找(Bluetooth codec code, open source code, resources are very difficult to find)
- 2019-01-01 00:03:49下载
- 积分:1
-
read
含有一个 CSpreadSheet类实现对Excel文件的读写的封装(Contains a CSpreadSheet class implements encapsulation of Excel file to read and write)
- 2017-03-23 22:42:08下载
- 积分:1
-
view
一个视图切换的例子! 做课程设计时要用到的一个关键技术之一!! 希望朋友们来看(An example of switching the view! Do curriculum design is a key technology to use one! ! I hope you will see)
- 2013-08-07 17:15:07下载
- 积分:1
-
DuiLib-v1.1-for-vc2005
非常优秀的界面库,完全可以实现QQ界面效果。(very good ui library.)
- 2012-09-29 14:52:43下载
- 积分:1
-
CTreeItem
CTreeItem类封装
目录树功能,可实现对目录树的各项需求!(CTreeItem Class
from it we can feet comfile)
- 2012-05-08 15:43:44下载
- 积分:1
-
butterfly
用定时器控制蝴蝶在窗口中飞舞,BitBlt函数
CBitmap类(With a timer control butterfly flying in the window, BitBlt function CBitmap class)
- 2011-06-09 16:15:16下载
- 积分:1
-
AutoUpdate
软件自动更新功能,实现软件有新版本提醒和文件更新,并显示更新进度条(Software automatic update feature, the realization of software with the new version to remind and update file, and update the progress bar display)
- 2021-01-26 22:38:41下载
- 积分:1
-
01205skin-source
用VC写的关于皮肤的程序框架,很好用,可以直接修改.(Written with the VC on the skin of the procedural framework, useful, can be directly modified.)
- 2010-07-22 23:34:06下载
- 积分: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