Qt Widgets Integración con Designer

Qt Widgets Designer es una herramienta excelente para previsualizar hojas de estilo. Puede hacer clic con el botón derecho en cualquier widget de Designer y seleccionar Change styleSheet... para establecer la hoja de estilo.

Edición de un formulario en <span translate=Qt Widgets Designer" src="images/designer-stylesheet-options.webp" title="Edición de un formulario en Qt Widgets Designer"/>

Qt Widgets Designer también incluye un resaltador y validador de sintaxis de hojas de estilo. El validador indica si la sintaxis es válida o inválida, en la parte inferior izquierda del cuadro de diálogo Edit Style Sheet.

Edición y validación de una hoja de estilo

Cuando haga clic en OK o Apply, Qt Widgets Designer mostrará automáticamente el widget con su nueva hoja de estilo.

Vista previa de un formulario con la nueva hoja de estilo

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