会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liliyou
练习一切
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
19
下一页
2025年7月8日
sqlite3 命令执行sql脚本
摘要: sqlite3 wms.sqlite < sql.sql
阅读全文
posted @ 2025-07-08 08:28 liliyou
阅读(40)
评论(0)
推荐(0)
2025年6月6日
bat 常用命令
摘要: 删除文件 del 1.txt 删除某个后缀的所有文件 有时候需要批量删除一些文件名比较有规律的文件,可以用通配符*代替不规则的字符,保留规则的字符;例如 ,想删除当前目录下所有后缀为.txt .png .jpg的文件,可以使用: del *.txt *.png *.jpg 删除文件夹 >rmdir
阅读全文
posted @ 2025-06-06 14:44 liliyou
阅读(30)
评论(0)
推荐(0)
2025年6月5日
qt textBrowser 使用示例
摘要: // 假设ui是您的用户界面对象 ui->textBrowser->document()->setMaximumBlockCount(10); ui->textBrowser->append("[接收] " + message.trimmed()); 清空文本 ui->textBrowser->cl
阅读全文
posted @ 2025-06-05 17:20 liliyou
阅读(75)
评论(0)
推荐(0)
qt 液晶数字控件 lcdNumber使用 demo
摘要: // 设置lcdNumber的值 ui->lcdNumber->display(111.254); // 获取lcdNumber的值 qDebug()<< QStringLiteral("显示的数字是:") << ui->lcdNumber->value();
阅读全文
posted @ 2025-06-05 17:00 liliyou
阅读(44)
评论(0)
推荐(0)
qt 文件对话框
摘要: QString filename = QFileDialog::getOpenFileName(this,"打开文件","E:/","(*.rar)"); ui->lineEdit->setText(filename);
阅读全文
posted @ 2025-06-05 09:25 liliyou
阅读(18)
评论(0)
推荐(0)
2025年6月4日
QtQuick 串口通讯demo
摘要: SerialPortHandler.h #ifndef SERIALPORTHANDLER_H #define SERIALPORTHANDLER_H #include <QObject> #include <QSerialPort> #include <QSerialPortInfo> class
阅读全文
posted @ 2025-06-04 16:53 liliyou
阅读(66)
评论(0)
推荐(0)
qt 主窗口对象串口通讯demo
摘要: mainwindow.ui <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <prop
阅读全文
posted @ 2025-06-04 14:15 liliyou
阅读(42)
评论(0)
推荐(0)
2025年6月3日
thinkphp jwt 中间件放开某些接口
摘要: protected $middleware = [ Auth::class => ['except' => ['method1', 'method2']] ];
阅读全文
posted @ 2025-06-03 16:55 liliyou
阅读(22)
评论(0)
推荐(0)
sql server 常见日期格式化函数
摘要: 下面三个日期格式化函数是最常用的 Select CONVERT(varchar(100), GETDATE(), 23): 2006-05-16 Select CONVERT(varchar(100), GETDATE(), 24): 10:57:47 Select CONVERT(varchar(
阅读全文
posted @ 2025-06-03 11:19 liliyou
阅读(23)
评论(0)
推荐(0)
2025年5月30日
qt 数据库操作实例
摘要: QT += core sql #include <QSqlQuery> QStringList drivers = QSqlDatabase::drivers(); foreach(QString driver, drivers) qDebug() << driver; //添加数据库驱动 QSql
阅读全文
posted @ 2025-05-30 16:01 liliyou
阅读(45)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
19
下一页
公告