-
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
-
手把手叫你做Eclipse界面,这是一个使用swt作成的界面效果,大家试试看,自己做的哦...
手把手叫你做Eclipse界面,这是一个使用swt作成的界面效果,大家试试看,自己做的哦
-handholding tell you to do the Eclipse interface, which is used can make an interface effects, we try and do for myself, oh
- 2022-02-26 06:42:42下载
- 积分:1
-
one fake outlook interface procedures, and includes the interface of the system,...
一款仿outlook的界面程序,并且包含了系统界面的部分,值得好好研究。-one fake outlook interface procedures, and includes the interface of the system, worthy of a thorough study.
- 2022-01-25 19:59:55下载
- 积分:1
-
web应用,自动登录控件
用WebBrowser控件实现自动登陆到一个网站.可获取cookie,根据cookie打开其他页面!-Using WebBrowser control to realize automatic landing a website. May obtain cookie, in accordance with cookie to open another page!
- 2022-10-26 03:55:03下载
- 积分:1
-
这是一个用C做的页面的存储管理程序,操作系统的实验
这是一个用C做的页面的存储管理程序,操作系统的实验-This is a C so pages of storage management processes, the experimental operating system
- 2023-08-08 14:55:04下载
- 积分:1
-
属性列表
属性表控件CPropertyGrid以表格的方式显示及输入数据,外观和功能类似于Visual Studio
2003的属性窗口。它支持多种类型的属性项,而且可以根据需求进行扩展。附件中包括使用说明和例程。
- 2023-07-27 03:20:04下载
- 积分:1
-
颜色拾获器,可以通过点击调色盘选择颜色.并能得到颜色的RGB值...
颜色拾获器,可以通过点击调色盘选择颜色.并能得到颜色的RGB值-Found color, you can choose by clicking the color palette. And can get the RGB color value
- 2022-01-24 15:39:36下载
- 积分:1
-
指定形状创建一透明窗体,利用shape控件生成异形窗体,方便好用...
指定形状创建一透明窗体,利用shape控件生成异形窗体,方便好用-Specify the shape to create a transparent form, the use of shape control to generate special-shaped form, easy-to-use
- 2023-04-22 05:45:04下载
- 积分:1
-
GUI SkinStyle
这是由一个成品没有手段 !这是我第一次尝试着写一个非常复杂的 Win32 应用程序库。想要一些类似于 SkinSys 的功能,但无开销 MFC。将错误和错误 !我希望你找到这段代码非常有用。
- 2022-03-03 07:07:08下载
- 积分:1
-
端口IO控制电脑蜂鸣器的驱动(输入为XP-sp3 ~赢10)
资源描述这是一个示例代码来控制电脑的输入驱动蜂鸣器。该驱动程序将安装在第一个执行。如果一个应用程序已被写入使用inpout32.dll然后所有你需要做的是 ;把我的版本inpout32.dll在同一文件夹中的“原”。这通常会与应用程序的可执行文件相同的文件夹。大多数应用程序使用32bit ;版本的DLL。该版本还可以安装和运行基于x64的 ;操作系统,但第一次运行时,它必须增加对Vista后来 ;(以管理员身份运行)。
- 2023-06-25 05:50:04下载
- 积分:1