-
qt alarm实现闹钟
#include"alarm.h"
#include
Alarm::Alarm(QWidget * parent)
:QDialog(parent)
{
init();
layout();
con();
};
// ******
// 初始化
// ******
void Alarm::init()
{
setWindowTitle("Alarm clock"); //设置标题
setFixedSize(QSize(300,80)); //固定大小
timer=new QTimer; //控制lcd的时间刷新
uptimer=new QTimer; //控制对话框上升
dtimer=new QTimer; //控制对话框下降
itimer=new QTimer;
lcdNumber=new QLCDNumber; //显示当前时间
lcdNumber->setFixedSize(QSize(150,50)); //固定大小
lcdNumber->setNumDigits(8); //显示八个数字,默认是显示5个数字
lcdNumber->setSegmentStyle(QLCDNumber::Flat); //填充颜色,默认是白色的
lcdNumber->display(QTime::currentTime().toString("hh:mm:ss")); //设置格式,还有其他形式的
label=new QLabel(QString::fromLocal8Bit("闹钟")); //提示设置下个闹钟
- 2022-01-28 04:54:06下载
- 积分:1
-
医院管理程序源代码
1.对运行应用程序确保数据库创建在同一机器上,因为应用程序正在运行。(2) 的名称是数据库的医院。3."创建表"文件夹包含 SQL 创建所要创建的表在数据库中运行应用程序之前运行的语句。4.SQL 插入语句"测试数据"可用于在数据库中创建临时字段的文件夹中。5.运行可执行文件 Hospital.exe,并验证工作。6.登录凭据设置是 "apollo" and "apollo".
- 2023-04-12 00:50:04下载
- 积分:1
-
实现类似VC中可设断点的编辑窗口,很简单的,欢迎大家查看
实现类似VC中可设断点的编辑窗口,很简单的,欢迎大家查看-achieve similar VC breakpoints can be set up to the edit window, a very simple, welcoming everyone View
- 2022-04-10 03:43:03下载
- 积分:1
-
MFC范例程序,用MFC实现创建服务器,很简单的小程序,但是不知道有没有用...
MFC范例程序,用MFC实现创建服务器,很简单的小程序,但是不知道有没有用-MFC model program that will create MFC server, a very simple small programs, but not aware of no use
- 2022-03-21 14:38:41下载
- 积分:1
-
VCLSkins 是windows编程常用的界面换肤控件。非常实用!有了它,你就可以让你的程序添加万种色彩!...
VCLSkins 是windows编程常用的界面换肤控件。非常实用!有了它,你就可以让你的程序添加万种色彩!-VCLSkins is commonly used in windows programming interface control skin. Very useful! With it, you can let you add the 10,000 kinds of colors!
- 2022-02-25 04:21:10下载
- 积分:1
-
应用程序,颜色按钮将美化程序界面,程序的界面,程序界面,程序界面,程序界面,程序界面
应用程序中,彩色按钮会美化程序的界面,该程序能够显示多种色彩的按钮。-applications, color button will beautify the procedure interface, the program can display a variety of colors button.
- 2023-08-08 14:00:04下载
- 积分:1
-
socket模拟聊天室
有客户端和服务器端 模拟网络聊天室的功能 有界面,当有人进入聊天室时,会在界面上显示信息,使用套接字来建立客户端和服务器端,由服务器端进行监听每一个客户端。界面有进行美化。
- 2022-05-25 13:18:31下载
- 积分:1
-
一个不错的office 2003 界面类
一个不错的office 2003 界面类-a good office category 2003 interface
- 2022-07-06 15:29:28下载
- 积分:1
-
呵呵,虽然win3.0是比较旧的东西。不过对学习还是有帮助的。...
呵呵,虽然win3.0是比较旧的东西。不过对学习还是有帮助的。-Oh, yes win3.0 old things.
- 2022-03-18 21:22:46下载
- 积分:1
-
只有用了Rxlib2.75中的两个控件,一个是用来做TrayIcon的(TRxTrayIcon),还有一个是用来选颜色的(TColorComboBox), 大家
只有用了Rxlib2.75中的两个控件,一个是用来做TrayIcon的(TRxTrayIcon),还有一个是用来选颜色的(TColorComboBox), 大家可以到Rxlib专栏中下载这个控件- In useful Rxlib2.75 two have only controlled, is uses for to
make TrayIcon (TRxTrayIcon), but also some is uses for to choose the
color (TColorComboBox), everybody may arrive in the Rxlib column to
download this to control
- 2023-04-25 08:40:03下载
- 积分:1