Hi
I'm working in a scientific calculator project using Qt5, I'm using the QTextEdit as the calculator's display.
I want to disable the shortcuts like (Ctrl + A, and Ctrl + C) in the display, so How can I do that?
Thank you.
Hi
I'm working in a scientific calculator project using Qt5, I'm using the QTextEdit as the calculator's display.
I want to disable the shortcuts like (Ctrl + A, and Ctrl + C) in the display, so How can I do that?
Thank you.
@ommharidaas!, Would you please give me a link or tell me how to deal with that "Event Filters".
@Wysota!, I've already disabled context menu, all I need is to disable the shortcuts
Qt Code:
texteditor->setContextMenuPolicy(Qt::NoContextMenu);To copy to clipboard, switch view to plain text mode
Hi Baso,
Try looking up this.
http://qt-project.org/forums/viewthread/14802
Bookmarks