Revision control
// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// SHOULD WARN: \image without alt text
/*!
\class QWidget
\brief The base class for all UI objects.
\image widget-overview.png
Use \inlineimage logo.png in running text.
*/
// SHOULD NOT WARN: \image with alt text
/*!
\class QDialog
\brief The base class of dialog windows.
\image dialog-layout.png Dialog layout overview
Use \inlineimage icons/ok.png {OK button icon} in running text.
*/
+ // SHOULD WARN: alt text containing prose violations.
+ // Microsoft.Passive fires on passive voice in \image alt text.
+ // Microsoft.Wordiness fires on "in order to" in \inlineimage alt text.
+
+ /*!
+ \class QPushButton
+ \brief The base class of button widgets.
+
+ \image button.png The dialog is shown by the application.
+
+ Use \inlineimage logo.png {It is used in order to confirm} in running text.
+ */
+
// SHOULD NOT WARN: filenames containing rejected vocab terms ("please", "thanks").
// Vale.Terms must not fire on image filenames even if they contain rejected words.
/*!
\class QFrame
\brief The base class of widgets with a frame.
\image please-read-me.png Frame types overview
- Use \inlineimage thanks-icon.png {Thanks icon} in running text.
+ Use \inlineimage thanks-icon.png {Confirmation icon} in running text.
*/