-
QT扫雷 (windows编译)通用
资源描述主要运用的方法:
1、继承QLabel的来实现自己的Block类,
2、重写Block类的mousePressEvent(QMouseEvent* event)函数来响应相应鼠标事件,
3、使用QGirdLayout进行布局。
下面对每个性质进行分析:
性质1、应当是一开始就确定的,故在内部设置一个mine_flag_,由Block的构造函数初始化;
性质2、在内部设置一个标志ok_flag_,一开始默认为false,当外界访问了方块时,设置为true。那么访问操作为何?即鼠标左键事件,下面讨论;
性质3、当BlockArea每个方块构建完之后,此方块的数字就确定了,所以我们可以提供一个setNumber(int)函数,这个函数只应在设置BlockArea时调用;
性质4、内部设置一个mark_flag_,当外界进行设置操作时,进行。那么何为设置操作?即鼠标右键事件,下面讨论。
- 2022-01-21 00:57:01下载
- 积分:1
-
VC写的虚拟桌面小程序,完全用VC实现,对学习进程方面和窗体控制很有用...
VC写的虚拟桌面小程序,完全用VC实现,对学习进程方面和窗体控制很有用-Writing VC virtual desktop applet, complete with VC implementation of the learning process and very useful form control
- 2022-01-24 15:53:46下载
- 积分:1
-
一个初期的Office XP风格的界面,可以研究研究
一个初期的Office XP风格的界面,可以研究研究--An interface with incipient Office XP style ,worth study
- 2022-03-26 06:08:20下载
- 积分:1
-
字幕按时间方式来闪动,字幕切换不停的跳动,
字幕按时间方式来闪动,字幕切换不停的跳动,-subtitles time to flashing, constantly switching subtitles beating,
- 2023-08-26 19:10:04下载
- 积分:1
-
呵呵,虽然win3.0是比较旧的东西。不过对学习还是有帮助的。...
呵呵,虽然win3.0是比较旧的东西。不过对学习还是有帮助的。-Oh, yes win3.0 old things.
- 2022-03-18 21:22:46下载
- 积分:1
-
学生信息中心
应用背景这是因为学生的过程gfdhf jhfdbjh cbjhcxhbc显宰chjkchjvk jkhjsdhjknc CNB VBN数据全部学生信息系统中的应用关键技术ASP.NET是一个在线应用程序,保持关于studebnts nmbcvmnc cvnbcvx 信息;cxjcvxbcv cxbcvx vcjhccx
- 2022-01-22 01:37:07下载
- 积分:1
-
CButtonST类
应用背景
自绘按钮Button,XP风格,画外边框和内边框,底色-Windows VC MFC BUtton
关键技术
VC++开发的XP风格的按纽,XPButton 按钮XP风格化,为了摆脱VC下丑陋的 开发的 control 控件 -VC++ development of the XP-style button, XPButton of XP style buttons, in order to get rid of the ugly VC controls the development of control
- 2022-05-05 00:56:05下载
- 积分:1
-
可加入图像的组合框类
可加入图像的组合框类-be added to the portfolio image frame
- 2023-08-13 22:30:03下载
- 积分:1
-
这是一个MFC示例。
This a MFC sample.-This is a MFC sample.
- 2022-05-24 04:24:28下载
- 积分:1
-
Display ToolTip in any place on the screen is what I find online, and belongs to...
Display ToolTip in any place on the screen
是我在网上找的,版权归原作者所有。-Display ToolTip in any place on the screen is what I find online, and belongs to original author.
- 2023-02-17 01:35:04下载
- 积分:1