diff options
author | Christian Tismer <ctismer@gmail.com> | 2015-09-21 11:52:58 +0200 |
---|---|---|
committer | Christian Tismer <ctismer@gmail.com> | 2015-09-21 11:52:58 +0200 |
commit | a7cc0e453ce09031e18bd10ff391997e2814e389 (patch) | |
tree | 5c0149aefe247b54958a2b217ec9bb7984bc014f /PySide2/qpytextobject.cpp | |
parent | de9c4b39d1adc988a8178e60060ea9d0286161b4 (diff) |
huge change on project layout.
The intention is to have PySide2 and Shiboken2 as project names, to
allow for co-existence of PySide and PySide2.
This is the first version that builds with these settings on OS X:
$ python3 setup.py build --debug --no-examples --ignore-git --qmake=/usr/local/Cellar/qt5/5.5.0/bin/qmake --jobs=9
This is not yet tested.
Diffstat (limited to 'PySide2/qpytextobject.cpp')
-rw-r--r-- | PySide2/qpytextobject.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/PySide2/qpytextobject.cpp b/PySide2/qpytextobject.cpp new file mode 100644 index 000000000..f1f86e538 --- /dev/null +++ b/PySide2/qpytextobject.cpp @@ -0,0 +1,33 @@ +/* + * This file is part of the PySide project. + * + * Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). + * + * Contact: PySide team <contact@pyside.org> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#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 +*/ |