diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-23 11:31:10 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-23 14:36:16 +0200 |
| commit | 2e90d0f9eebc709fc24ff696eb79689b5393a302 (patch) | |
| tree | da5a132fa8ac6d6fc1552f43593ba7f99c69ada8 /tools/snippets_translate/module_classes.py | |
| parent | dce969be54a83dd42d10774f0d4d49b37f8b87b1 (diff) | |
Fix the text object example
The example apparently has never worked. Fix it by
using QPyTextObject as a base class and using a different
character (as done in qabstracttextdocumentlayout_test.py).
Modernize the code and use per-class imports.
Task-number: PYSIDE-1112
Change-Id: Iceb6868afe752761820715c1ce68abc77b0a8011
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'tools/snippets_translate/module_classes.py')
0 files changed, 0 insertions, 0 deletions
