Answer the question
In order to leave comments, you need to log in
How can a QTextEdit be displayed already with the entered text?
def seting(self):
dialog = QDialog()
dialog.setWindowTitle("Dialog Demo")
dialog.resize(300, 200)
reviewEdit = QTextEdit()
grid = QtWidgets.QGridLayout()
grid.setSpacing(10)
grid.addWidget(reviewEdit, 1, 1, 10 ,1)
dialog.setLayout(grid)
dialog.exec_()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question