会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
RedWetPlace
博客园
首页
新随笔
联系
管理
订阅
2024年4月24日
qt 设置QTextEdit文本框中指定内容块的背景颜色
摘要: 效果: 代码: void MainWindow::setCheckResultColor(QTextEdit *textEdit, int position, int length, const QColor &color) { // 获取文本编辑器的文本选区 QTextCursor cursor
阅读全文
posted @ 2024-04-24 16:17 雾枫
阅读(397)
评论(0)
推荐(0)
编辑
公告