摘要: 效果: 代码: void MainWindow::setCheckResultColor(QTextEdit *textEdit, int position, int length, const QColor &color) { // 获取文本编辑器的文本选区 QTextCursor cursor 阅读全文
posted @ 2024-04-24 16:17 雾枫 阅读(60) 评论(0) 推荐(0) 编辑