Creare file di moduli UI

Utilizzate Qt Widgets Designer per progettare interfacce utente basate su widget.

Per aggiungere un nuovo file .ui al progetto, andare su Project > Add New Item > Installed > Visual C++ > Qt > Qt Widgets Form File.

Procedura guidata della classe Qt Widgets

In genere, è necessario avvolgere il codice generato per il file di modulo in una sottoclasse di QWidget per aggiungervi segnali o slot. Pertanto, Qt UI Tools crea un file .h e .cpp, insieme a un modulo UI vuoto.

Vedere anche Esercitazione: applicazione Qt Widgets , Avvio del designer Qt Widgets e Manuale del designerQt Widgets .

© 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.