- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 Windows关闭屏幕保护睡眠的相关函数
关闭屏幕保护 bool active = false; SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, false, &active, 0x0002); //阻止屏幕保护程序的运行关闭待机状态 SetThreadExecutionState(0x00000001 | 0x00000002 | 0x80000000); //防止系...
2019-12-30 11:29:28 375
原创 qt 模拟表单提交数据
QByteArray HttpUtil::login(const QString url /*= QString()*/, const QString & mobile /*= QString()*/, const QString & password /*= QString()*/){ qDebug() << QStringLiteral("正在登录...");...
2019-12-06 17:27:26 797
原创 qt互斥锁的使用
qt互斥锁的使用class CallbackStorage{public: int insertCallback(const QJSValue &callback) { QMutexLocker locker(&m_mtx); const int nextId = qMax(++m_counter, 0); ...
2019-12-01 18:15:54 1033
用qt实现的水印工具(QT&& C++)
2019-04-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人