aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/richtext/textobject
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <[email protected]>2022-09-19 16:49:09 +0200
committerCristian Maureira-Fredes <[email protected]>2022-09-21 18:01:52 +0000
commitcfaa4bc87d44e1c7c00b78c3cc0117559ef95cfe (patch)
treee540e70c1fed34a04b1b59c17d0f8a2534cc4f8e /examples/widgets/richtext/textobject
parentc5f2631bdfc1ba4e5fd87375c59227681964654c (diff)
examples: fix unused imports and minor errors in 'widgets'
Change-Id: I0aad3aefb2f036bf4edc2d0942f007045d605e26 Reviewed-by: Adrian Herrmann <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/widgets/richtext/textobject')
-rw-r--r--examples/widgets/richtext/textobject/textobject.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/widgets/richtext/textobject/textobject.py b/examples/widgets/richtext/textobject/textobject.py
index cfd065e22..9ab7bf8ae 100644
--- a/examples/widgets/richtext/textobject/textobject.py
+++ b/examples/widgets/richtext/textobject/textobject.py
@@ -8,9 +8,8 @@ import os
from pathlib import Path
import sys
-from PySide6.QtCore import QFile, QIODevice, QObject, QSizeF, Qt, Slot
-from PySide6.QtGui import (QTextCharFormat, QTextFormat, QTextObjectInterface,
- QPyTextObject)
+from PySide6.QtCore import QFile, QIODevice, QSizeF, Slot
+from PySide6.QtGui import (QTextCharFormat, QTextFormat, QPyTextObject)
from PySide6.QtWidgets import (QApplication, QHBoxLayout, QLabel, QLineEdit,
QMessageBox, QPushButton, QTextEdit,
QVBoxLayout, QWidget)