Qt Widgets Designer-Integration
Qt Widgets Designer ist ein hervorragendes Werkzeug zur Vorschau von Stylesheets. Sie können mit der rechten Maustaste auf ein beliebiges Widget in Designer klicken und „ Change styleSheet... “ auswählen, um das Stylesheet festzulegen.
Qt Widgets Designer bearbeiten" src="images/designer-stylesheet-options.webp" title="Ein Formular im Qt Widgets Designer bearbeiten"/>
Qt Widgets Designer enthält außerdem einen Syntax-Highlighter und einen Validator für Stylesheets. Der Validator zeigt unten links im Dialogfeld „ Edit Style Sheet “ an, ob die Syntax gültig oder ungültig ist.

Wenn Sie auf „ OK “ oder „ Apply “ klicken, Qt Widgets zeigt der Designer das Widget automatisch mit seinem neuen Stylesheet an.

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