UI-Formular-Dateien erstellen
Verwenden Sie Qt Widgets Designer, um widgetbasierte Benutzeroberflächen zu entwerfen.
Um eine neue .ui Datei zum Projekt hinzuzufügen, gehen Sie zu Project > Add New Item > Installed > Visual C++ > Qt > Qt Widgets Form File.

Normalerweise müssen Sie den für die Formulardatei generierten Code in eine QWidget Unterklasse einpacken, um ihm Signale oder Slots hinzuzufügen. Daher erstellen die Qt VS Tools eine .h und .cpp Datei für Sie, zusammen mit einem leeren UI Formular.
Siehe auch Tutorial: Qt Widgets application, Start Qt Widgets Designer, und Qt Widgets Designer Manual.
© 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.