登录
首页 » C++ » 6937477

6937477

于 2018-02-20 发布 文件大小:56KB
0 63
下载积分: 1 下载次数: 1

代码说明:

  ListCtrl控件和下拉框,编辑框等控件组合使用()

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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
  • BaseMenuDemo
    vc——基本下拉菜单的创建与消息响应BaseMenuDemo(vc- basic drop-down menu to create and message response BaseMenuDemo)
    2011-07-24 20:56:11下载
    积分:1
  • 011840
    右键专家源码例程,程序结合易语言扩展界面支持库,调用API函数实现系统鼠标右键操作。(Right expert source routines, programs combined with easy language support library expansion interface , call the API functions to achieve the right mouse button system operation.)
    2016-08-05 11:14:37下载
    积分:1
  • TGP
    使用QT模仿TGP腾讯游戏平台,界面使用布局完成,可以拉伸收缩对话框,自绘tablewidget和listwidget,pushbutton,menu等功能,还有托盘,与原界面基本相似。( Use QT imitate TGP Tencent gaming platform, use the interface layout is complete, you can stretch shrink the dialog, since the painting tablewidget and listwidget, pushbutton, menu and other functions, as well as trays, with substantially similar to the original interface.)
    2016-09-10 18:11:46下载
    积分:1
  • h7_1
    傳統數據處理應用軟件不足以處理它們的大或複雜的數據集的術語。在總資料量相同的情況下,與個別分析獨立的小型資料集(Traditional data processing applications are not enough to handle the terms of their large or complex data sets. In the case of the same total amount of data, small data sets independent of individual analysis)
    2018-02-23 04:55:44下载
    积分:1
  • MATLABxinhaoyuxitongGUI
    说明:  一个完整的信号与系统的matlab的GUI仿真界面程序,适合与毕业设计,包括连续和离散部分(A complete signal and system simulation matlab' s GUI interface program, and graduation for the design, including continuous and discrete parts)
    2011-04-10 15:36:29下载
    积分:1
  • wav文件转换为PCM码流工具源码(wav2pcm)
    将wav文件转换为PCM码流数据数组,供单片机直接调用,方便单片机开发音频芯片(如:PCM1770)。
    2021-05-07下载
    积分:1
  • 565566
    扩展收缩对话框应用程序界面,VC++编程精选学习源码,很好的参考资料。(Expansion contraction dialog application program interface, VC++ programming featured learning source code, a good reference.)
    2013-11-19 18:57:47下载
    积分:1
  • dynviews
    说明:  非基于MFC的文档/视图结构创建多维动态视图,轻松创建多维视图的效果,通过openGL,实现效果显示。(Are not based on MFC s document/view structure to create multi-dimensional and dynamic view, to easily create multi-dimensional view of the effect, through openGL, to achieve the effect of show.)
    2008-10-16 23:05:39下载
    积分:1
  • 565566
    扩展收缩对话框应用程序界面,VC++编程精选学习源码,很好的参考资料。(Expansion contraction dialog application program interface, VC++ programming featured learning source code, a good reference.)
    2013-11-19 18:57:47下载
    积分:1
  • 696524资源总数
  • 103986会员总数
  • 80今日下载