diff options
Diffstat (limited to 'examples/widgets/richtext/textobject/textobject.py')
| -rw-r--r-- | examples/widgets/richtext/textobject/textobject.py | 5 |
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) |
