diff options
| author | Oleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io> | 2025-08-06 14:53:56 +0200 |
|---|---|---|
| committer | Oleksii Zbykovskyi <Oleksii.Zbykovskyi@qt.io> | 2025-08-06 20:26:58 +0200 |
| commit | 1cf7d9f34f1bc3ddc5fa97ff57a95dd8083f9ae8 (patch) | |
| tree | 17fd4c4f1ee5437abb40b12acac566d90b62cd87 /src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp | |
| parent | 1ad8e33ef2500cba7e83cb7248f0f554def610ab (diff) | |
Fix indentation issues in the widgets snippets folder
Most of the snippets in widgets have indentation problems.
So I refactored them to have a consistent indentation.
Change-Id: I94422c222aa7a72cb2352f8cfb41ffe207c74904
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp')
| -rw-r--r-- | src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp b/src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp index 18f7d583bf9..0009aff1f85 100644 --- a/src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp +++ b/src/widgets/doc/snippets/styles/qcustompixmapstyle.cpp @@ -19,12 +19,12 @@ public: QCustomPixmapStyle::QCustomPixmapStyle() : QPixmapStyle() { -//! [1] + //! [1] addDescriptor(PB_Enabled, "://button/core_button_inactive.png"_L1, QMargins(13, 13, 13, 13), QTileRules(Qt::RepeatTile, Qt::StretchTile)); -//! [1] + //! [1] addDescriptor(PB_Checked, "://button/core_button_enabled_selected.png"_L1, QMargins(13, 13, 13, 13), @@ -42,7 +42,7 @@ QCustomPixmapStyle::QCustomPixmapStyle() : QMargins(13, 13, 13, 13), QTileRules(Qt::RepeatTile, Qt::StretchTile)); -//! [2] + //! [2] addDescriptor(LE_Enabled, "://lineedit/core_textinput_bg.png"_L1, QMargins(8, 8, 8, 8)); @@ -56,7 +56,7 @@ QCustomPixmapStyle::QCustomPixmapStyle() : copyDescriptor(LE_Enabled, TE_Enabled); copyDescriptor(LE_Disabled, TE_Disabled); copyDescriptor(LE_Focused, TE_Focused); -//! [2] + //! [2] } //! [0] |
