登录

最新会员 最新下载

成为了本站VIP会员

12月25日 15:38

成为了本站VIP会员

12月25日 12:28

成为了本站VIP会员

12月25日 12:10

成为了本站VIP会员

12月24日 23:54

成为了本站VIP会员

12月24日 23:29

成为了本站VIP会员

12月21日 19:40
已选条件
  1. 编程语言:C#
  2. 代码类别:界面编程
  3. 发布时间:一月内
全部撤销
编程语言 更多 收起
代码类别 更多 收起
发布时间
更多选项

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.)

0
下载
114
浏览
2020-06-16发布

2. 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.)

4
下载
100
浏览
2020-06-16发布

3. WPF宝典--使用C#2012和.NET4.5源代码

  WPF编程宝典:使用C# 2012和.NET 4.5 第4版,非常经典的教材,源代码(WPF programming treasure book: using C# 2012 and. NET 4.5 4th edition, very classic textbooks)

1
下载
123
浏览
2020-06-16发布

4. WPF宝典--使用C#2012和.NET4.5源代码

说明:  WPF编程宝典:使用C# 2012和.NET 4.5 第4版,非常经典的教材,源代码(WPF programming treasure book: using C# 2012 and. NET 4.5 4th edition, very classic textbooks)

8
下载
103
浏览
2020-06-16发布

5. AYQQ管家2018 AYUI7版本

  AYQQ管家2018 AYUI7版本,界面很炫酷,值得参考(AYQQ Butler 2018 AYUI7 Version)

0
下载
141
浏览
2020-06-16发布

6. AYQQ管家2018 AYUI7版本

说明:  AYQQ管家2018 AYUI7版本,界面很炫酷,值得参考(AYQQ Butler 2018 AYUI7 Version)

2
下载
110
浏览
2020-06-16发布

7. UseTab

说明:  MFC TAB控件的使用,MFC入门教学(how to use MFC TAB in your project)

1
下载
136
浏览
2020-05-15发布

8. 《Visual C++MFC实例》完整书签版

说明:  Visual C++MFC编程实例,主要内容包括:1、MFC基础知识,2、用户界面实例,3、内部处理实例,4、打包实例。(Visual C++MFC programming examples, the main content includes: 1, MFC basic knowledge, 2, user interface instances, 3, internal processing instances, 4, packaging instances.)

5
下载
105
浏览
2020-03-19发布

9. MFC图形平滑移动

说明:  MFC中使用gdi+实现图形平滑移动,使用线程控制,简单的图形界面(Using GDI plus in MFC to realize smooth movement of graphics)

1
下载
99
浏览
2020-02-24发布

10. C#计算器

说明:  采用窗体程序实现一简单计算器,计算器具有加减乘除以及开方功能,功能采用Dll方式封装。(A simple calculator is realized by the window program. The calculator has the functions of addition, subtraction, multiplication and division as well as square cutting. The functions are encapsulated by DLL.)

0
下载
103
浏览
2020-02-20发布

11. 第6章 数据结构的魅力

说明:  给出了《C语言程序设计经典236例》》中236题的源代码文件,并且源代码还附有注释,十分详细,这是4-6章的代码(This is the code of chapter 4-6)

0
下载
90
浏览
2019-10-25发布

12. MFC实例13个

  MFC c++ 编程13个例子 适合初学者学习(13 examples of MFC++ programming are suitable for beginners to learn)

3
下载
114
浏览
2019-07-01发布

13. MFC实例13个

说明:  MFC c++ 编程13个例子 适合初学者学习(13 examples of MFC++ programming are suitable for beginners to learn)

9
下载
102
浏览
2019-07-01发布

14. wordoperator

  vc6.0环境下操作word文档,读取word文档内容。(Word document operation in VC6.0 environment.)

1
下载
119
浏览
2019-05-31发布

15. wordoperator

说明:  vc6.0环境下操作word文档,读取word文档内容。(Word document operation in VC6.0 environment.)

1
下载
86
浏览
2019-05-31发布

16. CommunicationStudio

  利用QT开发读取6维力传感器数据,并实时显示数值波动的界面。使用到串口通讯、图形界面等技术(The interface of reading 6-D force sensor data and real-time displaying numerical fluctuation is developed by using QT. Used to Serial Communication, Graphic Interface and other technologies)

7
下载
111
浏览
2019-05-23发布

17. CommunicationStudio

说明:  利用QT开发读取6维力传感器数据,并实时显示数值波动的界面。使用到串口通讯、图形界面等技术(The interface of reading 6-D force sensor data and real-time displaying numerical fluctuation is developed by using QT. Used to Serial Communication, Graphic Interface and other technologies)

6
下载
83
浏览
2019-05-23发布

18. lfijp

  Delphi simple multithreaded instance, using multithreading to execute multiple progress bars,

0
下载
123
浏览
2019-01-03发布

19. lfijp

说明:  Delphi simple multithreaded instance, using multithreading to execute multiple progress bars,

0
下载
136
浏览
2019-01-03发布

20. TCofIataPac

  ComPort Library是一套用来编写串口通讯程序的控件,它包含5个控件:TComPort, TComDataPac(ComPort Library is a set of controls for writing serial communication programs. It contains five controls,: TComPort, TComDataPac)

0
下载
187
浏览
2019-01-03发布