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_()