Selecionar o bloco de código atual
Para selecionar o bloco atual de código C++ no editor de código, pressione Ctrl+U.
Pressione Ctrl+U uma segunda vez para estender a seleção ao bloco pai.
Para desfazer a última seleção, pressione Ctrl+Alt+Shift+U.
Ativar a seleção inteligente de blocos
Para ativar a seleção inteligente de blocos, acesse “ Preferences ” > “ Text Editor ” > “ Behavior ” e selecione “ Enable smart selection changing ”.

Veja também Como: Editar código e Edição de código.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.