Nominate our 2022 Qt Champions!

Setting up Ctrl-C

  • I am trying to find the proper way to set up CTRL-C to cut text from a QTableView, whether it be a row or just a few cells, and use CTRL-V to paste. Been looking around the internet and found some information in places like this (mostly talking about QShortcut and QKeySequence), but also found other information saying that the way it was done is not the proper way to do it. Any suggestions on how to do this properly.

  • Lifetime Qt Champion


    Do you mean having a QAction for each triggered by their respective shortcut ?

Log in to reply