登录
首页 » 界面开发 » QT扫雷 (windows编译)通用

QT扫雷 (windows编译)通用

于 2022-01-21 发布 文件大小:218.96 kB
0 187
下载积分: 2 下载次数: 1

代码说明:

资源描述主要运用的方法: 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_,当外界进行设置操作时,进行。那么何为设置操作?即鼠标右键事件,下面讨论。

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

发表评论

0 个回复

  • GUI SkinStyle
    这是由一个成品没有手段 !这是我第一次尝试着写一个非常复杂的 Win32 应用程序库。想要一些类似于 SkinSys 的功能,但无开销 MFC。将错误和错误 !我希望你找到这段代码非常有用。
    2022-03-03 07:07:08下载
    积分:1
  • 视频隐写
    2022-03-31 17:04:13下载
    积分:1
  • Visual.C++高级特效制作百例,提供丰富多彩的编程实例
    Visual.C++高级界面特效制作百例,提供丰富多彩的界面编程实例-Visual.C++ Effects produced 100 cases of high-level interface, providing a variety of interface programming examples
    2022-04-21 13:07:14下载
    积分:1
  • 一种使用C++ Builder编制而成的软件。很漂亮。也很实用。
    一种使用C++ Builder编制而成的软件。界面很漂亮。也很实用。-use of a compiled C Builder software. Interface very pretty. Also practical.
    2022-03-23 04:19:18下载
    积分:1
  • 源码源代码源程序编程程序员下载 ... ... banker666.rar
    源码源代码源程序编程程序员下载 ... ... banker666.rar - 银行家算法,用来检验死锁问题。。 (2004-10-7,VC, 12KB, 下载84次, 提供者李林骏)【查看评论】 HEC-linux.zip - c/c++虚拟机linux版本( 2004-10-5,C, 287KB, 下载20次, 提供者付斌)【查看评论】-source code programming source programmers download ... banker666.rar- bankers algorithm, a test of deadlock. . (2004-10-7, VC, KB, downloaded 84 times, providers Li Lin Jun) [see comments-- HEC-linux.zip-c/c Linux version of Virtual Machine (2004-10-5, C, 287KB, downloaded 20 times, references for those FU Bin) [see comments--
    2022-03-01 08:26:14下载
    积分:1
  • 能显示文字的进度条
    能显示文字的进度条- Can demonstrate the writing the progress strip
    2022-02-13 08:37:21下载
    积分:1
  • 用VB6.0编写自我升级的程序 (一),可以实现通过网络即可自动升级程序...
    用VB6.0编写自我升级的程序 (一),可以实现通过网络即可自动升级程序-VB6.0 preparation of self-promotion (1), can be achieved through the network can automatically update
    2022-05-28 02:35:23下载
    积分:1
  • 自己做的一个简单的更换皮肤功能,看了很快就能上手的!...
    自己做的一个简单的更换界面皮肤功能,看了很快就能上手的!-Their own to do a simple interface to replace the skin function, will be able to read soon-to-use!
    2022-07-08 01:59:47下载
    积分:1
  • 可重复使用的WNDCTRL类 这个类基本上容纳了一些隐藏的控件和窗口。一个 WndCtrl对象有两个状态, 即和关。你必须把这个控件加到m_WndCtrl中。
    可重复使用的WNDCTRL类 这个类基本上容纳了一些隐藏的控件和窗口。一个 WndCtrl对象有两个状态, 即开和关。你必须把这个控件加到m_WndCtrl中。当WndCtrl被打开的时候,控件被创建,当WndCtrl被关闭的时候,控件被隐藏或撤销。WndCtrl将会是所有加到它上面的控件的父节点。WndCtrl可以在关闭或开着的状态下改变大小或重新定位。然而,关闭状态下的大小是静态的,不能被改变。无论大小是否被改变,都将会影响WndCtrl开着的状态- Might duplicate a WNDCTRL kind of this kind which used basically holds some hideaways to control and the window. A WndCtrl object has two conditions, namely opens with the pass. You must control this to add to in m_WndCtrl. When WndCtrl is opened, controls to found, when WndCtrl is closed, controls to hide or to abolish. WndCtrl could be all adds to above it to control the father pitch point. WndCtrl may the condition change the size under the closure either is opening or relocate. However, under the off-position size is the static state, cannot change. Regardless of size whether is changed, all will be able to affect WndCtrl will be opening the condition
    2022-04-23 17:35:58下载
    积分:1
  • Office XP风格菜单
    Office XP风格菜单-Office XP menu style
    2022-08-24 01:46:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载