Hi all,
when i extend the standard context menu of qtextedit, i found all the actions is disable except the "paste" and "clear". why?
Qt Code:
editContextMenu->addAction(clear); ui->textEdit->setContextMenuPolicy(Qt::CustomContextMenu); ...To copy to clipboard, switch view to plain text mode
Bookmarks