aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/qpytextobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/qpytextobject.cpp')
-rw-r--r--sources/pyside6/PySide6/qpytextobject.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/qpytextobject.cpp b/sources/pyside6/PySide6/qpytextobject.cpp
new file mode 100644
index 000000000..501db2af9
--- /dev/null
+++ b/sources/pyside6/PySide6/qpytextobject.cpp
@@ -0,0 +1,14 @@
+// Copyright (C) 2016 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
+
+#include "qpytextobject.h"
+
+/*!
+ \class QPyTextObject
+ \brief Workaround to make possible use QTextObjectInterface on PySide.
+ \ingroup richtext-processing
+ Due to the technical details of how to bind C++ classes to Python, you need to use this class when you need to implement
+ your own QTextObjectInterface rather than create a class inheriting from QObject and QTextObjectInterface.
+
+ \sa QTextObjectInterface
+*/