There are a couple of ways to do it. One is to subclass QLineEdit and redeclare (that's important!) and reimplement the paste() slot from it to do nothing.
There are a couple of ways to do it. One is to subclass QLineEdit and redeclare (that's important!) and reimplement the paste() slot from it to do nothing.
Bookmarks