1 Star 12 Fork 6

hg-csbh/Qt-Project

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
widget.h 420 Bytes
一键复制 编辑 原始数据 按行查看 历史
ax020913 提交于 2024-01-12 12:09 +08:00 . Qt 的两种定时操作
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
QT_BEGIN_NAMESPACE
namespace Ui {
class Widget;
}
QT_END_NAMESPACE
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = nullptr);
~Widget();
virtual void timerEvent(QTimerEvent* event);
private:
Ui::Widget *ui;
int id1;
int id2;
int id3;
public slots:
void upload_current_time();
};
#endif // WIDGET_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hg-csbh/qt-project.git
git@gitee.com:hg-csbh/qt-project.git
hg-csbh
qt-project
Qt-Project
master

搜索帮助