QT 类及其实现效果(5)--QTextEdit排版

文字排版 text =  new QTextEdit(this); QTextCursor cursor = text->textCursor(); 对齐: void ListAlign::slotAlignment(QAction *act) {     if (act == leftAction)      text->setAlignment(Qt::AlignLeft);     if (
相关文章
相关标签/搜索