-
QT 对话框控件
用QT实现事件处理,定时器事件允许应用程序可以在一定的时间|司隔后执行事件处理,这个窗口部件显示
了一串文本标语,它会每30毫秒向左移动一个像素。如果窗口部件比文本宽,那么文本将会被多次重复,
直到能够填满整个窗口部件的宽度为止。定时器事件是‘种低级事件,而且如果需要多个定时器时,保持
对所有定时器囚的跟踪将会变得很麻烦。在这种情况下,通常更为简单的方式是为每一个定时器分别创
建一个们中er对象。QTimer会在每个时间间隔发射timeout()信号。
- 2022-03-02 03:28:25下载
- 积分:1
-
在一些基本的例子,VF的界面,对于初学者很有用!!
关于VF界面的几个基本实例,对初学者很有用处-VF interface on a few basic examples, very useful for beginners! !
- 2022-01-25 23:42:49下载
- 积分:1
-
Graphic Images : Simply put, including graphic pictures of how the graphics and...
图形图象:简单的说,包括了如何画平面的图形等和菜单等-Graphic Images : Simply put, including graphic pictures of how the graphics and menus, etc.
- 2022-01-28 21:25:15下载
- 积分:1
-
Working with databases, tableadapters
Working with databases, tableadapters
- 2022-03-22 04:45:43下载
- 积分:1
-
自己编的文本编辑程序
自己编的文本编辑程序-own series of the text editor
- 2023-01-16 02:30:04下载
- 积分:1
-
实现文档的视图分割和现实功能,视图之间的切换功能等.
实现文档的视图分割和现实功能,视图之间的切换功能等.-achieve documents View functional segmentation and reality, between the View switching capabilities.
- 2022-02-20 07:23:00下载
- 积分:1
-
VisualStudio
VisualStudio风格的用户界面,用VC写的,很不错。-VisualStudio-style user interface, written using VC, is pretty good.
- 2023-08-06 23:00:03下载
- 积分:1
-
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
-
辐射能游戏
那里是供货商和多个玩家之间的游戏。它使用的任务之间供货商和玩家使用多线程的同步。
- 2022-08-19 20:17:53下载
- 积分:1
-
ActiveX controls in the preparation, how to control arrangements for the propert...
ActiveX控件的编写,如何为控件安排属性,方法,事件,属性页,持久性存储,控件如何通知容器自身属性的改变。如何注册控件与取消控件注册。在VB和VC中访问ActiveX控件。-ActiveX controls in the preparation, how to control arrangements for the properties, methods, events, properties page Persistent storage, and how to control their own attributes containers notice the change. How to register controls and the lifting of controls registration. In VB and VC visit ActiveX controls.
- 2022-04-19 07:27:36下载
- 积分:1