会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LEMonT-site
博客园
首页
新随笔
联系
管理
订阅
2025年6月17日
使用Qtimer周期执行任务
摘要: 头文件中:引用头文件 #include <QTimer> 头文件中:在类中创建Qtimer指针m_timer,创建返回该指针的方法get_timer(). 点击查看代码 class SendFrameBox : public QGroupBox { Q_OBJECT public: explicit
阅读全文
posted @ 2025-06-17 09:11 ShererYANG
阅读(12)
评论(0)
推荐(0)
2025年6月15日
根据不同状态给pushButton添加icon
摘要: cpp文件添加全局变量,表示全局状态 cpp bool isSending=false; //播放和暂停的标志位 pushButton和槽函数链接 cpp connect(m_ui->sendButton_2, &QPushButton::clicked, this, &SendFrameBox::
阅读全文
posted @ 2025-06-15 15:59 ShererYANG
阅读(11)
评论(0)
推荐(0)
公告