Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
stylesheet-designer.qdoc
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \page stylesheet-designer.html
6 \previouspage The Style Sheet Syntax
7 \nextpage Customizing Qt Widgets Using Style Sheets
8 \title Qt Widgets Designer Integration
9
10 \l{Qt Widgets Designer Manual}{\QD} is an excellent tool
11 to preview style sheets. You can right-click on any widget in Designer
12 and select \uicontrol{Change styleSheet...} to set the style sheet.
13
14 \image designer-stylesheet-options.webp
15 {Editing a form in Qt Widgets Designer}
16
17 \QD also includes a style sheet syntax highlighter and validator. The
18 validator indicates if the syntax is valid or invalid, at the bottom left
19 of the \uicontrol{Edit Style Sheet} dialog.
20
21 \image designer-validator-highlighter.webp
22 {Editing and validating a stylesheet}
23
24 When you click \uicontrol{OK} or \uicontrol{Apply}, \QD will automatically display
25 the widget with its new stylesheet.
26
27 \image designer-stylesheet-usage.webp
28 {Preview of a form with the new stylesheet}
29 */