Nesta página

Criar interfaces de usuário baseadas em widgets

Para projetar uma interface de usuário baseada em widgets usando o Qt Widgets Designer:

  1. Acesse o Explorer e selecione um arquivo .ui.
  2. Selecione Open this file with Qt Widgets Designer.

    {Abrindo um arquivo .ui no Explorador}

  3. Use oQt Widgets Designer para criar uma interface de usuário.

Defina o caminho do Qt Widgets Designer

Se o VS Code não conseguir encontrar o Qt Widgets Designer:

  1. Acesse o Command Palette e selecione “ Qt: Open Qt Extension settings ”.
  2. No “ Custom Widgets Designer Exe Path ”, defina o caminho para a pasta onde você instalou o “ Qt Widgets Designer”.

    {Configurações da interface do usuário do Qt}

Abrir arquivos de interface do usuário no Editor de Texto

Para abrir arquivos de interface do usuário no Editor de Texto:

  1. Acesse o Explorer e selecione um arquivo .ui.
  2. Selecione “ Open this file with Text Editor ”.
  3. Use o Editor de Texto para editar o arquivo UI.

Veja também o tutorial: Aplicativo “ Qt Widgets ” e configurações do Qt.

© 2026 The Qt Company Ltd. 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.