-
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
-
digital image processing, a source book, the scientific publishing house.
delphi数字图像处理一书源代码,科学出版社出版.-digital image processing, a source book, the scientific publishing house.
- 2022-03-23 14:00:07下载
- 积分:1
-
深度估计的平面扫描
Plane Sweeping for depth estimation
- 2022-10-03 00:15:04下载
- 积分:1
-
vc++编写的界面源代码,全部自绘,功能及其强大,想学界面编程的一定要看...
vc++编写的界面源代码,全部自绘,功能及其强大,想学界面编程的一定要看 -vc++ to prepare the interface source code, all the self-painted, functional and powerful and want to learn programming interface must see
- 2022-12-19 16:20:03下载
- 积分:1
-
中文分词程序,是用java语言编的.文件名为yangpengwei.zip
中文分词程序,是用java语言编的.文件名为yangpengwei.zip-Chinese word segmentation procedure is the use of java language series. Documents called yangpengwei.zip
- 2022-03-24 22:55:50下载
- 积分:1
-
SkinMagic Toolkit是一个很好的工具,对皮肤非常简单的软件…
SkinMagic Toolkit是一个优秀的界面工具,可以很简单的实现软件换皮肤的功能。支持标准的Windows控件的换皮肤。支持MDI/SDI/Dialog的程序。支持自定义的控件的换皮肤功能-SkinMagic Toolkit is an excellent interface tool, very simple software for skin function. Support for standard Windows controls for the skin. Support MDI/SDI/Dialog procedures. Support from the definition of the control function for skin
- 2022-03-26 14:55:39下载
- 积分:1
-
使用CheckBox代替Frame/GroupBox的标题
使用CheckBox代替Frame/GroupBox的标题-The example of using checkbox to replace the title of Frame or GroupBox
- 2022-08-11 13:24:59下载
- 积分:1
-
这是一个Div+Css的一个架构,提供了源代码,希望能够帮助大家.
这是一个Div+Css的一个架构,提供了源代码,希望能够帮助大家.-This is a Div+ Css of a framework to provide a source code, hope to be able to help everyone.
- 2022-04-10 08:46:48下载
- 积分:1
-
一些小的QT
A number of small Qt-programms for Qt-beginners.
- 2022-05-20 05:10:37下载
- 积分:1
-
微分进化
微分进化与自适应的战略选择。请参阅: 微分进化策略适应自适应参数的选择
- 2022-03-23 06:19:00下载
- 积分:1