diff options
Diffstat (limited to 'examples/texttospeech/texttospeech.py')
-rw-r--r-- | examples/texttospeech/texttospeech.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/texttospeech/texttospeech.py b/examples/texttospeech/texttospeech.py index f9c32ed1d..b5f2cc84b 100644 --- a/examples/texttospeech/texttospeech.py +++ b/examples/texttospeech/texttospeech.py @@ -39,14 +39,14 @@ ## ############################################################################# -"""PySide2 QTextToSpeech example""" +"""PySide6 QTextToSpeech example""" import sys -from PySide2.QtCore import Qt -from PySide2.QtWidgets import (QApplication, QComboBox, QFormLayout, +from PySide6.QtCore import Qt +from PySide6.QtWidgets import (QApplication, QComboBox, QFormLayout, QHBoxLayout, QLineEdit, QMainWindow, QPushButton, QSlider, QWidget) -from PySide2.QtTextToSpeech import QTextToSpeech +from PySide6.QtTextToSpeech import QTextToSpeech class MainWindow(QMainWindow): def __init__(self): @@ -57,7 +57,7 @@ class MainWindow(QMainWindow): layout = QFormLayout(centralWidget) textLayout = QHBoxLayout() - self.text = QLineEdit('Hello, PySide2') + self.text = QLineEdit('Hello, PySide6') self.text.setClearButtonEnabled(True) textLayout.addWidget(self.text) self.sayButton = QPushButton('Say') |