-
Student
说明: 数据库输入界面设计,通过源代码学习可以初步学会数据库中数据界面编程的学习(Database input interface design, through the source code can initially learn to study the data in a database programming interface, the learning)
- 2009-08-27 23:25:07下载
- 积分:1
-
MFC
(1)定义一个抽象基类Shape,同它派生出5个类:圆、正方形、矩形、梯形、三角形。
(2)利用虚函数计算几种图形面积。
(3)演示构造函数、复制构造函数、析构函数的作用和调用顺序
(4)用类模板具体实现。
(5)利用MFC类库在图形用户界面上绘制及修改这些图形,采用对话框输入输出图形的基本属性,或者利用运算符重载输入输出图形的基本属性。
(6)用文件保存图形信息,且能够从文件中读取并作相应处理。
2)创新要求:
采用头文件与源文件分离的方法,多态性的实现多样化(defines an abstract base class Shape, with which it derives five categories: round, square, rectangular, trapezoidal, triangular.
(2) the use of virtual functions to calculate several graphics area.
Effect (3) demonstrate the constructor, copy constructor and destructor call sequence
(4) with a class template implementation.
(5) The use of MFC library to draw and modify graphics, using the basic properties dialog input and output graphics, or the use of the basic properties of operator overloading the input and output graphics on the graphical user interface.
(6) with the file save graphical information, and can be read a file and make the appropriate treatment.
2) Innovation requirements:
Using the method header and source files separate polymorphism diversify
)
- 2020-11-04 14:29:52下载
- 积分:1
-
VC++高级特效界面一百例 VC++080719
VC++高级特效界面一百例,对做VC++界面GUI的有很好的参考作用(VC++ 100 cases of high-level interface effects, and to do VC++ The GUI interface has a very good reference)
- 2020-06-26 01:40:02下载
- 积分:1
-
04_ScrollBarDemo
基于MFC的,用C++语言编写的一个程序界面 使得界面有滚动条功能(Scroll bar interface function MFC-based, a program written C++ language interface)
- 2012-09-14 20:55:31下载
- 积分:1
-
CommonControls
这是一个对mfc各种控件详细介绍的源文件,很好很全面,希望对大家有帮助(This is a mfc details of various control, the source files, a very good very comprehensive, we want to help)
- 2009-12-21 10:27:40下载
- 积分:1
-
976556576
设置输入方法,C++Builder精选编程学习源码,很好的参考资料。(Set the input method, C++Builder select learning programming source code, a good reference.)
- 2013-11-22 11:36:28下载
- 积分:1
-
myfolder
使用CodeBlock IDE + C语言开发,控制台界面,可以改变文件的图标,背景等,可作为学习C语言的代码(Use CodeBlock IDE+ C language development, the console interface, you can change the file' s icon, background)
- 2016-08-06 04:00:11下载
- 积分:1
-
WpfImageButton
自己继承的一个WPF image类 , 做button用,效果:按下缩小 放开弹起 反弹 阴影效果 (He inherited a WPF image category, do button has the effect: press release narrow shadows bounce bounce)
- 2011-09-20 12:57:34下载
- 积分: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
-
Evidence-Cleaner
在VS 2010 环境下,通过自绘窗口,做出类似百叶窗的展开和收缩的效果,并实现清理痕迹的功能(当然清理功能不是很强,需要改进)(In VS 2010 environment, through self-painted window, made a similar expansion and contraction effect blinds, and to achieve clean up traces of the functions (of course clean-up function is not very strong, needs improvement))
- 2014-07-17 14:46:30下载
- 积分:1