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

QT扫雷 (windows编译)通用

于 2022-01-21 发布 文件大小:218.96 kB
0 210
下载积分: 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 个回复

  • 一个强大的多用户网络文件管理系统,系统采用ASP编写。可以让您随时随地管理和保存您的文件、资料等。管理和功能类似于windows的资源管理器,具体功能如下:...
    一个强大的多用户网络文件管理系统,系统采用ASP编写。可以让您随时随地管理和保存您的文件、资料等。管理界面和功能类似于windows的资源管理器,具体功能如下:1、类似于windows资源管理器的文件目录列表;2、文件复制、剪切、粘贴、邮寄、下载、浏览、删除等常见操作;3、目录创建、重命名、删除等目录操作;4、类似于windows资源管理器的目录树,并具有记忆功能;5、无限个数的多文件同时上传;6、用户资料修改、密码取回等用户控制面板。-a powerful multi-user network document management system, the system used to prepare ASP. At any time you can save your management and document information. Management interface and functionality similar to the windows for resource management, specific functions are as follows : a, similar to the windows of resource management document directory listings; 2, the paper copy, cut, paste, by mail, download, browse, delete common operation; 3, directory creation, Rename, delete directory operations; 4, similar to windows resources management for the directory tree, with memory function; 5, unlimited number of the many documents also upload; 6, user information changes, such as user password to recover the control panel.
    2022-11-28 09:10:03下载
    积分:1
  • vb 学生信息管理系统
    资源描述用vb开发的学生信息管理系统,包含数据库、说明文档等,获得总评第一。
    2022-01-21 02:21:03下载
    积分:1
  • 专用浏览器。rar,可以自动刷新,是否复制的。
    Love bar dedicated browser. Rar, can automatically refresh, whether reproduced html file.
    2022-05-17 13:49:45下载
    积分:1
  • 这个可视化的框架类支持具有不同组合的CView视图类、CSplitterWnd和CTabWnd类派生的SDI程序,本程序支持的特性包括: 支持单文档和多文档程序
    这个可视化的框架类支持具有不同组合的CView视图类、CSplitterWnd和CTabWnd类派生的SDI程序,本程序支持的特性包括: 支持单文档和多文档程序 任何视图、多分隔条和标鉴窗口的组合 支持嵌套的分隔条 支持简单的基于CView的程序 支持热键选择活动窗格 支持Ctrl+Tab来进行标签切换 支持列举窗口 标签可以在客户窗口的顶部或底部-visualization of the framework to support different types of combinations of CView View category, CSplitterWnd and CTabWnd category derived SDI procedures, The procedures for features include : support for single-and multi-file any document procedures View, more separation of the window and superscript Stephen support nested combination of the support of segregation based on a simple procedure CView support hotkeys election Optional activities pane support Ctrl Tab label switching to support listed in the window labeled client window or the top Bottom
    2022-08-24 11:15:42下载
    积分:1
  • 第一次上传,弄了一个简单的链表实现代码,希望以后有机会继续上传质量高的代码...
    第一次上传,弄了一个简单的链表实现代码,希望以后有机会继续上传质量高的代码-The first upload, get a simple linked list implementation code, and hope that it will have the opportunity to upload high quality code
    2022-02-11 21:36:10下载
    积分:1
  • 不好没什么是个游戏不是我编的挺好玩的
    不好没什么是个游戏不是我编的挺好玩的-nothing bad is not my game very well, playing the part of
    2022-03-17 12:28:34下载
    积分:1
  • QRCODE二维码
    QRCODE二维码,一个二维条码delphi vcl控件,个人用了还可以,希望对大家有用处
    2022-01-21 19:11:17下载
    积分:1
  • 一个比较全的托盘库,推荐使用
    一个比较全的托盘库,推荐使用--An complete tray library,recommend
    2022-07-03 03:58:39下载
    积分:1
  • 透明窗口,UI设计必看
    一个窗口但分为4个部分,可以响应拖动操作,双击关闭。UI设计必看
    2023-02-20 06:00:03下载
    积分:1
  • a VC was the spirit of animation, a beautiful angel of animation. Can beautify y...
    一个用VC写的精灵动画程序,一个美丽的小天使的动画。能美化你的桌面!-a VC was the spirit of animation, a beautiful angel of animation. Can beautify your desktop!
    2022-04-14 13:17:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载